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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_
6 #define CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_
8 #include "content/public/common/isolated_world_ids.h"
12 enum ChromeIsolatedWorldIDs
{
13 // Isolated world ID for Chrome Translate.
14 ISOLATED_WORLD_ID_TRANSLATE
= content::ISOLATED_WORLD_ID_CONTENT_END
+ 1,
16 // Isolated world ID for internal Chrome features.
17 ISOLATED_WORLD_ID_CHROME_INTERNAL
,
19 #if defined(OS_MACOSX)
20 // Isolated world ID for AppleScript.
21 ISOLATED_WORLD_ID_APPLESCRIPT
,
22 #endif // defined(OS_MACOSX)
24 // Numbers for isolated worlds for extensions are set in
25 // extensions/renderer/script_injection.cc, and are are greater than or equal
27 ISOLATED_WORLD_ID_EXTENSIONS
32 #endif // CHROME_COMMON_CHROME_ISOLATED_WORLD_IDS_H_