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 UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_BROWSER_MAIN_PARTS_H_ | 5 #ifndef UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_BROWSER_MAIN_PARTS_H_ |
6 #define UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_BROWSER_MAIN_PARTS_H_ | 6 #define UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_BROWSER_MAIN_PARTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "content/public/browser/browser_main_parts.h" | 11 #include "content/public/browser/browser_main_parts.h" |
12 | 12 |
| 13 namespace aura { |
| 14 namespace client { |
| 15 class StackingClient; |
| 16 } |
| 17 } |
| 18 |
13 namespace base { | 19 namespace base { |
14 class Thread; | 20 class Thread; |
15 } | 21 } |
16 | 22 |
17 namespace ui { | 23 namespace ui { |
18 class Clipboard; | 24 class Clipboard; |
19 } | 25 } |
20 | 26 |
21 namespace content { | 27 namespace content { |
22 | 28 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 return browser_context_.get(); | 62 return browser_context_.get(); |
57 } | 63 } |
58 | 64 |
59 private: | 65 private: |
60 scoped_ptr<content::ShellBrowserContext> browser_context_; | 66 scoped_ptr<content::ShellBrowserContext> browser_context_; |
61 | 67 |
62 scoped_ptr<ui::Clipboard> clipboard_; | 68 scoped_ptr<ui::Clipboard> clipboard_; |
63 content::ShellDevToolsDelegate* devtools_delegate_; | 69 content::ShellDevToolsDelegate* devtools_delegate_; |
64 scoped_ptr<views::ViewsDelegate> views_delegate_; | 70 scoped_ptr<views::ViewsDelegate> views_delegate_; |
65 #if defined(USE_AURA) | 71 #if defined(USE_AURA) |
66 scoped_ptr<aura::client::StackingClient> root_window_stacking_client_; | 72 scoped_ptr<aura::client::StackingClient> stacking_client_; |
67 #endif | 73 #endif |
68 | 74 |
69 DISALLOW_COPY_AND_ASSIGN(ExamplesBrowserMainParts); | 75 DISALLOW_COPY_AND_ASSIGN(ExamplesBrowserMainParts); |
70 }; | 76 }; |
71 | 77 |
72 } // namespace examples | 78 } // namespace examples |
73 } // namespace views | 79 } // namespace views |
74 | 80 |
75 #endif // UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_BROWSER_MAIN_PARTS_H_ | 81 #endif // UI_VIEWS_EXAMPLES_CONTENT_CLIENT_EXAMPLES_BROWSER_MAIN_PARTS_H_ |
OLD | NEW |