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

Side by Side Diff: apps/app_window.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/app_window.h" 5 #include "apps/app_window.h"
6 6
7 #include "apps/app_window_geometry_cache.h" 7 #include "apps/app_window_geometry_cache.h"
8 #include "apps/app_window_registry.h" 8 #include "apps/app_window_registry.h"
9 #include "apps/apps_client.h" 9 #include "apps/apps_client.h"
10 #include "apps/size_constraints.h" 10 #include "apps/size_constraints.h"
11 #include "apps/ui/native_app_window.h" 11 #include "apps/ui/native_app_window.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/chrome_notification_types.h" 16 #include "chrome/browser/chrome_notification_types.h"
17 #include "chrome/browser/extensions/extension_web_contents_observer.h" 17 #include "chrome/browser/extensions/extension_web_contents_observer.h"
18 #include "chrome/browser/extensions/suggest_permission_util.h" 18 #include "chrome/browser/extensions/suggest_permission_util.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/extensions/extension_messages.h"
21 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" 20 #include "chrome/common/extensions/manifest_handlers/icons_handler.h"
22 #include "components/web_modal/web_contents_modal_dialog_manager.h" 21 #include "components/web_modal/web_contents_modal_dialog_manager.h"
23 #include "content/public/browser/browser_context.h" 22 #include "content/public/browser/browser_context.h"
24 #include "content/public/browser/invalidate_type.h" 23 #include "content/public/browser/invalidate_type.h"
25 #include "content/public/browser/navigation_entry.h" 24 #include "content/public/browser/navigation_entry.h"
26 #include "content/public/browser/notification_details.h" 25 #include "content/public/browser/notification_details.h"
27 #include "content/public/browser/notification_service.h" 26 #include "content/public/browser/notification_service.h"
28 #include "content/public/browser/notification_source.h" 27 #include "content/public/browser/notification_source.h"
29 #include "content/public/browser/notification_types.h" 28 #include "content/public/browser/notification_types.h"
30 #include "content/public/browser/render_view_host.h" 29 #include "content/public/browser/render_view_host.h"
31 #include "content/public/browser/resource_dispatcher_host.h" 30 #include "content/public/browser/resource_dispatcher_host.h"
32 #include "content/public/browser/web_contents.h" 31 #include "content/public/browser/web_contents.h"
33 #include "content/public/browser/web_contents_view.h" 32 #include "content/public/browser/web_contents_view.h"
34 #include "content/public/common/media_stream_request.h" 33 #include "content/public/common/media_stream_request.h"
35 #include "extensions/browser/extension_system.h" 34 #include "extensions/browser/extension_system.h"
36 #include "extensions/browser/extensions_browser_client.h" 35 #include "extensions/browser/extensions_browser_client.h"
37 #include "extensions/browser/process_manager.h" 36 #include "extensions/browser/process_manager.h"
38 #include "extensions/browser/view_type_utils.h" 37 #include "extensions/browser/view_type_utils.h"
39 #include "extensions/common/extension.h" 38 #include "extensions/common/extension.h"
39 #include "extensions/common/extension_messages.h"
40 #include "third_party/skia/include/core/SkRegion.h" 40 #include "third_party/skia/include/core/SkRegion.h"
41 #include "ui/gfx/screen.h" 41 #include "ui/gfx/screen.h"
42 42
43 #if !defined(OS_MACOSX) 43 #if !defined(OS_MACOSX)
44 #include "apps/pref_names.h" 44 #include "apps/pref_names.h"
45 #include "base/prefs/pref_service.h" 45 #include "base/prefs/pref_service.h"
46 #endif 46 #endif
47 47
48 using content::BrowserContext; 48 using content::BrowserContext;
49 using content::ConsoleMessageLevel; 49 using content::ConsoleMessageLevel;
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 region.bounds.x(), 948 region.bounds.x(),
949 region.bounds.y(), 949 region.bounds.y(),
950 region.bounds.right(), 950 region.bounds.right(),
951 region.bounds.bottom(), 951 region.bounds.bottom(),
952 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op); 952 region.draggable ? SkRegion::kUnion_Op : SkRegion::kDifference_Op);
953 } 953 }
954 return sk_region; 954 return sk_region;
955 } 955 }
956 956
957 } // namespace apps 957 } // namespace apps
OLDNEW
« no previous file with comments | « no previous file | apps/app_window_contents.cc » ('j') | chrome/renderer/extensions/extension_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698