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

Side by Side Diff: ash/shelf/shelf_view.cc

Issue 2917013002: mash: Move ShelfModel* to ash/public/cpp. (Closed)
Patch Set: Comment on AppList item init. Created 3 years, 6 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
« no previous file with comments | « ash/shelf/shelf_view.h ('k') | ash/shelf/shelf_view_unittest.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 #include "ash/shelf/shelf_view.h" 5 #include "ash/shelf/shelf_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_constants.h" 10 #include "ash/ash_constants.h"
11 #include "ash/drag_drop/drag_image_view.h" 11 #include "ash/drag_drop/drag_image_view.h"
12 #include "ash/public/cpp/config.h" 12 #include "ash/public/cpp/config.h"
13 #include "ash/public/cpp/shelf_item_delegate.h" 13 #include "ash/public/cpp/shelf_item_delegate.h"
14 #include "ash/public/cpp/shelf_model.h"
14 #include "ash/scoped_root_window_for_new_windows.h" 15 #include "ash/scoped_root_window_for_new_windows.h"
15 #include "ash/screen_util.h" 16 #include "ash/screen_util.h"
16 #include "ash/shelf/app_list_button.h" 17 #include "ash/shelf/app_list_button.h"
17 #include "ash/shelf/overflow_bubble.h" 18 #include "ash/shelf/overflow_bubble.h"
18 #include "ash/shelf/overflow_bubble_view.h" 19 #include "ash/shelf/overflow_bubble_view.h"
19 #include "ash/shelf/overflow_button.h" 20 #include "ash/shelf/overflow_button.h"
20 #include "ash/shelf/shelf.h" 21 #include "ash/shelf/shelf.h"
21 #include "ash/shelf/shelf_application_menu_model.h" 22 #include "ash/shelf/shelf_application_menu_model.h"
22 #include "ash/shelf/shelf_button.h" 23 #include "ash/shelf/shelf_button.h"
23 #include "ash/shelf/shelf_constants.h" 24 #include "ash/shelf/shelf_constants.h"
24 #include "ash/shelf/shelf_model.h"
25 #include "ash/shelf/shelf_widget.h" 25 #include "ash/shelf/shelf_widget.h"
26 #include "ash/shell.h" 26 #include "ash/shell.h"
27 #include "ash/shell_delegate.h" 27 #include "ash/shell_delegate.h"
28 #include "ash/shell_port.h" 28 #include "ash/shell_port.h"
29 #include "ash/strings/grit/ash_strings.h" 29 #include "ash/strings/grit/ash_strings.h"
30 #include "ash/wm/root_window_finder.h" 30 #include "ash/wm/root_window_finder.h"
31 #include "base/auto_reset.h" 31 #include "base/auto_reset.h"
32 #include "base/memory/ptr_util.h" 32 #include "base/memory/ptr_util.h"
33 #include "base/metrics/histogram_macros.h" 33 #include "base/metrics/histogram_macros.h"
34 #include "ui/accessibility/ax_node_data.h" 34 #include "ui/accessibility/ax_node_data.h"
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 if (pointer == TOUCH && 1836 if (pointer == TOUCH &&
1837 (base::TimeTicks::Now() - touch_press_time_) < 1837 (base::TimeTicks::Now() - touch_press_time_) <
1838 base::TimeDelta::FromMilliseconds(kTouchDragTimeThresholdMs)) { 1838 base::TimeDelta::FromMilliseconds(kTouchDragTimeThresholdMs)) {
1839 return false; 1839 return false;
1840 } 1840 }
1841 1841
1842 return true; 1842 return true;
1843 } 1843 }
1844 1844
1845 } // namespace ash 1845 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/shelf_view.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698