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

Side by Side Diff: apps/shell/browser/shell_browser_main_parts.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | « no previous file | ash/accelerators/accelerator_controller.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 2013 The Chromium Authors. All rights reserved. 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 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 "apps/shell/browser/shell_browser_main_parts.h" 5 #include "apps/shell/browser/shell_browser_main_parts.h"
6 6
7 #include "apps/shell/browser/shell_browser_context.h" 7 #include "apps/shell/browser/shell_browser_context.h"
8 #include "apps/shell/browser/shell_extension_system.h" 8 #include "apps/shell/browser/shell_extension_system.h"
9 #include "apps/shell/browser/shell_extension_system_factory.h" 9 #include "apps/shell/browser/shell_extension_system_factory.h"
10 #include "apps/shell/browser/shell_extensions_browser_client.h" 10 #include "apps/shell/browser/shell_extensions_browser_client.h"
11 #include "apps/shell/browser/web_view_window.h" 11 #include "apps/shell/browser/web_view_window.h"
12 #include "apps/shell/common/shell_extensions_client.h" 12 #include "apps/shell/common/shell_extensions_client.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h" 17 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h"
18 #include "content/public/common/result_codes.h" 18 #include "content/public/common/result_codes.h"
19 #include "content/shell/browser/shell_devtools_delegate.h" 19 #include "content/shell/browser/shell_devtools_delegate.h"
20 #include "content/shell/browser/shell_net_log.h" 20 #include "content/shell/browser/shell_net_log.h"
21 #include "extensions/browser/extension_system.h" 21 #include "extensions/browser/extension_system.h"
22 #include "extensions/browser/renderer_startup_helper.h" 22 #include "extensions/browser/renderer_startup_helper.h"
23 #include "ui/aura/env.h" 23 #include "ui/aura/env.h"
24 #include "ui/aura/root_window.h"
25 #include "ui/aura/test/test_screen.h" 24 #include "ui/aura/test/test_screen.h"
25 #include "ui/aura/window_event_dispatcher.h"
26 #include "ui/base/ime/input_method_initializer.h" 26 #include "ui/base/ime/input_method_initializer.h"
27 #include "ui/base/resource/resource_bundle.h" 27 #include "ui/base/resource/resource_bundle.h"
28 #include "ui/gfx/screen.h" 28 #include "ui/gfx/screen.h"
29 #include "ui/views/test/test_views_delegate.h" 29 #include "ui/views/test/test_views_delegate.h"
30 #include "ui/views/views_delegate.h" 30 #include "ui/views/views_delegate.h"
31 #include "ui/views/widget/widget.h" 31 #include "ui/views/widget/widget.h"
32 #include "ui/wm/test/wm_test_helper.h" 32 #include "ui/wm/test/wm_test_helper.h"
33 33
34 using content::BrowserContext; 34 using content::BrowserContext;
35 using extensions::Extension; 35 using extensions::Extension;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } 202 }
203 203
204 void ShellBrowserMainParts::CreateExtensionSystem() { 204 void ShellBrowserMainParts::CreateExtensionSystem() {
205 DCHECK(browser_context_); 205 DCHECK(browser_context_);
206 extension_system_ = static_cast<ShellExtensionSystem*>( 206 extension_system_ = static_cast<ShellExtensionSystem*>(
207 ExtensionSystem::Get(browser_context_.get())); 207 ExtensionSystem::Get(browser_context_.get()));
208 extension_system_->InitForRegularProfile(true); 208 extension_system_->InitForRegularProfile(true);
209 } 209 }
210 210
211 } // namespace apps 211 } // namespace apps
OLDNEW
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698