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

Side by Side Diff: ash/shell/content_client/shell_browser_main_parts.cc

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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 | « ash/shell.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ash/shell/content_client/shell_browser_main_parts.h" 5 #include "ash/shell/content_client/shell_browser_main_parts.h"
6 6
7 #include "ash/shell/shell_delegate_impl.h" 7 #include "ash/shell/shell_delegate_impl.h"
8 #include "ash/shell/window_watcher.h" 8 #include "ash/shell/window_watcher.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/i18n/icu_util.h" 11 #include "base/i18n/icu_util.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "base/threading/thread_restrictions.h" 15 #include "base/threading/thread_restrictions.h"
16 #include "content/public/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
17 #include "content/shell/shell.h" 17 #include "content/shell/shell.h"
18 #include "content/shell/shell_browser_context.h" 18 #include "content/shell/shell_browser_context.h"
19 #include "content/shell/shell_devtools_delegate.h" 19 #include "content/shell/shell_devtools_delegate.h"
20 #include "content/shell/shell_switches.h" 20 #include "content/shell/shell_switches.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 #include "net/base/net_module.h" 22 #include "net/base/net_module.h"
23 #include "ui/aura/client/stacking_client.h" 23 #include "ui/aura/client/stacking_client.h"
24 #include "ui/aura/env.h" 24 #include "ui/aura/env.h"
25 #include "ui/aura/root_window.h" 25 #include "ui/aura/root_window.h"
26 #include "ui/aura/window.h" 26 #include "ui/aura/window.h"
27 #include "ui/base/clipboard/clipboard.h" 27 #include "ui/base/clipboard/clipboard.h"
28 #include "ui/base/resource/resource_bundle.h" 28 #include "ui/base/resource/resource_bundle.h"
29 #include "ui/base/ui_base_paths.h" 29 #include "ui/base/ui_base_paths.h"
30 #include "ui/gfx/compositor/compositor.h" 30 #include "ui/compositor/compositor.h"
31 #include "ui/gfx/compositor/test/compositor_test_support.h" 31 #include "ui/compositor/test/compositor_test_support.h"
32 #include "ui/views/focus/accelerator_handler.h"
32 #include "ui/views/test/test_views_delegate.h" 33 #include "ui/views/test/test_views_delegate.h"
33 #include "ui/views/focus/accelerator_handler.h"
34 34
35 namespace ash { 35 namespace ash {
36 namespace shell { 36 namespace shell {
37 void InitWindowTypeLauncher(); 37 void InitWindowTypeLauncher();
38 38
39 namespace { 39 namespace {
40 class ShellViewsDelegate : public views::TestViewsDelegate { 40 class ShellViewsDelegate : public views::TestViewsDelegate {
41 public: 41 public:
42 ShellViewsDelegate() {} 42 ShellViewsDelegate() {}
43 virtual ~ShellViewsDelegate() {} 43 virtual ~ShellViewsDelegate() {}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 112
113 ui::Clipboard* ShellBrowserMainParts::GetClipboard() { 113 ui::Clipboard* ShellBrowserMainParts::GetClipboard() {
114 if (!clipboard_.get()) 114 if (!clipboard_.get())
115 clipboard_.reset(new ui::Clipboard()); 115 clipboard_.reset(new ui::Clipboard());
116 return clipboard_.get(); 116 return clipboard_.get();
117 } 117 }
118 118
119 } // namespace shell 119 } // namespace shell
120 } // namespace ash 120 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698