summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents.h
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-06 20:12:07 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-06 20:12:07 +0000
commitb8615376ec35c6b328ec67325289e0b126f5f4cd (patch)
treed93d9ab0f28bdb48abfcdfbc0500b75d20369367 /chrome/browser/tab_contents/web_contents.h
parent3ddb7b91615c7c81d6723c061c106b430294b05f (diff)
downloadchromium_src-b8615376ec35c6b328ec67325289e0b126f5f4cd.zip
chromium_src-b8615376ec35c6b328ec67325289e0b126f5f4cd.tar.gz
chromium_src-b8615376ec35c6b328ec67325289e0b126f5f4cd.tar.bz2
Initial Mac port of web_contents_view and render_widget_host_view.
Review URL: http://codereview.chromium.org/20124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.h')
-rw-r--r--chrome/browser/tab_contents/web_contents.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_contents.h b/chrome/browser/tab_contents/web_contents.h
index ccd1e2e..3326cb1 100644
--- a/chrome/browser/tab_contents/web_contents.h
+++ b/chrome/browser/tab_contents/web_contents.h
@@ -128,11 +128,11 @@ class WebContents : public TabContents,
virtual void SetDownloadShelfVisible(bool visible);
virtual void PopupNotificationVisibilityChanged(bool visible);
-#if defined(OS_WIN)
// Retarded pass-throughs to the view.
// TODO(brettw) fix this, tab contents shouldn't have these methods, probably
// it should be killed altogether.
virtual void CreateView();
+#if defined(OS_WIN)
virtual HWND GetContainerHWND() const;
virtual HWND GetContentHWND();
virtual void GetContainerBounds(gfx::Rect *out) const;
@@ -390,7 +390,11 @@ class WebContents : public TabContents,
friend class TestWebContents;
// Temporary until the view/contents separation is complete.
+#if defined(OS_WIN)
friend class WebContentsViewWin;
+#elif defined(OS_MACOSX)
+ friend class WebContentsViewMac;
+#endif
// So InterstitialPage can access SetIsLoading.
friend class InterstitialPage;