OLD | NEW |
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 CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
7 | 7 |
8 #include "ash/launcher/launcher_types.h" | 8 #include "ash/launcher/launcher_types.h" |
9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 50 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
51 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 51 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
52 virtual void StartPartialScreenshot( | 52 virtual void StartPartialScreenshot( |
53 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 53 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
54 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 54 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
55 ash::LauncherModel* model) OVERRIDE; | 55 ash::LauncherModel* model) OVERRIDE; |
56 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( | 56 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( |
57 ash::SystemTray* tray) OVERRIDE; | 57 ash::SystemTray* tray) OVERRIDE; |
58 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 58 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
59 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 59 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
| 60 virtual void OpenFeedbackPage() OVERRIDE; |
60 | 61 |
61 // content::NotificationObserver override: | 62 // content::NotificationObserver override: |
62 virtual void Observe(int type, | 63 virtual void Observe(int type, |
63 const content::NotificationSource& source, | 64 const content::NotificationSource& source, |
64 const content::NotificationDetails& details) OVERRIDE; | 65 const content::NotificationDetails& details) OVERRIDE; |
65 | 66 |
66 private: | 67 private: |
67 static ChromeShellDelegate* instance_; | 68 static ChromeShellDelegate* instance_; |
68 | 69 |
69 content::NotificationRegistrar registrar_; | 70 content::NotificationRegistrar registrar_; |
70 | 71 |
71 scoped_ptr<WindowPositioner> window_positioner_; | 72 scoped_ptr<WindowPositioner> window_positioner_; |
72 | 73 |
73 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; | 74 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 76 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
76 }; | 77 }; |
77 | 78 |
78 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 79 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |