Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: cc/test/fake_output_surface_client.h

Issue 645853008: Standardize usage of virtual/override/final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/fake_painted_scrollbar_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface_client.h
diff --git a/cc/test/fake_output_surface_client.h b/cc/test/fake_output_surface_client.h
index 16453da0addeba25fa8fd049105c6b8851a96d9d..a7620b675c97c3113b15110acbd0b6356e2b41e4 100644
--- a/cc/test/fake_output_surface_client.h
+++ b/cc/test/fake_output_surface_client.h
@@ -30,25 +30,25 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
did_lose_output_surface_called_(false),
memory_policy_(0) {}
- virtual void DeferredInitialize() override;
- virtual void ReleaseGL() override;
- virtual void CommitVSyncParameters(base::TimeTicks timebase,
- base::TimeDelta interval) override {}
- virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override {}
- virtual void BeginFrame(const BeginFrameArgs& args) override;
- virtual void DidSwapBuffers() override;
- virtual void DidSwapBuffersComplete() override {}
- virtual void ReclaimResources(const CompositorFrameAck* ack) override {}
- virtual void DidLoseOutputSurface() override;
- virtual void SetExternalDrawConstraints(
+ void DeferredInitialize() override;
+ void ReleaseGL() override;
+ void CommitVSyncParameters(base::TimeTicks timebase,
+ base::TimeDelta interval) override {}
+ void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override {}
+ void BeginFrame(const BeginFrameArgs& args) override;
+ void DidSwapBuffers() override;
+ void DidSwapBuffersComplete() override {}
+ void ReclaimResources(const CompositorFrameAck* ack) override {}
+ void DidLoseOutputSurface() override;
+ void SetExternalDrawConstraints(
const gfx::Transform& transform,
const gfx::Rect& viewport,
const gfx::Rect& clip,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority,
bool resourceless_software_draw) override {}
- virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
- virtual void SetTreeActivationCallback(const base::Closure&) override {}
+ void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
+ void SetTreeActivationCallback(const base::Closure&) override {}
int begin_frame_count() { return begin_frame_count_; }
int swap_count() { return swap_count_; }
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/fake_painted_scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698