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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 9590001: Launch panels as popup windows in Aura, and add separate launcher icon logic for panels. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Eliminate ash::TYPE_PANEL Created 8 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 8303094f0554aa0d1dbecc29e64393492b30f8a3..b98b07cce3c301a7a49bf5cea516c447441a768b 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -624,6 +624,11 @@ void BrowserView::Show() {
void BrowserView::ShowInactive() {
if (!frame_->IsVisible())
frame_->ShowInactive();
+
+#if defined(USE_AURA)
+ if (!icon_updater_.get())
sky 2012/03/05 15:20:25 Why is this needed?
sky 2012/03/05 15:22:52 I see why it's needed. Could you move the creation
stevenjb 2012/03/05 19:50:06 Done.
+ icon_updater_.reset(LauncherUpdater::Create(browser_.get()));
+#endif // defined(USE_AURA)
}
void BrowserView::SetBounds(const gfx::Rect& bounds) {

Powered by Google App Engine
This is Rietveld 408576698