| 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_AURA_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AURA_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 20 matching lines...) Expand all Loading... |
| 31 } | 31 } |
| 32 | 32 |
| 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 void BuildAppListModel(ash::AppListModel* model) OVERRIDE; | |
| 42 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 41 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 43 virtual std::vector<aura::Window*> GetCycleWindowList( | 42 virtual std::vector<aura::Window*> GetCycleWindowList( |
| 44 CycleSource source, | 43 CycleSource source, |
| 45 CycleOrder order) const OVERRIDE; | 44 CycleOrder order) const OVERRIDE; |
| 46 virtual void StartPartialScreenshot( | 45 virtual void StartPartialScreenshot( |
| 47 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 46 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
| 48 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 47 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
| 49 ash::LauncherModel* model) OVERRIDE; | 48 ash::LauncherModel* model) OVERRIDE; |
| 50 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( | 49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( |
| 51 ash::SystemTray* tray) OVERRIDE; | 50 ash::SystemTray* tray) OVERRIDE; |
| 52 virtual bool GetOverrideWindowMode( | 51 virtual bool GetOverrideWindowMode( |
| 53 ash::Shell::WindowMode* window_mode) OVERRIDE; | 52 ash::Shell::WindowMode* window_mode) OVERRIDE; |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 static ChromeShellDelegate* instance_; | 55 static ChromeShellDelegate* instance_; |
| 57 | 56 |
| 58 scoped_ptr<StatusAreaHostAura> status_area_host_; | 57 scoped_ptr<StatusAreaHostAura> status_area_host_; |
| 59 | 58 |
| 60 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 59 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ | 62 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |