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

Unified Diff: chrome/browser/ui/views/app_list/app_list_controller_win.cc

Issue 12897004: Remove BubbleDelegateView::Show(); call GetWidget()->Show() instead; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup more BubbleDelegateView::Show() calls. Created 7 years, 9 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 | « ash/wm/maximize_bubble_controller.cc ('k') | chrome/browser/ui/views/avatar_menu_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/app_list/app_list_controller_win.cc
diff --git a/chrome/browser/ui/views/app_list/app_list_controller_win.cc b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
index 0c9d4e7a6971be8997f5ff75a8e31d1e7c3fb3d2..345172b0e28006f106706a7edaf2eb2c4eb382d4 100644
--- a/chrome/browser/ui/views/app_list/app_list_controller_win.cc
+++ b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
@@ -511,7 +511,7 @@ void AppListController::ShowAppList(Profile* profile) {
// If the app list is already displaying |profile| just activate it (in case
// we have lost focus).
if (IsAppListVisible() && (profile == profile_)) {
- current_view_->Show();
+ current_view_->GetWidget()->Show();
current_view_->GetWidget()->Activate();
return;
}
@@ -525,7 +525,7 @@ void AppListController::ShowAppList(Profile* profile) {
EnsureHaveKeepAliveForView();
gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint();
UpdateArrowPositionAndAnchorPoint(cursor);
- current_view_->Show();
+ current_view_->GetWidget()->Show();
current_view_->GetWidget()->GetTopLevelWidget()->UpdateWindowIcon();
current_view_->GetWidget()->Activate();
}
« no previous file with comments | « ash/wm/maximize_bubble_controller.cc ('k') | chrome/browser/ui/views/avatar_menu_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698