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

Side by Side Diff: content/shell/browser/shell_aura.h

Issue 26695007: aura: Allow creating content_shell without views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unrevert Created 7 years, 2 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
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_AURA_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_AURA_H_
7
8 #include "base/memory/scoped_ptr.h"
9
10 namespace aura {
11 namespace client {
12 class DefaultActivationClient;
13 class DefaultCaptureClient;
14 class FocusClient;
15 }
16 class RootWindow;
17 }
18
19 namespace ui {
20 class EventHandler;
21 }
22
23 namespace content {
24
25 class ShellAuraPlatformData {
26 public:
27 ShellAuraPlatformData();
28 ~ShellAuraPlatformData();
29
30 void CreateWindow(int width, int height);
31
32 aura::RootWindow* window() { return root_window_.get(); }
33
34 private:
35 scoped_ptr<aura::RootWindow> root_window_;
36 scoped_ptr<aura::client::FocusClient> focus_client_;
37 scoped_ptr<aura::client::DefaultActivationClient> activation_client_;
38 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
39 scoped_ptr<ui::EventHandler> ime_filter_;
40
41 DISALLOW_COPY_AND_ASSIGN(ShellAuraPlatformData);
42 };
43
44 } // namespace content
45
46 #endif // CONTENT_SHELL_BROWSER_SHELL_AURA_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698