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

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 1392713002: Extract content dependency from keyboard code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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/shell.cc ('k') | ash/shell/shell_delegate_impl.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_SHELL_SHELL_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 namespace keyboard { 13 namespace keyboard {
14 class KeyboardControllerProxy; 14 class KeyboardUI;
15 } 15 }
16 16
17 namespace ash { 17 namespace ash {
18 namespace shell { 18 namespace shell {
19 19
20 class ShelfDelegateImpl; 20 class ShelfDelegateImpl;
21 class WindowWatcher; 21 class WindowWatcher;
22 22
23 class ShellDelegateImpl : public ash::ShellDelegate { 23 class ShellDelegateImpl : public ash::ShellDelegate {
24 public: 24 public:
25 ShellDelegateImpl(); 25 ShellDelegateImpl();
26 ~ShellDelegateImpl() override; 26 ~ShellDelegateImpl() override;
27 27
28 void SetWatcher(WindowWatcher* watcher); 28 void SetWatcher(WindowWatcher* watcher);
29 29
30 bool IsFirstRunAfterBoot() const override; 30 bool IsFirstRunAfterBoot() const override;
31 bool IsIncognitoAllowed() const override; 31 bool IsIncognitoAllowed() const override;
32 bool IsMultiProfilesEnabled() const override; 32 bool IsMultiProfilesEnabled() const override;
33 bool IsRunningInForcedAppMode() const override; 33 bool IsRunningInForcedAppMode() const override;
34 bool IsMultiAccountEnabled() const override; 34 bool IsMultiAccountEnabled() const override;
35 bool CanShowWindowForUser(aura::Window* window) const override; 35 bool CanShowWindowForUser(aura::Window* window) const override;
36 bool IsForceMaximizeOnFirstRun() const override; 36 bool IsForceMaximizeOnFirstRun() const override;
37 void PreInit() override; 37 void PreInit() override;
38 void PreShutdown() override; 38 void PreShutdown() override;
39 void Exit() override; 39 void Exit() override;
40 keyboard::KeyboardControllerProxy* CreateKeyboardControllerProxy() override; 40 keyboard::KeyboardUI* CreateKeyboardUI() override;
41 void VirtualKeyboardActivated(bool activated) override; 41 void VirtualKeyboardActivated(bool activated) override;
42 void AddVirtualKeyboardStateObserver( 42 void AddVirtualKeyboardStateObserver(
43 VirtualKeyboardStateObserver* observer) override; 43 VirtualKeyboardStateObserver* observer) override;
44 void RemoveVirtualKeyboardStateObserver( 44 void RemoveVirtualKeyboardStateObserver(
45 VirtualKeyboardStateObserver* observer) override; 45 VirtualKeyboardStateObserver* observer) override;
46 app_list::AppListViewDelegate* GetAppListViewDelegate() override; 46 app_list::AppListViewDelegate* GetAppListViewDelegate() override;
47 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; 47 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
48 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; 48 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override;
49 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; 49 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override;
50 ash::SessionStateDelegate* CreateSessionStateDelegate() override; 50 ash::SessionStateDelegate* CreateSessionStateDelegate() override;
(...skipping 14 matching lines...) Expand all
65 ShelfDelegateImpl* shelf_delegate_; 65 ShelfDelegateImpl* shelf_delegate_;
66 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; 66 scoped_ptr<app_list::AppListViewDelegate> app_list_view_delegate_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 68 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
69 }; 69 };
70 70
71 } // namespace shell 71 } // namespace shell
72 } // namespace ash 72 } // namespace ash
73 73
74 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 74 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698