| 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 22 matching lines...) Expand all Loading... |
| 33 StatusAreaView* GetStatusArea(); | 33 StatusAreaView* GetStatusArea(); |
| 34 | 34 |
| 35 // ash::ShellDelegate overrides; | 35 // ash::ShellDelegate overrides; |
| 36 virtual views::Widget* CreateStatusArea() OVERRIDE; | 36 virtual views::Widget* CreateStatusArea() OVERRIDE; |
| 37 #if defined(OS_CHROMEOS) | 37 #if defined(OS_CHROMEOS) |
| 38 virtual void LockScreen() OVERRIDE; | 38 virtual void LockScreen() OVERRIDE; |
| 39 #endif | 39 #endif |
| 40 virtual void Exit() OVERRIDE; | 40 virtual void Exit() OVERRIDE; |
| 41 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 41 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 42 virtual std::vector<aura::Window*> GetCycleWindowList( | 42 virtual std::vector<aura::Window*> GetCycleWindowList( |
| 43 CycleSource source, | 43 CycleSource source) const OVERRIDE; |
| 44 CycleOrder order) const OVERRIDE; | |
| 45 virtual void StartPartialScreenshot( | 44 virtual void StartPartialScreenshot( |
| 46 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 45 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
| 47 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 46 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
| 48 ash::LauncherModel* model) OVERRIDE; | 47 ash::LauncherModel* model) OVERRIDE; |
| 49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( | 48 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( |
| 50 ash::SystemTray* tray) OVERRIDE; | 49 ash::SystemTray* tray) OVERRIDE; |
| 51 virtual bool GetOverrideWindowMode( | |
| 52 ash::Shell::WindowMode* window_mode) OVERRIDE; | |
| 53 | 50 |
| 54 private: | 51 private: |
| 55 static ChromeShellDelegate* instance_; | 52 static ChromeShellDelegate* instance_; |
| 56 | 53 |
| 57 scoped_ptr<StatusAreaHostAura> status_area_host_; | 54 scoped_ptr<StatusAreaHostAura> status_area_host_; |
| 58 | 55 |
| 59 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 56 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 60 }; | 57 }; |
| 61 | 58 |
| 62 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 59 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |