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

Side by Side Diff: ash/shell.h

Issue 23072036: Adds an integration test for uninstalling app list search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit indenting 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 | Annotate | Revision Log
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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "ash/shelf/shelf_types.h" 12 #include "ash/shelf/shelf_types.h"
13 #include "ash/system/user/login_status.h" 13 #include "ash/system/user/login_status.h"
14 #include "ash/wm/system_modal_container_event_filter_delegate.h" 14 #include "ash/wm/system_modal_container_event_filter_delegate.h"
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/observer_list.h" 19 #include "base/observer_list.h"
20 #include "ui/aura/client/activation_change_observer.h" 20 #include "ui/aura/client/activation_change_observer.h"
21 #include "ui/base/events/event_target.h" 21 #include "ui/base/events/event_target.h"
22 #include "ui/base/ui_base_types.h" 22 #include "ui/base/ui_base_types.h"
23 #include "ui/gfx/insets.h" 23 #include "ui/gfx/insets.h"
24 #include "ui/gfx/screen.h" 24 #include "ui/gfx/screen.h"
25 #include "ui/gfx/size.h" 25 #include "ui/gfx/size.h"
26 #include "ui/views/corewm/cursor_manager.h" 26 #include "ui/views/corewm/cursor_manager.h"
27 27
28 class CommandLine; 28 class CommandLine;
29 29
30 namespace app_list {
31 class AppListView;
32 }
30 namespace aura { 33 namespace aura {
31 class EventFilter; 34 class EventFilter;
32 class RootWindow; 35 class RootWindow;
33 class Window; 36 class Window;
34 namespace client { 37 namespace client {
35 class ActivationClient; 38 class ActivationClient;
36 class FocusClient; 39 class FocusClient;
37 class UserActionClient; 40 class UserActionClient;
38 } 41 }
39 } 42 }
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // list should be shown. If this is NULL, the active root window 224 // list should be shown. If this is NULL, the active root window
222 // will be used. 225 // will be used.
223 void ToggleAppList(aura::Window* anchor); 226 void ToggleAppList(aura::Window* anchor);
224 227
225 // Returns app list target visibility. 228 // Returns app list target visibility.
226 bool GetAppListTargetVisibility() const; 229 bool GetAppListTargetVisibility() const;
227 230
228 // Returns app list window or NULL if it is not visible. 231 // Returns app list window or NULL if it is not visible.
229 aura::Window* GetAppListWindow(); 232 aura::Window* GetAppListWindow();
230 233
234 // Returns the app list view. Used for integration testing.
235 app_list::AppListView* GetAppListViewForTesting();
236
231 // Returns true if a system-modal dialog window is currently open. 237 // Returns true if a system-modal dialog window is currently open.
232 bool IsSystemModalWindowOpen() const; 238 bool IsSystemModalWindowOpen() const;
233 239
234 // For testing only: set simulation that a modal window is open 240 // For testing only: set simulation that a modal window is open
235 void SimulateModalWindowOpenForTesting(bool modal_window_open) { 241 void SimulateModalWindowOpenForTesting(bool modal_window_open) {
236 simulate_modal_window_open_for_testing_ = modal_window_open; 242 simulate_modal_window_open_for_testing_ = modal_window_open;
237 } 243 }
238 244
239 // Creates a default views::NonClientFrameView for use by windows in the 245 // Creates a default views::NonClientFrameView for use by windows in the
240 // Ash environment. 246 // Ash environment.
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 bool simulate_modal_window_open_for_testing_; 635 bool simulate_modal_window_open_for_testing_;
630 636
631 bool is_touch_hud_projection_enabled_; 637 bool is_touch_hud_projection_enabled_;
632 638
633 DISALLOW_COPY_AND_ASSIGN(Shell); 639 DISALLOW_COPY_AND_ASSIGN(Shell);
634 }; 640 };
635 641
636 } // namespace ash 642 } // namespace ash
637 643
638 #endif // ASH_SHELL_H_ 644 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | chrome/browser/ui/app_list/app_list_controller_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698