blob: 552ac96f9c248cddfa3b2eacf06c7865028936eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
#define CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
namespace chrome {
enum IsolatedWorldIDs {
// Chrome can not use ID 0 for isolated world.
ISOLATED_WORLD_ID_GLOBAL = 0,
// Isolated world ID for Chrome Translate.
ISOLATED_WORLD_ID_TRANSLATE,
// Numbers for isolated worlds for extensions are set in
// extensions/renderer/script_injection.cc, and are are greater than or equal
// to this number.
ISOLATED_WORLD_ID_EXTENSIONS
};
} // namespace chrome
#endif // CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
|