blob: 73f0edb441b5887027f0591d8016aa6b3dc8a372 [file] [log] [blame]
// Copyright 2017 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 WebIsolatedWorldIds_h
#define WebIsolatedWorldIds_h
namespace blink {
enum IsolatedWorldId {
// Embedder isolated worlds can use IDs in [1, 1<<29).
kEmbedderWorldIdLimit = (1 << 29),
kDocumentXMLTreeViewerWorldId,
kDevToolsFirstIsolatedWorldId,
kDevToolsLastIsolatedWorldId = kDevToolsFirstIsolatedWorldId + 100,
kIsolatedWorldIdLimit,
};
} // namespace blink
#endif // WebIsolatedWorldIds_h