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

Unified Diff: chrome/browser/ui/views/extensions/extension_popup.h

Issue 8068020: Converts usage of GetBrowserViewForNativeWindow to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 3 months 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: chrome/browser/ui/views/extensions/extension_popup.h
diff --git a/chrome/browser/ui/views/extensions/extension_popup.h b/chrome/browser/ui/views/extensions/extension_popup.h
index c374d7fd1fa97e5cc754627dddb1b1f7dc1f18db..c1a9412a655cdcc2b9e8d9e9c8cdef18c0e9dae9 100644
--- a/chrome/browser/ui/views/extensions/extension_popup.h
+++ b/chrome/browser/ui/views/extensions/extension_popup.h
@@ -53,7 +53,8 @@ class ExtensionPopup : public BrowserBubble,
// devtools window for it.
// The actual display of the popup is delayed until the page contents
// finish loading in order to minimize UI flashing and resizing.
- static ExtensionPopup* Show(const GURL& url, Browser* browser,
+ static ExtensionPopup* Show(const GURL& url,
+ Browser* browser,
const gfx::Rect& relative_to,
views::BubbleBorder::ArrowLocation arrow_location,
bool inspect_with_devtools,
@@ -98,8 +99,8 @@ class ExtensionPopup : public BrowserBubble,
static const int kMaxHeight;
private:
- ExtensionPopup(ExtensionHost* host,
- views::Widget* frame,
+ ExtensionPopup(Browser* browser,
+ ExtensionHost* host,
const gfx::Rect& relative_to,
views::BubbleBorder::ArrowLocation arrow_location,
bool inspect_with_devtools,

Powered by Google App Engine
This is Rietveld 408576698