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

Side by Side Diff: chrome/renderer/isolated_world_ids.h

Issue 12583016: Reserve an isolated world ID for Chrome Translate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 7 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
« no previous file with comments | « chrome/renderer/extensions/user_script_slave.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
6 #define CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
7
8 namespace chrome {
9
10 enum IsolatedWorldIDs {
11 // Chrome can not use ID 0 for isolated world.
12 ISOLATED_WORLD_ID_GLOBAL = 0,
13 // Isolated world ID for Chrome Translate.
14 ISOLATED_WORLD_ID_TRANSLATE,
15
16 // UserScriptSlave::GetIsolatedWorldIdForExtension assigns numbers which are
17 // equal to, or larger than this number.
18 ISOLATED_WORLD_ID_EXTENSIONS
19 };
20
21 } // namespace chrome
22
23 #endif // CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/user_script_slave.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698