Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: chrome/browser/ui/views/aura/chrome_shell_delegate.h

Issue 9570044: Rename chrome/browser/ui/views/{aura => ash}/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_
7 #pragma once
8
9 #include "ash/launcher/launcher_types.h"
10 #include "ash/shell_delegate.h"
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h"
14
15 class StatusAreaHostAura;
16 class StatusAreaView;
17
18 namespace views {
19 class View;
20 }
21
22 class ChromeShellDelegate : public ash::ShellDelegate {
23 public:
24 ChromeShellDelegate();
25 virtual ~ChromeShellDelegate();
26
27 static ChromeShellDelegate* instance() { return instance_; }
28
29 StatusAreaHostAura* status_area_host() {
30 return status_area_host_.get();
31 }
32
33 StatusAreaView* GetStatusArea();
34
35 // ash::ShellDelegate overrides;
36 virtual views::Widget* CreateStatusArea() OVERRIDE;
37 #if defined(OS_CHROMEOS)
38 virtual void LockScreen() OVERRIDE;
39 #endif
40 virtual void Exit() OVERRIDE;
41 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
42 virtual std::vector<aura::Window*> GetCycleWindowList(
43 CycleSource source,
44 CycleOrder order) const OVERRIDE;
45 virtual void StartPartialScreenshot(
46 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE;
47 virtual ash::LauncherDelegate* CreateLauncherDelegate(
48 ash::LauncherModel* model) OVERRIDE;
49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate(
50 ash::SystemTray* tray) OVERRIDE;
51 virtual bool GetOverrideWindowMode(
52 ash::Shell::WindowMode* window_mode) OVERRIDE;
53
54 private:
55 static ChromeShellDelegate* instance_;
56
57 scoped_ptr<StatusAreaHostAura> status_area_host_;
58
59 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
60 };
61
62 #endif // CHROME_BROWSER_UI_VIEWS_AURA_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/aura/caps_lock_handler_browsertest.cc ('k') | chrome/browser/ui/views/aura/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698