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

Unified Diff: chrome/browser/views/browser_bubble_win.cc

Issue 259065: Add an BubbleBorder to BrowserAction popups and fix positioning of the (Closed)
Patch Set: cleanup Created 11 years, 2 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/views/browser_bubble.h ('k') | chrome/browser/views/bubble_border.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/browser_bubble_win.cc
diff --git a/chrome/browser/views/browser_bubble_win.cc b/chrome/browser/views/browser_bubble_win.cc
index 17ab8ca1ec1a5160ba5120775d48daab7fdc67a5..3a5bca18105e40835b15405c38c07eb4495f6ea8 100644
--- a/chrome/browser/views/browser_bubble_win.cc
+++ b/chrome/browser/views/browser_bubble_win.cc
@@ -62,24 +62,10 @@ private:
};
void BrowserBubble::InitPopup() {
- gfx::NativeWindow native_window = frame_->GetWindow()->GetNativeWindow();
-
// popup_ is a Widget, but we need to do some WidgetWin stuff first, then
// we'll assign it into popup_.
views::WidgetWin* pop = new BubbleWidget(this);
pop->set_window_style(WS_POPUP);
-
-#if 0
- // TODO(erikkay) Layered windows don't draw child windows.
- // Apparently there's some tricks you can do to handle that.
- // Do the research so we can use this.
- pop->set_window_ex_style(WS_EX_LAYERED |
- l10n_util::GetExtendedTooltipStyles());
- pop->SetOpacity(0xFF);
-#endif
-
- // A focus manager is necessary if you want to be able to handle various
- // mouse events properly.
pop->Init(frame_native_view_, bounds_);
pop->SetContentsView(view_);
« no previous file with comments | « chrome/browser/views/browser_bubble.h ('k') | chrome/browser/views/bubble_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698