summaryrefslogtreecommitdiffstats
path: root/content/test/test_web_contents_view.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-25 16:34:10 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-25 16:34:10 +0000
commit60780f41729ab40ba08b93ad4c279fbe0aee4c13 (patch)
tree8faf01fe888ec562bf61bcb499f97e3868d1948d /content/test/test_web_contents_view.h
parenta5746d059d86cebd31b3ef6d549f679d8686978c (diff)
downloadchromium_src-60780f41729ab40ba08b93ad4c279fbe0aee4c13.zip
chromium_src-60780f41729ab40ba08b93ad4c279fbe0aee4c13.tar.gz
chromium_src-60780f41729ab40ba08b93ad4c279fbe0aee4c13.tar.bz2
Move WebContentsView methods that are only called inside content over to WebContentsViewPort.
Review URL: https://codereview.chromium.org/12313084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_web_contents_view.h')
-rw-r--r--content/test/test_web_contents_view.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/content/test/test_web_contents_view.h b/content/test/test_web_contents_view.h
index 97ab618..dfb791a 100644
--- a/content/test/test_web_contents_view.h
+++ b/content/test/test_web_contents_view.h
@@ -37,35 +37,37 @@ class TestWebContentsView : public WebContentsViewPort,
virtual void TakeFocus(bool reverse) OVERRIDE;
// WebContentsView:
- virtual void CreateView(const gfx::Size& initial_size,
- gfx::NativeView context) OVERRIDE;
- virtual RenderWidgetHostView* CreateViewForWidget(
- RenderWidgetHost* render_widget_host) OVERRIDE;
- virtual RenderWidgetHostView* CreateViewForPopupWidget(
- RenderWidgetHost* render_widget_host) OVERRIDE;
virtual gfx::NativeView GetNativeView() const OVERRIDE;
virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE;
- virtual void SetPageTitle(const string16& title) OVERRIDE;
virtual void OnTabCrashed(base::TerminationStatus status,
int error_code) OVERRIDE;
virtual void SizeContents(const gfx::Size& size) OVERRIDE;
- virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
virtual void Focus() OVERRIDE;
virtual void SetInitialFocus() OVERRIDE;
virtual void StoreFocus() OVERRIDE;
virtual void RestoreFocus() OVERRIDE;
virtual WebDropData* GetDropData() const OVERRIDE;
- virtual bool IsEventTracking() const OVERRIDE;
- virtual void CloseTabAfterEventTracking() OVERRIDE;
virtual gfx::Rect GetViewBounds() const OVERRIDE;
#if defined(OS_MACOSX)
virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE;
#endif
// WebContentsViewPort:
+ virtual void CreateView(const gfx::Size& initial_size,
+ gfx::NativeView context) OVERRIDE;
+ virtual RenderWidgetHostView* CreateViewForWidget(
+ RenderWidgetHost* render_widget_host) OVERRIDE;
+ virtual RenderWidgetHostView* CreateViewForPopupWidget(
+ RenderWidgetHost* render_widget_host) OVERRIDE;
+ virtual void SetPageTitle(const string16& title) OVERRIDE;
+ virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE;
+#if defined(OS_MACOSX)
+ virtual bool IsEventTracking() const OVERRIDE;
+ virtual void CloseTabAfterEventTracking() OVERRIDE;
+#endif
private:
DISALLOW_COPY_AND_ASSIGN(TestWebContentsView);