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

Unified Diff: content/browser/renderer_host/test_render_view_host.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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
Index: content/browser/renderer_host/test_render_view_host.h
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h
index 08942888b114491def23407aa31e2c408b54e3a5..5a647037bb55a3038dd0f67e60d3d214e58919d5 100644
--- a/content/browser/renderer_host/test_render_view_host.h
+++ b/content/browser/renderer_host/test_render_view_host.h
@@ -125,13 +125,14 @@ class TestRenderWidgetHostView : public RenderWidgetHostView {
virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
virtual gfx::Rect GetRootWindowBounds() OVERRIDE;
#endif
- virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) { }
+ virtual void SetVisuallyDeemphasized(const SkColor* color,
+ bool animate) OVERRIDE { }
virtual void UnhandledWheelEvent(
- const WebKit::WebMouseWheelEvent& event) { }
+ const WebKit::WebMouseWheelEvent& event) OVERRIDE { }
virtual void SetHasHorizontalScrollbar(
- bool has_horizontal_scrollbar) { }
+ bool has_horizontal_scrollbar) OVERRIDE { }
virtual void SetScrollOffsetPinning(
- bool is_pinned_to_left, bool is_pinned_to_right) { }
+ bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { }
#if defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
virtual void AcceleratedSurfaceNew(
@@ -231,8 +232,8 @@ class TestRenderViewHost : public RenderViewHost {
// RenderViewHost overrides --------------------------------------------------
- virtual bool CreateRenderView(const string16& frame_name);
- virtual bool IsRenderViewLive() const;
+ virtual bool CreateRenderView(const string16& frame_name) OVERRIDE;
+ virtual bool IsRenderViewLive() const OVERRIDE;
private:
FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate);
@@ -270,7 +271,7 @@ class TestRenderViewHostFactory : public RenderViewHostFactory {
SiteInstance* instance,
RenderViewHostDelegate* delegate,
int routing_id,
- SessionStorageNamespace* session_storage);
+ SessionStorageNamespace* session_storage) OVERRIDE;
private:
// This is a bit of a hack. With the current design of the site instances /
@@ -319,8 +320,8 @@ class RenderViewHostTestHarness : public testing::Test {
protected:
// testing::Test
- virtual void SetUp();
- virtual void TearDown();
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
// This browser context will be created in SetUp if it has not already been
// created. This allows tests to override the browser context if they so
« no previous file with comments | « content/browser/renderer_host/test_backing_store.h ('k') | content/browser/renderer_host/text_input_client_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698