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

Unified Diff: ui/app_list/views/app_list_view.h

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: Added unit test 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
Index: ui/app_list/views/app_list_view.h
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h
index 53d08a40dd7c08bea30d3111270834603f8f859c..d0d5187cf020088b2153aa61cfd2f58051e49525 100644
--- a/ui/app_list/views/app_list_view.h
+++ b/ui/app_list/views/app_list_view.h
@@ -40,6 +40,8 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
virtual ~AppListView();
// Initializes the widget.
+ // If an |anchor| is provided, the |anchor_point| is a local offset, otherwise
+ // it is the anchor point in screen coordinates.
void InitAsBubble(gfx::NativeView parent,
PaginationModel* pagination_model,
views::View* anchor,

Powered by Google App Engine
This is Rietveld 408576698