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

Side by Side Diff: chrome/common/chrome_isolated_world_ids.h

Issue 1412243003: Mark RFH::AllowInjectingJavaScriptForAndroidWebView as Android only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_ 5 #ifndef CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_
6 #define CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_ 6 #define CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_
7 7
8 #include "build/build_config.h"
8 #include "content/public/common/isolated_world_ids.h" 9 #include "content/public/common/isolated_world_ids.h"
9 10
10 namespace chrome { 11 namespace chrome {
11 12
12 enum ChromeIsolatedWorldIDs { 13 enum ChromeIsolatedWorldIDs {
13 // Isolated world ID for Chrome Translate. 14 // Isolated world ID for Chrome Translate.
14 ISOLATED_WORLD_ID_TRANSLATE = content::ISOLATED_WORLD_ID_CONTENT_END + 1, 15 ISOLATED_WORLD_ID_TRANSLATE = content::ISOLATED_WORLD_ID_CONTENT_END + 1,
15 16
16 // Isolated world ID for internal Chrome features. 17 // Isolated world ID for internal Chrome features.
17 ISOLATED_WORLD_ID_CHROME_INTERNAL, 18 ISOLATED_WORLD_ID_CHROME_INTERNAL,
18 19
19 #if defined(OS_MACOSX) 20 #if defined(OS_MACOSX)
20 // Isolated world ID for AppleScript. 21 // Isolated world ID for AppleScript.
21 ISOLATED_WORLD_ID_APPLESCRIPT, 22 ISOLATED_WORLD_ID_APPLESCRIPT,
22 #endif // defined(OS_MACOSX) 23 #endif // defined(OS_MACOSX)
23 24
24 // Numbers for isolated worlds for extensions are set in 25 // Numbers for isolated worlds for extensions are set in
25 // extensions/renderer/script_injection.cc, and are are greater than or equal 26 // extensions/renderer/script_injection.cc, and are are greater than or equal
26 // to this number. 27 // to this number.
27 ISOLATED_WORLD_ID_EXTENSIONS 28 ISOLATED_WORLD_ID_EXTENSIONS
28 }; 29 };
29 30
30 } // namespace chrome 31 } // namespace chrome
31 32
32 #endif // CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_ 33 #endif // CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698