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

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

Issue 22429004: Refactor LauncherDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for OpenBrowserUsingShelfOnOhterDisplay fail 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 unified diff | Download patch
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 17 matching lines...) Expand all
28 28
29 namespace ash { 29 namespace ash {
30 30
31 namespace test { 31 namespace test {
32 class LauncherViewTestAPI; 32 class LauncherViewTestAPI;
33 } 33 }
34 34
35 class LauncherDelegate; 35 class LauncherDelegate;
36 struct LauncherItem; 36 struct LauncherItem;
37 class LauncherIconObserver; 37 class LauncherIconObserver;
38 class LauncherItemDelegateManager;
38 class LauncherModel; 39 class LauncherModel;
39 40
40 namespace internal { 41 namespace internal {
41 42
42 class DragImageView; 43 class DragImageView;
43 class LauncherButton; 44 class LauncherButton;
44 class LauncherTooltipManager; 45 class LauncherTooltipManager;
45 class ShelfLayoutManager; 46 class ShelfLayoutManager;
46 class OverflowBubble; 47 class OverflowBubble;
47 class OverflowButton; 48 class OverflowButton;
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 380
380 // The cursor offset to the middle of the dragged item. 381 // The cursor offset to the middle of the dragged item.
381 gfx::Vector2d drag_image_offset_; 382 gfx::Vector2d drag_image_offset_;
382 383
383 // The view which gets replaced by our drag icon proxy. 384 // The view which gets replaced by our drag icon proxy.
384 views::View* drag_replaced_view_; 385 views::View* drag_replaced_view_;
385 386
386 // True when the icon was dragged off the shelf. 387 // True when the icon was dragged off the shelf.
387 bool dragged_off_shelf_; 388 bool dragged_off_shelf_;
388 389
390 // Holds LauncherItemDelegateManager.
391 LauncherItemDelegateManager* item_manager_;
392
389 DISALLOW_COPY_AND_ASSIGN(LauncherView); 393 DISALLOW_COPY_AND_ASSIGN(LauncherView);
390 }; 394 };
391 395
392 } // namespace internal 396 } // namespace internal
393 } // namespace ash 397 } // namespace ash
394 398
395 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ 399 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698