cc: Fix header include guards of our header files.
Fixed with a hacky python script :/ BUG=144576,144577 TEST=$ cpplint.py cc/*.h 2>&1 | grep header_guard. And verified it doesn't complain. R=enne@chromium.org,jamesr@chromium.org Review URL: https://chromiumcodereview.appspot.com/11368063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165895 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
cc
active_animation.hanimation_curve.hanimation_events.happend_quads_data.hbitmap_content_layer_updater.hbitmap_skpicture_content_layer_updater.hcaching_bitmap_content_layer_updater.hcheckerboard_draw_quad.hcompletion_event.hcontent_layer.hcontent_layer_client.hcontent_layer_updater.hcontents_scaling_layer.hdamage_tracker.hdebug_border_draw_quad.hdebug_rect_history.hdelay_based_time_source.hdelegated_renderer_layer.hdelegated_renderer_layer_impl.hdirect_renderer.hdraw_quad.hfont_atlas.hframe_rate_controller.hframe_rate_counter.hgeometry.hgeometry_binding.hgl_renderer.hgraphics_context.hheads_up_display_layer.hheads_up_display_layer_impl.himage_layer.hinput_handler.hio_surface_draw_quad.hio_surface_layer.hio_surface_layer_impl.hkeyframed_animation_curve.hlayer.hlayer_animation_controller.hlayer_impl.hlayer_iterator.hlayer_painter.hlayer_quad.hlayer_sorter.hlayer_tiling_data.hlayer_tree_host.hlayer_tree_host_client.hlayer_tree_host_common.hlayer_tree_host_impl.hlayer_updater.hmanaged_memory_policy.hmath_util.hocclusion_tracker.hoverdraw_metrics.hpage_scale_animation.hplatform_color.hprioritized_texture.hprioritized_texture_manager.hpriority_calculator.hprogram_binding.hproxy.hquad_culler.hquad_sink.hrate_limiter.hrender_pass.hrender_pass_draw_quad.hrender_pass_sink.hrender_surface.hrender_surface_filters.hrender_surface_impl.hrenderer.hrendering_stats.hresource_provider.hresource_update_controller.hresource_update_queue.hscheduler.hscheduler_state_machine.hscoped_texture.hscoped_thread_proxy.hscrollbar_animation_controller.hscrollbar_animation_controller_linear_fade.hscrollbar_geometry_fixed_thumb.hscrollbar_geometry_stub.hscrollbar_layer.hscrollbar_layer_impl.hsettings.hshader.hshared_quad_state.hsingle_thread_proxy.hskpicture_content_layer_updater.hsoftware_renderer.hsolid_color_draw_quad.hsolid_color_layer.hsolid_color_layer_impl.hstream_video_draw_quad.h
test
CCLayerTreeTestCommon.hanimation_test_common.hcompositor_fake_web_graphics_context_3d.hfake_graphics_context.hfake_layer_tree_host_client.hfake_web_compositor_output_surface.hfake_web_compositor_software_output_device.hfake_web_graphics_context_3d.hfake_web_scrollbar_theme_geometry.hgeometry_test_utils.hlayer_test_common.hlayer_tree_test_common.hmock_quad_culler.hocclusion_tracker_test_common.hrender_pass_test_common.hscheduler_test_common.htest_common.htiled_layer_test_common.h
texture.htexture_copier.htexture_draw_quad.htexture_layer.htexture_layer_client.htexture_layer_impl.hthread.hthread_proxy.htile_draw_quad.htiled_layer.htiled_layer_impl.htime_source.htiming_function.htree_synchronizer.hvideo_layer.hvideo_layer_impl.hyuv_video_draw_quad.h@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCActiveAnimation_h
|
||||
#define CCActiveAnimation_h
|
||||
#ifndef CC_ACTIVE_ANIMATION_H_
|
||||
#define CC_ACTIVE_ANIMATION_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -159,4 +159,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCActiveAnimation_h
|
||||
#endif // CC_ACTIVE_ANIMATION_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCAnimationCurve_h
|
||||
#define CCAnimationCurve_h
|
||||
#ifndef CC_ANIMATION_CURVE_H_
|
||||
#define CC_ANIMATION_CURVE_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -53,4 +53,4 @@ public:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCAnimation_h
|
||||
#endif // CC_ANIMATION_CURVE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCAnimationEvents_h
|
||||
#define CCAnimationEvents_h
|
||||
#ifndef CC_ANIMATION_EVENTS_H_
|
||||
#define CC_ANIMATION_EVENTS_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -34,4 +34,4 @@ typedef std::vector<AnimationEvent> AnimationEventsVector;
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCAnimationEvents_h
|
||||
#endif // CC_ANIMATION_EVENTS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCAppendQuadsData_h
|
||||
#define CCAppendQuadsData_h
|
||||
#ifndef CC_APPEND_QUADS_DATA_H_
|
||||
#define CC_APPEND_QUADS_DATA_H_
|
||||
|
||||
#include "cc/render_pass.h"
|
||||
|
||||
@ -33,4 +33,4 @@ struct AppendQuadsData {
|
||||
};
|
||||
|
||||
}
|
||||
#endif // CCCCAppendQuadsData_h
|
||||
#endif // CC_APPEND_QUADS_DATA_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef BitmapContentLayerUpdater_h
|
||||
#define BitmapContentLayerUpdater_h
|
||||
#ifndef CC_BITMAP_CONTENT_LAYER_UPDATER_H_
|
||||
#define CC_BITMAP_CONTENT_LAYER_UPDATER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/content_layer_updater.h"
|
||||
@ -52,4 +52,4 @@ protected:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // BitmapContentLayerUpdater_h
|
||||
#endif // CC_BITMAP_CONTENT_LAYER_UPDATER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef BitmapSkPictureContentLayerUpdater_h
|
||||
#define BitmapSkPictureContentLayerUpdater_h
|
||||
#ifndef CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
||||
#define CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
||||
|
||||
#include "cc/skpicture_content_layer_updater.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
@ -39,4 +39,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // BitmapSkPictureContentLayerUpdater_h
|
||||
#endif // CC_BITMAP_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CACHING_BITMAP_CANVAS_LAYER_UPDATER_H_
|
||||
#define CACHING_BITMAP_CANVAS_LAYER_UPDATER_H_
|
||||
#ifndef CC_CACHING_BITMAP_CONTENT_LAYER_UPDATER_H_
|
||||
#define CC_CACHING_BITMAP_CONTENT_LAYER_UPDATER_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "cc/bitmap_content_layer_updater.h"
|
||||
@ -36,4 +36,4 @@ class CachingBitmapContentLayerUpdater
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CACHING_BITMAP_CANVAS_LAYER_UPDATER_H_
|
||||
#endif // CC_CACHING_BITMAP_CONTENT_LAYER_UPDATER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCCheckerboardDrawQuad_h
|
||||
#define CCCheckerboardDrawQuad_h
|
||||
#ifndef CC_CHECKERBOARD_DRAW_QUAD_H_
|
||||
#define CC_CHECKERBOARD_DRAW_QUAD_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -31,4 +31,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_CHECKERBOARD_DRAW_QUAD_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCCompletionEvent_h
|
||||
#define CCCompletionEvent_h
|
||||
#ifndef CC_COMPLETION_EVENT_H_
|
||||
#define CC_COMPLETION_EVENT_H_
|
||||
|
||||
#include "base/synchronization/waitable_event.h"
|
||||
#include "base/threading/thread_restrictions.h"
|
||||
@ -64,4 +64,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_COMPLETION_EVENT_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ContentLayerChromium_h
|
||||
#define ContentLayerChromium_h
|
||||
#ifndef CC_CONTENT_LAYER_H_
|
||||
#define CC_CONTENT_LAYER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -58,4 +58,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_CONTENT_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ContentLayerChromiumClient_h
|
||||
#define ContentLayerChromiumClient_h
|
||||
#ifndef CC_CONTENT_LAYER_CLIENT_H_
|
||||
#define CC_CONTENT_LAYER_CLIENT_H_
|
||||
|
||||
class SkCanvas;
|
||||
|
||||
@ -24,4 +24,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif // ContentLayerChromiumClient_h
|
||||
#endif // CC_CONTENT_LAYER_CLIENT_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ContentLayerUpdater_h
|
||||
#define ContentLayerUpdater_h
|
||||
#ifndef CC_CONTENT_LAYER_UPDATER_H_
|
||||
#define CC_CONTENT_LAYER_UPDATER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer_updater.h"
|
||||
@ -32,4 +32,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // ContentLayerUpdater_h
|
||||
#endif // CC_CONTENT_LAYER_UPDATER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CC_CONTENTS_SCALING_LAYER_H
|
||||
#define CC_CONTENTS_SCALING_LAYER_H
|
||||
#ifndef CC_CONTENTS_SCALING_LAYER_H_
|
||||
#define CC_CONTENTS_SCALING_LAYER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer.h"
|
||||
@ -29,4 +29,4 @@ class CC_EXPORT ContentsScalingLayer : public Layer {
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CC_CONTENTS_SCALING_LAYER_H
|
||||
#endif // CC_CONTENTS_SCALING_LAYER_H__
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDamageTracker_h
|
||||
#define CCDamageTracker_h
|
||||
#ifndef CC_DAMAGE_TRACKER_H_
|
||||
#define CC_DAMAGE_TRACKER_H_
|
||||
|
||||
#include "base/hash_tables.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -68,4 +68,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCDamageTracker_h
|
||||
#endif // CC_DAMAGE_TRACKER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDebugBorderDrawQuad_h
|
||||
#define CCDebugBorderDrawQuad_h
|
||||
#ifndef CC_DEBUG_BORDER_DRAW_QUAD_H_
|
||||
#define CC_DEBUG_BORDER_DRAW_QUAD_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -33,4 +33,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_DEBUG_BORDER_DRAW_QUAD_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDebugRectHistory_h
|
||||
#define CCDebugRectHistory_h
|
||||
#ifndef CC_DEBUG_RECT_HISTORY_H_
|
||||
#define CC_DEBUG_RECT_HISTORY_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -76,4 +76,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_DEBUG_RECT_HISTORY_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDelayBasedTimeSource_h
|
||||
#define CCDelayBasedTimeSource_h
|
||||
#ifndef CC_DELAY_BASED_TIME_SOURCE_H_
|
||||
#define CC_DELAY_BASED_TIME_SOURCE_H_
|
||||
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -76,4 +76,4 @@ protected:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCDelayBasedTimeSource_h
|
||||
#endif // CC_DELAY_BASED_TIME_SOURCE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef DelegatedRendererLayerChromium_h
|
||||
#define DelegatedRendererLayerChromium_h
|
||||
#ifndef CC_DELEGATED_RENDERER_LAYER_H_
|
||||
#define CC_DELEGATED_RENDERER_LAYER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer.h"
|
||||
@ -24,4 +24,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_DELEGATED_RENDERER_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDelegatedRendererLayerImpl_h
|
||||
#define CCDelegatedRendererLayerImpl_h
|
||||
#ifndef CC_DELEGATED_RENDERER_LAYER_IMPL_H_
|
||||
#define CC_DELEGATED_RENDERER_LAYER_IMPL_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer_impl.h"
|
||||
@ -46,4 +46,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCDelegatedRendererLayerImpl_h
|
||||
#endif // CC_DELEGATED_RENDERER_LAYER_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDirectRenderer_h
|
||||
#define CCDirectRenderer_h
|
||||
#ifndef CC_DIRECT_RENDERER_H_
|
||||
#define CC_DIRECT_RENDERER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -103,4 +103,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCDirectRenderer_h
|
||||
#endif // CC_DIRECT_RENDERER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCDrawQuad_h
|
||||
#define CCDrawQuad_h
|
||||
#ifndef CC_DRAW_QUAD_H_
|
||||
#define CC_DRAW_QUAD_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/shared_quad_state.h"
|
||||
@ -90,4 +90,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_DRAW_QUAD_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCFontAtlas_h
|
||||
#define CCFontAtlas_h
|
||||
#ifndef CC_FONT_ATLAS_H_
|
||||
#define CC_FONT_ATLAS_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -63,4 +63,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_FONT_ATLAS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCFrameRateController_h
|
||||
#define CCFrameRateController_h
|
||||
#ifndef CC_FRAME_RATE_CONTROLLER_H_
|
||||
#define CC_FRAME_RATE_CONTROLLER_H_
|
||||
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -80,4 +80,4 @@ protected:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCFrameRateController_h
|
||||
#endif // CC_FRAME_RATE_CONTROLLER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCFrameRateCounter_h
|
||||
#define CCFrameRateCounter_h
|
||||
#ifndef CC_FRAME_RATE_COUNTER_H_
|
||||
#define CC_FRAME_RATE_COUNTER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -65,4 +65,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_FRAME_RATE_COUNTER_H_
|
||||
|
@ -18,4 +18,4 @@ inline gfx::Size ClampSizeFromAbove(gfx::Size s, gfx::Size other) {
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CC_GEOMETRY_H_
|
||||
#endif // CC_GEOMETRY_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef GeometryBinding_h
|
||||
#define GeometryBinding_h
|
||||
#ifndef CC_GEOMETRY_BINDING_H_
|
||||
#define CC_GEOMETRY_BINDING_H_
|
||||
|
||||
namespace gfx {
|
||||
class RectF;
|
||||
@ -43,4 +43,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_GEOMETRY_BINDING_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRendererGL_h
|
||||
#define CCRendererGL_h
|
||||
#ifndef CC_GL_RENDERER_H_
|
||||
#define CC_GL_RENDERER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/checkerboard_draw_quad.h"
|
||||
@ -234,4 +234,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_GL_RENDERER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCGraphicsContext_h
|
||||
#define CCGraphicsContext_h
|
||||
#ifndef CC_GRAPHICS_CONTEXT_H_
|
||||
#define CC_GRAPHICS_CONTEXT_H_
|
||||
|
||||
#include <public/WebCompositorOutputSurface.h>
|
||||
#include <public/WebGraphicsContext3D.h>
|
||||
@ -15,4 +15,4 @@ typedef WebKit::WebCompositorOutputSurface GraphicsContext;
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCGraphicsContext_h
|
||||
#endif // CC_GRAPHICS_CONTEXT_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef HeadsUpDisplayLayerChromium_h
|
||||
#define HeadsUpDisplayLayerChromium_h
|
||||
#ifndef CC_HEADS_UP_DISPLAY_LAYER_H_
|
||||
#define CC_HEADS_UP_DISPLAY_LAYER_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/font_atlas.h"
|
||||
@ -34,4 +34,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_HEADS_UP_DISPLAY_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCHeadsUpDisplayLayerImpl_h
|
||||
#define CCHeadsUpDisplayLayerImpl_h
|
||||
#ifndef CC_HEADS_UP_DISPLAY_LAYER_IMPL_H_
|
||||
#define CC_HEADS_UP_DISPLAY_LAYER_IMPL_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -55,4 +55,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCHeadsUpDisplayLayerImpl_h
|
||||
#endif // CC_HEADS_UP_DISPLAY_LAYER_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ImageLayerChromium_h
|
||||
#define ImageLayerChromium_h
|
||||
#ifndef CC_IMAGE_LAYER_H_
|
||||
#define CC_IMAGE_LAYER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/content_layer.h"
|
||||
@ -43,4 +43,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_IMAGE_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCInputHandler_h
|
||||
#define CCInputHandler_h
|
||||
#ifndef CC_INPUT_HANDLER_H_
|
||||
#define CC_INPUT_HANDLER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/time.h"
|
||||
@ -88,4 +88,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_INPUT_HANDLER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCIOSurfaceDrawQuad_h
|
||||
#define CCIOSurfaceDrawQuad_h
|
||||
#ifndef CC_IO_SURFACE_DRAW_QUAD_H_
|
||||
#define CC_IO_SURFACE_DRAW_QUAD_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -40,4 +40,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_IO_SURFACE_DRAW_QUAD_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef IOSurfaceLayerChromium_h
|
||||
#define IOSurfaceLayerChromium_h
|
||||
#ifndef CC_IO_SURFACE_LAYER_H_
|
||||
#define CC_IO_SURFACE_LAYER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer.h"
|
||||
@ -31,4 +31,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_IO_SURFACE_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCIOSurfaceLayerImpl_h
|
||||
#define CCIOSurfaceLayerImpl_h
|
||||
#ifndef CC_IO_SURFACE_LAYER_IMPL_H_
|
||||
#define CC_IO_SURFACE_LAYER_IMPL_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer_impl.h"
|
||||
@ -41,4 +41,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCIOSurfaceLayerImpl_h
|
||||
#endif // CC_IO_SURFACE_LAYER_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCKeyframedAnimationCurve_h
|
||||
#define CCKeyframedAnimationCurve_h
|
||||
#ifndef CC_KEYFRAMED_ANIMATION_CURVE_H_
|
||||
#define CC_KEYFRAMED_ANIMATION_CURVE_H_
|
||||
|
||||
#include "cc/animation_curve.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -113,4 +113,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCKeyframedAnimationCurve_h
|
||||
#endif // CC_KEYFRAMED_ANIMATION_CURVE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef LayerChromium_h
|
||||
#define LayerChromium_h
|
||||
#ifndef CC_LAYER_H_
|
||||
#define CC_LAYER_H_
|
||||
|
||||
#include "IntPoint.h"
|
||||
#include "Region.h"
|
||||
@ -408,4 +408,4 @@ void sortLayers(std::vector<scoped_refptr<Layer> >::iterator, std::vector<scoped
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerAnimationController_h
|
||||
#define CCLayerAnimationController_h
|
||||
#ifndef CC_LAYER_ANIMATION_CONTROLLER_H_
|
||||
#define CC_LAYER_ANIMATION_CONTROLLER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/hash_tables.h"
|
||||
@ -108,4 +108,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCLayerAnimationController_h
|
||||
#endif // CC_LAYER_ANIMATION_CONTROLLER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerImpl_h
|
||||
#define CCLayerImpl_h
|
||||
#ifndef CC_LAYER_IMPL_H_
|
||||
#define CC_LAYER_IMPL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -418,4 +418,4 @@ void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*>
|
||||
|
||||
}
|
||||
|
||||
#endif // CCLayerImpl_h
|
||||
#endif // CC_LAYER_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerIterator_h
|
||||
#define CCLayerIterator_h
|
||||
#ifndef CC_LAYER_ITERATOR_H_
|
||||
#define CC_LAYER_ITERATOR_H_
|
||||
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -205,4 +205,4 @@ struct CC_EXPORT LayerIteratorActions {
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_ITERATOR_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef LayerPainterChromium_h
|
||||
#define LayerPainterChromium_h
|
||||
#ifndef CC_LAYER_PAINTER_H_
|
||||
#define CC_LAYER_PAINTER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
|
||||
@ -24,4 +24,4 @@ public:
|
||||
};
|
||||
|
||||
} // namespace cc
|
||||
#endif // LayerPainterChromium_h
|
||||
#endif // CC_LAYER_PAINTER_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef CCLayerQuad_h
|
||||
#define CCLayerQuad_h
|
||||
#ifndef CC_LAYER_QUAD_H_
|
||||
#define CC_LAYER_QUAD_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "ui/gfx/point_f.h"
|
||||
@ -103,4 +103,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_QUAD_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerSorter_h
|
||||
#define CCLayerSorter_h
|
||||
#ifndef CC_LAYER_SORTER_H_
|
||||
#define CC_LAYER_SORTER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/hash_tables.h"
|
||||
@ -113,4 +113,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_LAYER_SORTER_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef CCLayerTilingData_h
|
||||
#define CCLayerTilingData_h
|
||||
#ifndef CC_LAYER_TILING_DATA_H_
|
||||
#define CC_LAYER_TILING_DATA_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -86,4 +86,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_TILING_DATA_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerTreeHost_h
|
||||
#define CCLayerTreeHost_h
|
||||
#ifndef CC_LAYER_TREE_HOST_H_
|
||||
#define CC_LAYER_TREE_HOST_H_
|
||||
|
||||
#include <limits>
|
||||
|
||||
@ -291,4 +291,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_TREE_HOST_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerTreeHostClient_h
|
||||
#define CCLayerTreeHostClient_h
|
||||
#ifndef CC_LAYER_TREE_HOST_CLIENT_H_
|
||||
#define CC_LAYER_TREE_HOST_CLIENT_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
|
||||
@ -40,4 +40,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCLayerTreeHostClient_h
|
||||
#endif // CC_LAYER_TREE_HOST_CLIENT_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerTreeHostCommon_h
|
||||
#define CCLayerTreeHostCommon_h
|
||||
#ifndef CC_LAYER_TREE_HOST_COMMON_H_
|
||||
#define CC_LAYER_TREE_HOST_COMMON_H_
|
||||
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -93,4 +93,4 @@ LayerType* LayerTreeHostCommon::findLayerInSubtree(LayerType* rootLayer, int lay
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_TREE_HOST_COMMON_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerTreeHostImpl_h
|
||||
#define CCLayerTreeHostImpl_h
|
||||
#ifndef CC_LAYER_TREE_HOST_IMPL_H_
|
||||
#define CC_LAYER_TREE_HOST_IMPL_H_
|
||||
|
||||
#include "FloatPoint.h"
|
||||
#include "base/basictypes.h"
|
||||
@ -360,4 +360,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_LAYER_TREE_HOST_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef LayerUpdater_h
|
||||
#define LayerUpdater_h
|
||||
#ifndef CC_LAYER_UPDATER_H_
|
||||
#define CC_LAYER_UPDATER_H_
|
||||
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -59,4 +59,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // LayerUpdater_h
|
||||
#endif // CC_LAYER_UPDATER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef managed_memory_policy_h
|
||||
#define managed_memory_policy_h
|
||||
#ifndef CC_MANAGED_MEMORY_POLICY_H_
|
||||
#define CC_MANAGED_MEMORY_POLICY_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -27,4 +27,4 @@ struct CC_EXPORT ManagedMemoryPolicy {
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_MANAGED_MEMORY_POLICY_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCMathUtil_h
|
||||
#define CCMathUtil_h
|
||||
#ifndef CC_MATH_UTIL_H_
|
||||
#define CC_MATH_UTIL_H_
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -112,4 +112,4 @@ public:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // #define CCMathUtil_h
|
||||
#endif // CC_MATH_UTIL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCOcclusionTracker_h
|
||||
#define CCOcclusionTracker_h
|
||||
#ifndef CC_OCCLUSION_TRACKER_H_
|
||||
#define CC_OCCLUSION_TRACKER_H_
|
||||
|
||||
#include "Region.h"
|
||||
#include "base/basictypes.h"
|
||||
@ -109,4 +109,4 @@ extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>;
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCOcclusionTracker_h
|
||||
#endif // CC_OCCLUSION_TRACKER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCOverdrawMetrics_h
|
||||
#define CCOverdrawMetrics_h
|
||||
#ifndef CC_OVERDRAW_METRICS_H_
|
||||
#define CC_OVERDRAW_METRICS_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
|
||||
@ -97,4 +97,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_OVERDRAW_METRICS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCPageScaleAnimation_h
|
||||
#define CCPageScaleAnimation_h
|
||||
#ifndef CC_PAGE_SCALE_ANIMATION_H_
|
||||
#define CC_PAGE_SCALE_ANIMATION_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "IntSize.h"
|
||||
@ -72,4 +72,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_PAGE_SCALE_ANIMATION_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef PlatformColor_h
|
||||
#define PlatformColor_h
|
||||
#ifndef CC_PLATFORM_COLOR_H_
|
||||
#define CC_PLATFORM_COLOR_H_
|
||||
|
||||
#include "third_party/khronos/GLES2/gl2.h"
|
||||
#include "third_party/khronos/GLES2/gl2ext.h"
|
||||
@ -57,4 +57,4 @@ public:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_PLATFORM_COLOR_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCPrioritizedTexture_h
|
||||
#define CCPrioritizedTexture_h
|
||||
#ifndef CC_PRIORITIZED_TEXTURE_H_
|
||||
#define CC_PRIORITIZED_TEXTURE_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/logging.h"
|
||||
@ -153,4 +153,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_PRIORITIZED_TEXTURE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCPrioritizedTextureManager_h
|
||||
#define CCPrioritizedTextureManager_h
|
||||
#ifndef CC_PRIORITIZED_TEXTURE_MANAGER_H_
|
||||
#define CC_PRIORITIZED_TEXTURE_MANAGER_H_
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
@ -197,4 +197,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_PRIORITIZED_TEXTURE_MANAGER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCPriorityCalculator_h
|
||||
#define CCPriorityCalculator_h
|
||||
#ifndef CC_PRIORITY_CALCULATOR_H_
|
||||
#define CC_PRIORITY_CALCULATOR_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
|
||||
@ -36,4 +36,4 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_PRIORITY_CALCULATOR_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ProgramBinding_h
|
||||
#define ProgramBinding_h
|
||||
#ifndef CC_PROGRAM_BINDING_H_
|
||||
#define CC_PROGRAM_BINDING_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -79,4 +79,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_PROGRAM_BINDING_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCProxy_h
|
||||
#define CCProxy_h
|
||||
#ifndef CC_PROXY_H_
|
||||
#define CC_PROXY_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/logging.h"
|
||||
@ -140,4 +140,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_PROXY_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCQuadCuller_h
|
||||
#define CCQuadCuller_h
|
||||
#ifndef CC_QUAD_CULLER_H_
|
||||
#define CC_QUAD_CULLER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/quad_sink.h"
|
||||
@ -35,4 +35,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif // CCQuadCuller_h
|
||||
#endif // CC_QUAD_CULLER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCQuadSink_h
|
||||
#define CCQuadSink_h
|
||||
#ifndef CC_QUAD_SINK_H_
|
||||
#define CC_QUAD_SINK_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -28,4 +28,4 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
#endif // CCQuadCuller_h
|
||||
#endif // CC_QUAD_SINK_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef RateLimiter_h
|
||||
#define RateLimiter_h
|
||||
#ifndef CC_RATE_LIMITER_H_
|
||||
#define CC_RATE_LIMITER_H_
|
||||
|
||||
#include "base/memory/ref_counted.h"
|
||||
|
||||
@ -49,4 +49,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_RATE_LIMITER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRenderPass_h
|
||||
#define CCRenderPass_h
|
||||
#ifndef CC_RENDER_PASS_H_
|
||||
#define CC_RENDER_PASS_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -144,4 +144,4 @@ typedef std::vector<RenderPass*> RenderPassList;
|
||||
typedef ScopedPtrHashMap<RenderPass::Id, RenderPass> RenderPassIdHashMap;
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_RENDER_PASS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRenderPassDrawQuad_h
|
||||
#define CCRenderPassDrawQuad_h
|
||||
#ifndef CC_RENDER_PASS_DRAW_QUAD_H_
|
||||
#define CC_RENDER_PASS_DRAW_QUAD_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -46,4 +46,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_RENDER_PASS_DRAW_QUAD_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRenderPassSink_h
|
||||
#define CCRenderPassSink_h
|
||||
#ifndef CC_RENDER_PASS_SINK_H_
|
||||
#define CC_RENDER_PASS_SINK_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -18,4 +18,4 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
#endif // CCRenderPassSink_h
|
||||
#endif // CC_RENDER_PASS_SINK_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef RenderSurfaceChromium_h
|
||||
#define RenderSurfaceChromium_h
|
||||
#ifndef CC_RENDER_SURFACE_H_
|
||||
#define CC_RENDER_SURFACE_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
@ -101,4 +101,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_RENDER_SURFACE_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef CCRenderSurfaceFilters_h
|
||||
#define CCRenderSurfaceFilters_h
|
||||
#ifndef CC_RENDER_SURFACE_FILTERS_H_
|
||||
#define CC_RENDER_SURFACE_FILTERS_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
|
||||
@ -32,4 +32,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_RENDER_SURFACE_FILTERS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRenderSurface_h
|
||||
#define CCRenderSurface_h
|
||||
#ifndef CC_RENDER_SURFACE_IMPL_H_
|
||||
#define CC_RENDER_SURFACE_IMPL_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -126,4 +126,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_RENDER_SURFACE_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRenderer_h
|
||||
#define CCRenderer_h
|
||||
#ifndef CC_RENDERER_H_
|
||||
#define CC_RENDERER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -83,4 +83,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCRenderer_h
|
||||
#endif // CC_RENDERER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRenderingStats_h
|
||||
#define CCRenderingStats_h
|
||||
#ifndef CC_RENDERING_STATS_H_
|
||||
#define CC_RENDERING_STATS_H_
|
||||
|
||||
namespace cc {
|
||||
|
||||
@ -35,4 +35,4 @@ struct RenderingStats {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_RENDERING_STATS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCResourceProvider_h
|
||||
#define CCResourceProvider_h
|
||||
#ifndef CC_RESOURCE_PROVIDER_H_
|
||||
#define CC_RESOURCE_PROVIDER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/hash_tables.h"
|
||||
@ -270,4 +270,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_RESOURCE_PROVIDER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCResourceUpdateController_h
|
||||
#define CCResourceUpdateController_h
|
||||
#ifndef CC_RESOURCE_UPDATE_CONTROLLER_H_
|
||||
#define CC_RESOURCE_UPDATE_CONTROLLER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -79,4 +79,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCResourceUpdateController_h
|
||||
#endif // CC_RESOURCE_UPDATE_CONTROLLER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCResourceUpdateQueue_h
|
||||
#define CCResourceUpdateQueue_h
|
||||
#ifndef CC_RESOURCE_UPDATE_QUEUE_H_
|
||||
#define CC_RESOURCE_UPDATE_QUEUE_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -45,4 +45,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCResourceUpdateQueue_h
|
||||
#endif // CC_RESOURCE_UPDATE_QUEUE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScheduler_h
|
||||
#define CCScheduler_h
|
||||
#ifndef CC_SCHEDULER_H_
|
||||
#define CC_SCHEDULER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -106,4 +106,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCScheduler_h
|
||||
#endif // CC_SCHEDULER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCSchedulerStateMachine_h
|
||||
#define CCSchedulerStateMachine_h
|
||||
#ifndef CC_SCHEDULER_STATE_MACHINE_H_
|
||||
#define CC_SCHEDULER_STATE_MACHINE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -159,4 +159,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCSchedulerStateMachine_h
|
||||
#endif // CC_SCHEDULER_STATE_MACHINE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScopedTexture_h
|
||||
#define CCScopedTexture_h
|
||||
#ifndef CC_SCOPED_TEXTURE_H_
|
||||
#define CC_SCOPED_TEXTURE_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/logging.h"
|
||||
@ -46,4 +46,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_SCOPED_TEXTURE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScopedThreadProxy_h
|
||||
#define CCScopedThreadProxy_h
|
||||
#ifndef CC_SCOPED_THREAD_PROXY_H_
|
||||
#define CC_SCOPED_THREAD_PROXY_H_
|
||||
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "base/callback.h"
|
||||
@ -51,4 +51,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_SCOPED_THREAD_PROXY_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScrollbarAnimationController_h
|
||||
#define CCScrollbarAnimationController_h
|
||||
#ifndef CC_SCROLLBAR_ANIMATION_CONTROLLER_H_
|
||||
#define CC_SCROLLBAR_ANIMATION_CONTROLLER_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -65,4 +65,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCScrollbarAnimationController_h
|
||||
#endif // CC_SCROLLBAR_ANIMATION_CONTROLLER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScrollbarAnimationControllerLinearFade_h
|
||||
#define CCScrollbarAnimationControllerLinearFade_h
|
||||
#ifndef CC_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
|
||||
#define CC_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/scrollbar_animation_controller.h"
|
||||
@ -37,4 +37,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // CCScrollbarAnimationControllerLinearFade_h
|
||||
#endif // CC_SCROLLBAR_ANIMATION_CONTROLLER_LINEAR_FADE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScrollbarGeometryFixedThumb_h
|
||||
#define CCScrollbarGeometryFixedThumb_h
|
||||
#ifndef CC_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_
|
||||
#define CC_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_
|
||||
|
||||
#include "IntSize.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -37,4 +37,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_SCROLLBAR_GEOMETRY_FIXED_THUMB_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScrollbarGeometryStub_h
|
||||
#define CCScrollbarGeometryStub_h
|
||||
#ifndef CC_SCROLLBAR_GEOMETRY_STUB_H_
|
||||
#define CC_SCROLLBAR_GEOMETRY_STUB_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -51,4 +51,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_SCROLLBAR_GEOMETRY_STUB_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef ScrollbarLayerChromium_h
|
||||
#define ScrollbarLayerChromium_h
|
||||
#ifndef CC_SCROLLBAR_LAYER_H_
|
||||
#define CC_SCROLLBAR_LAYER_H_
|
||||
|
||||
#include "cc/caching_bitmap_content_layer_updater.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -63,4 +63,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_SCROLLBAR_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCScrollbarLayerImpl_h
|
||||
#define CCScrollbarLayerImpl_h
|
||||
#ifndef CC_SCROLLBAR_LAYER_IMPL_H_
|
||||
#define CC_SCROLLBAR_LAYER_IMPL_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer_impl.h"
|
||||
@ -108,4 +108,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_SCROLLBAR_LAYER_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCSettings_h
|
||||
#define CCSettings_h
|
||||
#ifndef CC_SETTINGS_H_
|
||||
#define CC_SETTINGS_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
|
||||
@ -32,4 +32,4 @@ public:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif // Settings_h
|
||||
#endif // CC_SETTINGS_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ShaderChromium_h
|
||||
#define ShaderChromium_h
|
||||
#ifndef CC_SHADER_H_
|
||||
#define CC_SHADER_H_
|
||||
|
||||
#include "third_party/skia/include/core/SkColorPriv.h"
|
||||
#include <string>
|
||||
@ -346,4 +346,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_SHADER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCSharedQuadState_h
|
||||
#define CCSharedQuadState_h
|
||||
#ifndef CC_SHARED_QUAD_STATE_H_
|
||||
#define CC_SHARED_QUAD_STATE_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "ui/gfx/rect.h"
|
||||
@ -31,4 +31,4 @@ struct CC_EXPORT SharedQuadState {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_SHARED_QUAD_STATE_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCSingleThreadProxy_h
|
||||
#define CCSingleThreadProxy_h
|
||||
#ifndef CC_SINGLE_THREAD_PROXY_H_
|
||||
#define CC_SINGLE_THREAD_PROXY_H_
|
||||
|
||||
#include <limits>
|
||||
|
||||
@ -150,4 +150,4 @@ private:
|
||||
|
||||
} // namespace cc
|
||||
|
||||
#endif
|
||||
#endif // CC_SINGLE_THREAD_PROXY_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef SkPictureContentLayerUpdater_h
|
||||
#define SkPictureContentLayerUpdater_h
|
||||
#ifndef CC_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
||||
#define CC_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
||||
|
||||
#include "cc/content_layer_updater.h"
|
||||
#include "third_party/skia/include/core/SkPicture.h"
|
||||
@ -58,4 +58,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace cc
|
||||
#endif // SkPictureContentLayerUpdater_h
|
||||
#endif // CC_SKPICTURE_CONTENT_LAYER_UPDATER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCRendererSoftware_h
|
||||
#define CCRendererSoftware_h
|
||||
#ifndef CC_SOFTWARE_RENDERER_H_
|
||||
#define CC_SOFTWARE_RENDERER_H_
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -80,4 +80,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_SOFTWARE_RENDERER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCSolidColorDrawQuad_h
|
||||
#define CCSolidColorDrawQuad_h
|
||||
#ifndef CC_SOLID_COLOR_DRAW_QUAD_H_
|
||||
#define CC_SOLID_COLOR_DRAW_QUAD_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -31,4 +31,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_SOLID_COLOR_DRAW_QUAD_H_
|
||||
|
@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
#ifndef SolidColorLayerChromium_h
|
||||
#define SolidColorLayerChromium_h
|
||||
#ifndef CC_SOLID_COLOR_LAYER_H_
|
||||
#define CC_SOLID_COLOR_LAYER_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer.h"
|
||||
@ -27,4 +27,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif // CC_SOLID_COLOR_LAYER_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCSolidColorLayerImpl_h
|
||||
#define CCSolidColorLayerImpl_h
|
||||
#ifndef CC_SOLID_COLOR_LAYER_IMPL_H_
|
||||
#define CC_SOLID_COLOR_LAYER_IMPL_H_
|
||||
|
||||
#include "cc/cc_export.h"
|
||||
#include "cc/layer_impl.h"
|
||||
@ -32,4 +32,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // CCSolidColorLayerImpl_h
|
||||
#endif // CC_SOLID_COLOR_LAYER_IMPL_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCStreamVideoDrawQuad_h
|
||||
#define CCStreamVideoDrawQuad_h
|
||||
#ifndef CC_STREAM_VIDEO_DRAW_QUAD_H_
|
||||
#define CC_STREAM_VIDEO_DRAW_QUAD_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/cc_export.h"
|
||||
@ -33,4 +33,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_STREAM_VIDEO_DRAW_QUAD_H_
|
||||
|
@ -1,40 +0,0 @@
|
||||
// Copyright 2011 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCLayerTreeTestCommon_h
|
||||
#define CCLayerTreeTestCommon_h
|
||||
|
||||
#include <public/WebTransformationMatrix.h>
|
||||
|
||||
namespace WebKitTests {
|
||||
|
||||
// These are macros instead of functions so that we get useful line numbers where a test failed.
|
||||
#define EXPECT_FLOAT_RECT_EQ(expected, actual) \
|
||||
EXPECT_FLOAT_EQ((expected).location().x(), (actual).location().x()); \
|
||||
EXPECT_FLOAT_EQ((expected).location().y(), (actual).location().y()); \
|
||||
EXPECT_FLOAT_EQ((expected).size().width(), (actual).size().width()); \
|
||||
EXPECT_FLOAT_EQ((expected).size().height(), (actual).size().height())
|
||||
|
||||
#define EXPECT_INT_RECT_EQ(expected, actual) \
|
||||
EXPECT_EQ((expected).location().x(), (actual).location().x()); \
|
||||
EXPECT_EQ((expected).location().y(), (actual).location().y()); \
|
||||
EXPECT_EQ((expected).size().width(), (actual).size().width()); \
|
||||
EXPECT_EQ((expected).size().height(), (actual).size().height())
|
||||
|
||||
// This is a function rather than a macro because when this is included as a macro
|
||||
// in bulk, it causes a significant slow-down in compilation time. This problem
|
||||
// exists with both gcc and clang, and bugs have been filed at
|
||||
// http://llvm.org/bugs/show_bug.cgi?id=13651 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54337
|
||||
void ExpectTransformationMatrixEq(WebKit::WebTransformationMatrix expected,
|
||||
WebKit::WebTransformationMatrix actual);
|
||||
|
||||
#define EXPECT_TRANSFORMATION_MATRIX_EQ(expected, actual) \
|
||||
{ \
|
||||
SCOPED_TRACE(""); \
|
||||
WebKitTests::ExpectTransformationMatrixEq(expected, actual); \
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // CCLayerTreeTestCommon_h
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CCAnimationTestCommon_h
|
||||
#define CCAnimationTestCommon_h
|
||||
#ifndef CC_TEST_ANIMATION_TEST_COMMON_H_
|
||||
#define CC_TEST_ANIMATION_TEST_COMMON_H_
|
||||
|
||||
#include "cc/active_animation.h"
|
||||
#include "cc/animation_curve.h"
|
||||
@ -88,4 +88,4 @@ void addAnimatedTransformToLayer(cc::LayerImpl&, double duration, int deltaX, in
|
||||
|
||||
} // namespace WebKitTests
|
||||
|
||||
#endif // CCAnimationTesctCommon_h
|
||||
#endif // CC_TEST_ANIMATION_TEST_COMMON_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef CompositorFakeWebGraphicsContext3D_h
|
||||
#define CompositorFakeWebGraphicsContext3D_h
|
||||
#ifndef CC_TEST_COMPOSITOR_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
|
||||
#define CC_TEST_COMPOSITOR_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "cc/test/fake_web_graphics_context_3d.h"
|
||||
@ -33,4 +33,4 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // CC_TEST_COMPOSITOR_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FakeCCGraphicsContext_h
|
||||
#define FakeCCGraphicsContext_h
|
||||
#ifndef CC_TEST_FAKE_GRAPHICS_CONTEXT_H_
|
||||
#define CC_TEST_FAKE_GRAPHICS_CONTEXT_H_
|
||||
|
||||
#include "cc/graphics_context.h"
|
||||
#include "cc/test/compositor_fake_web_graphics_context_3d.h"
|
||||
@ -19,4 +19,4 @@ static inline scoped_ptr<cc::GraphicsContext> createFakeGraphicsContext()
|
||||
|
||||
} // namespace WebKit
|
||||
|
||||
#endif // FakeCCGraphicsContext_h
|
||||
#endif // CC_TEST_FAKE_GRAPHICS_CONTEXT_H_
|
||||
|
@ -1,8 +1,8 @@
|
||||
// Copyright 2012 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
#ifndef FakeCCLayerTreeHostClient_h
|
||||
#define FakeCCLayerTreeHostClient_h
|
||||
#ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
|
||||
#define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
|
||||
|
||||
#include "config.h"
|
||||
|
||||
@ -35,4 +35,4 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
#endif // FakeCCLayerTreeHostClient_h
|
||||
#endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef FakeWebCompositorOutputSurface_h
|
||||
#define FakeWebCompositorOutputSurface_h
|
||||
#ifndef CC_TEST_FAKE_WEB_COMPOSITOR_OUTPUT_SURFACE_H_
|
||||
#define CC_TEST_FAKE_WEB_COMPOSITOR_OUTPUT_SURFACE_H_
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
@ -73,4 +73,4 @@ private:
|
||||
|
||||
} // namespace WebKit
|
||||
|
||||
#endif // FakeWebCompositorOutputSurface_h
|
||||
#endif // CC_TEST_FAKE_WEB_COMPOSITOR_OUTPUT_SURFACE_H_
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user