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