summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents_view.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 18:11:14 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 18:11:14 +0000
commitc6d972b5b5967c090671d6a9fb9dd05252d2f8f5 (patch)
tree9f6d65b2fd83d5d0bbaae896d5cfd5b473c4b344 /chrome/browser/tab_contents/web_contents_view.h
parentd4d33e99c0d60534aef17f888315e842cd6fba06 (diff)
downloadchromium_src-c6d972b5b5967c090671d6a9fb9dd05252d2f8f5.zip
chromium_src-c6d972b5b5967c090671d6a9fb9dd05252d2f8f5.tar.gz
chromium_src-c6d972b5b5967c090671d6a9fb9dd05252d2f8f5.tar.bz2
Make the shared shell dialog not use Windows types, as well as the web contents
code that runs it. Review URL: http://codereview.chromium.org/19666 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents_view.h')
-rw-r--r--chrome/browser/tab_contents/web_contents_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/web_contents_view.h b/chrome/browser/tab_contents/web_contents_view.h
index ab7ae97..1db1a52 100644
--- a/chrome/browser/tab_contents/web_contents_view.h
+++ b/chrome/browser/tab_contents/web_contents_view.h
@@ -57,6 +57,10 @@ class WebContentsView : public RenderViewHostDelegate::View {
// the container).
virtual gfx::NativeView GetContentNativeView() const = 0;
+ // Returns the outermost native view. This will be used as the parent for
+ // dialog boxes.
+ virtual gfx::NativeView GetTopLevelNativeView() const = 0;
+
// Computes the rectangle for the native widget that contains the contents of
// the tab relative to its parent.
virtual void GetContainerBounds(gfx::Rect *out) const = 0;