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

Unified Diff: chrome/browser/ui/views/browser_actions_container.cc

Issue 6334101: Removal of chrome.experimental.popup set of APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « chrome/browser/extensions/extension_popup_apitest.cc ('k') | chrome/browser/ui/views/browser_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/browser_actions_container.cc
===================================================================
--- chrome/browser/ui/views/browser_actions_container.cc (revision 74596)
+++ chrome/browser/ui/views/browser_actions_container.cc (working copy)
@@ -511,13 +511,12 @@
gfx::Rect rect = reference_view->bounds();
rect.set_origin(origin);
- gfx::NativeWindow frame_window = browser_->window()->GetNativeHandle();
BubbleBorder::ArrowLocation arrow_location = base::i18n::IsRTL() ?
BubbleBorder::TOP_LEFT : BubbleBorder::TOP_RIGHT;
- popup_ = ExtensionPopup::Show(button->GetPopupUrl(), browser_,
- browser_->profile(), frame_window, rect, arrow_location, true,
- inspect_with_devtools, ExtensionPopup::BUBBLE_CHROME, this);
+ popup_ = ExtensionPopup::Show(button->GetPopupUrl(), browser_, rect,
+ arrow_location, inspect_with_devtools,
+ this);
popup_button_ = button;
popup_button_->SetButtonPushed();
}
« no previous file with comments | « chrome/browser/extensions/extension_popup_apitest.cc ('k') | chrome/browser/ui/views/browser_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698