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

Side by Side Diff: ash/launcher/launcher_view.h

Issue 22527003: ash:Shelf Overflow Button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/launcher/launcher.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_LAUNCHER_LAUNCHER_VIEW_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_VIEW_H_
6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ 6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ShelfLayoutManager* shelf_layout_manager); 60 ShelfLayoutManager* shelf_layout_manager);
61 virtual ~LauncherView(); 61 virtual ~LauncherView();
62 62
63 LauncherTooltipManager* tooltip_manager() { return tooltip_.get(); } 63 LauncherTooltipManager* tooltip_manager() { return tooltip_.get(); }
64 64
65 LauncherModel* model() { return model_; } 65 LauncherModel* model() { return model_; }
66 66
67 void Init(); 67 void Init();
68 68
69 void OnShelfAlignmentChanged(); 69 void OnShelfAlignmentChanged();
70 void SchedulePaintForAllButtons();
70 71
71 // Returns the ideal bounds of the specified item, or an empty rect if id 72 // Returns the ideal bounds of the specified item, or an empty rect if id
72 // isn't know. 73 // isn't know.
73 gfx::Rect GetIdealBoundsOfItemIcon(LauncherID id); 74 gfx::Rect GetIdealBoundsOfItemIcon(LauncherID id);
74 75
75 // Repositions the icon for the specified item by the midpoint of the window. 76 // Repositions the icon for the specified item by the midpoint of the window.
76 void UpdatePanelIconPosition(LauncherID id, const gfx::Point& midpoint); 77 void UpdatePanelIconPosition(LauncherID id, const gfx::Point& midpoint);
77 78
78 void AddIconObserver(LauncherIconObserver* observer); 79 void AddIconObserver(LauncherIconObserver* observer);
79 void RemoveIconObserver(LauncherIconObserver* observer); 80 void RemoveIconObserver(LauncherIconObserver* observer);
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // The view which gets replaced by our drag icon proxy. 372 // The view which gets replaced by our drag icon proxy.
372 views::View* drag_replaced_view_; 373 views::View* drag_replaced_view_;
373 374
374 DISALLOW_COPY_AND_ASSIGN(LauncherView); 375 DISALLOW_COPY_AND_ASSIGN(LauncherView);
375 }; 376 };
376 377
377 } // namespace internal 378 } // namespace internal
378 } // namespace ash 379 } // namespace ash
379 380
380 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ 381 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698