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

Unified Diff: chrome/browser/ui/views/browser_bubble.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, 11 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/browser_bubble.cc
===================================================================
--- chrome/browser/ui/views/browser_bubble.cc (revision 73621)
+++ chrome/browser/ui/views/browser_bubble.cc (working copy)
@@ -24,28 +24,19 @@
window->GetNativeWindow());
DCHECK(bubble_host);
}
-#if defined(OS_WIN)
- // The frame may also be an ExternalTabContainer, which is also capable of
- // hosting BrowserBubbles.
- gfx::NativeView native_view = frame->GetNativeView();
- if (!bubble_host) {
- bubble_host =
- ExternalTabContainer::GetExternalContainerFromNativeWindow(native_view);
- }
-#endif
+
return bubble_host;
}
} // namespace
BrowserBubble::BrowserBubble(views::View* view, views::Widget* frame,
- const gfx::Point& origin, bool drop_shadow)
+ const gfx::Point& origin)
: frame_(frame),
view_(view),
visible_(false),
delegate_(NULL),
attached_(false),
- drop_shadow_enabled_(drop_shadow),
bubble_host_(GetBubbleHostFromFrame(frame)) {
gfx::Size size = view->GetPreferredSize();
bounds_.SetRect(origin.x(), origin.y(), size.width(), size.height());

Powered by Google App Engine
This is Rietveld 408576698