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

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

Issue 23622020: Fixing the dynamic positioning (move with anchor) for the app launcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years, 3 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/app_list_controller.cc ('k') | ui/app_list/views/app_list_view.h » ('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 6c8e55167b9fa772429ff00ed5d6c785ae01a7b6..1eff34c042b7693e3993ec930702c74965a5ea84 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
@@ -644,12 +644,11 @@ class AppListViewFactory {
new AppListControllerDelegateWin, profile);
app_list::AppListView* view = new app_list::AppListView(view_delegate);
gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint();
- view->InitAsBubble(NULL,
- pagination_model,
- NULL,
- cursor,
- views::BubbleBorder::FLOAT,
- false /* border_accepts_events */);
+ view->InitAsBubbleAtFixedLocation(NULL,
+ pagination_model,
+ cursor,
+ views::BubbleBorder::FLOAT,
+ false /* border_accepts_events */);
SetWindowAttributes(view->GetHWND());
return new AppListViewWin(view, on_should_dismiss);
}
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698