summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/browser_bubble.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 23:55:44 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 23:55:44 +0000
commit4810c1676500133f54608599fc071ecdb7cf55c6 (patch)
tree4072867f934b328c64bb1c6ab18b211009a74d01 /chrome/browser/views/browser_bubble.h
parent27c6f11bfc8bf73d364fac6878f3ca27a92ae2e1 (diff)
downloadchromium_src-4810c1676500133f54608599fc071ecdb7cf55c6.zip
chromium_src-4810c1676500133f54608599fc071ecdb7cf55c6.tar.gz
chromium_src-4810c1676500133f54608599fc071ecdb7cf55c6.tar.bz2
Gets the extension popup/bubble to work correctly on Chrome OS.
BUG=30358 TEST=see bug Review URL: http://codereview.chromium.org/501179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_bubble.h')
-rw-r--r--chrome/browser/views/browser_bubble.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/browser_bubble.h b/chrome/browser/views/browser_bubble.h
index f796a22..25b91e9 100644
--- a/chrome/browser/views/browser_bubble.h
+++ b/chrome/browser/views/browser_bubble.h
@@ -85,7 +85,7 @@ class BrowserBubble {
void ResizeToView();
// Returns the NativeView containing that popup.
- gfx::NativeView native_view() const { return frame_native_view_; }
+ gfx::NativeView native_view() const { return frame_->GetNativeView(); }
protected:
// Create the popup widget.
@@ -99,7 +99,6 @@ class BrowserBubble {
// The frame that this bubble is attached to.
views::Widget* frame_;
- gfx::NativeView frame_native_view_;
private:
// The view that is displayed in this bubble.