| 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 25 matching lines...) Expand all Loading... |
| 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; | 41 virtual void BuildAppListModel(ash::AppListModel* model) OVERRIDE; |
| 42 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 42 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 43 virtual std::vector<aura::Window*> GetCycleWindowList( | 43 virtual std::vector<aura::Window*> GetCycleWindowList( |
| 44 CycleSource source, | 44 CycleSource source, |
| 45 CycleOrder order) const OVERRIDE; | 45 CycleOrder order) const OVERRIDE; |
| 46 virtual void RotateFocus(bool forward) OVERRIDE; |
| 46 virtual void CreateNewWindow() OVERRIDE; | 47 virtual void CreateNewWindow() OVERRIDE; |
| 47 virtual void LauncherItemClicked(const ash::LauncherItem& item) OVERRIDE; | 48 virtual void LauncherItemClicked(const ash::LauncherItem& item) OVERRIDE; |
| 48 virtual int GetBrowserShortcutResourceId() OVERRIDE; | 49 virtual int GetBrowserShortcutResourceId() OVERRIDE; |
| 49 virtual string16 GetLauncherItemTitle(const ash::LauncherItem& item) OVERRIDE; | 50 virtual string16 GetLauncherItemTitle(const ash::LauncherItem& item) OVERRIDE; |
| 50 | 51 |
| 51 private: | 52 private: |
| 52 static ChromeShellDelegate* instance_; | 53 static ChromeShellDelegate* instance_; |
| 53 | 54 |
| 54 scoped_ptr<StatusAreaHostAura> status_area_host_; | 55 scoped_ptr<StatusAreaHostAura> status_area_host_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 57 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ | 60 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |