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

Side by Side Diff: apps/shell_window.cc

Issue 67253003: Reland: Move ExtensionProcessManager to src/extensions, part 4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase process_manager Created 7 years, 1 month 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 | « apps/launcher.cc ('k') | chrome/browser/apps/window_controls_browsertest.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_window.h" 5 #include "apps/shell_window.h"
6 6
7 #include "apps/shell_window_geometry_cache.h" 7 #include "apps/shell_window_geometry_cache.h"
8 #include "apps/shell_window_registry.h" 8 #include "apps/shell_window_registry.h"
9 #include "apps/ui/native_app_window.h" 9 #include "apps/ui/native_app_window.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/chrome_notification_types.h" 14 #include "chrome/browser/chrome_notification_types.h"
15 #include "chrome/browser/extensions/extension_process_manager.h"
16 #include "chrome/browser/extensions/extension_system.h" 15 #include "chrome/browser/extensions/extension_system.h"
17 #include "chrome/browser/extensions/extension_web_contents_observer.h" 16 #include "chrome/browser/extensions/extension_web_contents_observer.h"
18 #include "chrome/browser/extensions/suggest_permission_util.h" 17 #include "chrome/browser/extensions/suggest_permission_util.h"
19 #include "chrome/browser/lifetime/application_lifetime.h" 18 #include "chrome/browser/lifetime/application_lifetime.h"
20 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
22 #include "chrome/common/extensions/extension.h" 21 #include "chrome/common/extensions/extension.h"
23 #include "chrome/common/extensions/extension_messages.h" 22 #include "chrome/common/extensions/extension_messages.h"
24 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" 23 #include "chrome/common/extensions/manifest_handlers/icons_handler.h"
25 #include "components/web_modal/web_contents_modal_dialog_manager.h" 24 #include "components/web_modal/web_contents_modal_dialog_manager.h"
26 #include "content/public/browser/invalidate_type.h" 25 #include "content/public/browser/invalidate_type.h"
27 #include "content/public/browser/navigation_entry.h" 26 #include "content/public/browser/navigation_entry.h"
28 #include "content/public/browser/notification_details.h" 27 #include "content/public/browser/notification_details.h"
29 #include "content/public/browser/notification_service.h" 28 #include "content/public/browser/notification_service.h"
30 #include "content/public/browser/notification_source.h" 29 #include "content/public/browser/notification_source.h"
31 #include "content/public/browser/notification_types.h" 30 #include "content/public/browser/notification_types.h"
32 #include "content/public/browser/render_view_host.h" 31 #include "content/public/browser/render_view_host.h"
33 #include "content/public/browser/resource_dispatcher_host.h" 32 #include "content/public/browser/resource_dispatcher_host.h"
34 #include "content/public/browser/web_contents.h" 33 #include "content/public/browser/web_contents.h"
35 #include "content/public/browser/web_contents_view.h" 34 #include "content/public/browser/web_contents_view.h"
36 #include "content/public/common/media_stream_request.h" 35 #include "content/public/common/media_stream_request.h"
36 #include "extensions/browser/process_manager.h"
37 #include "extensions/browser/view_type_utils.h" 37 #include "extensions/browser/view_type_utils.h"
38 #include "third_party/skia/include/core/SkRegion.h" 38 #include "third_party/skia/include/core/SkRegion.h"
39 #include "ui/gfx/screen.h" 39 #include "ui/gfx/screen.h"
40 40
41 #if !defined(OS_MACOSX) 41 #if !defined(OS_MACOSX)
42 #include "apps/pref_names.h" 42 #include "apps/pref_names.h"
43 #include "base/prefs/pref_service.h" 43 #include "base/prefs/pref_service.h"
44 #endif 44 #endif
45 45
46 using content::ConsoleMessageLevel; 46 using content::ConsoleMessageLevel;
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 region.bounds.x(), 749 region.bounds.x(),
750 region.bounds.y(), 750 region.bounds.y(),
751 region.bounds.right(), 751 region.bounds.right(),
752 region.bounds.bottom(), 752 region.bounds.bottom(),
753 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); 753 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op);
754 } 754 }
755 return sk_region; 755 return sk_region;
756 } 756 }
757 757
758 } // namespace apps 758 } // namespace apps
OLDNEW
« no previous file with comments | « apps/launcher.cc ('k') | chrome/browser/apps/window_controls_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698