| OLD | NEW |
| 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 "chrome/browser/guest_view/web_view/context_menu_content_type_web_view.
h" | 5 #include "chrome/browser/guest_view/web_view/context_menu_content_type_web_view.
h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "build/build_config.h" |
| 8 #include "chrome/common/channel_info.h" | 9 #include "chrome/common/channel_info.h" |
| 9 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
| 10 #include "components/version_info/version_info.h" | 11 #include "components/version_info/version_info.h" |
| 11 #include "extensions/browser/guest_view/web_view/web_view_guest.h" | 12 #include "extensions/browser/guest_view/web_view/web_view_guest.h" |
| 12 #include "extensions/browser/process_manager.h" | 13 #include "extensions/browser/process_manager.h" |
| 13 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
| 14 #include "extensions/common/manifest.h" | 15 #include "extensions/common/manifest.h" |
| 15 | 16 |
| 16 using extensions::Extension; | 17 using extensions::Extension; |
| 17 using extensions::ProcessManager; | 18 using extensions::ProcessManager; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 base::CommandLine::ForCurrentProcess()->HasSwitch( | 76 base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 76 switches::kDebugPackedApps); | 77 switches::kDebugPackedApps); |
| 77 #else | 78 #else |
| 78 return ContextMenuContentType::SupportsGroup(group); | 79 return ContextMenuContentType::SupportsGroup(group); |
| 79 #endif | 80 #endif |
| 80 } | 81 } |
| 81 default: | 82 default: |
| 82 return ContextMenuContentType::SupportsGroup(group); | 83 return ContextMenuContentType::SupportsGroup(group); |
| 83 } | 84 } |
| 84 } | 85 } |
| OLD | NEW |