[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / content / public / common / isolated_world_ids.h
blob271637e1c2af09b6441f3ce030077b48d8a3398d
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 CONTENT_PUBLIC_COMMON_ISOLATED_WORLD_IDS_H_
6 #define CONTENT_PUBLIC_COMMON_ISOLATED_WORLD_IDS_H_
8 namespace content {
10 enum IsolatedWorldIDs {
11 // Chrome cannot use ID 0 for an isolated world because 0 represents the main
12 // world.
13 ISOLATED_WORLD_ID_GLOBAL = 0,
14 // Custom isolated world ids used by other embedders should start from here.
15 ISOLATED_WORLD_ID_CONTENT_END,
16 // If any embedder has more than 10 custom isolated worlds that will be run
17 // via RenderFrameImpl::OnJavaScriptExecuteRequestInIsolatedWorld update this.
18 ISOLATED_WORLD_ID_MAX = ISOLATED_WORLD_ID_CONTENT_END + 10,
21 } // namespace content
23 #endif // COTENT_PUBLIC_COMMON_ISOLATED_WORLD_IDS_H_