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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h

Issue 2562093002: Move DocumentXMLTreeViewer off of private script (Closed)
Patch Set: Use V8PerIsolateData::mainThreadIsolate() Created 4 years 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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class DOMDataStore; 45 class DOMDataStore;
46 46
47 enum WorldIdConstants { 47 enum WorldIdConstants {
48 MainWorldId = 0, 48 MainWorldId = 0,
49 // Embedder isolated worlds can use IDs in [1, 1<<29). 49 // Embedder isolated worlds can use IDs in [1, 1<<29).
50 EmbedderWorldIdLimit = (1 << 29), 50 EmbedderWorldIdLimit = (1 << 29),
51 PrivateScriptIsolatedWorldId, 51 PrivateScriptIsolatedWorldId,
52 DocumentXMLTreeViewerWorldId,
52 IsolatedWorldIdLimit, 53 IsolatedWorldIdLimit,
53 WorkerWorldId, 54 WorkerWorldId,
54 TestingWorldId, 55 TestingWorldId,
55 }; 56 };
56 57
57 class DOMObjectHolderBase; 58 class DOMObjectHolderBase;
58 59
59 // This class represent a collection of DOM wrappers for a specific world. 60 // This class represent a collection of DOM wrappers for a specific world.
60 class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> { 61 class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
61 public: 62 public:
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 146
146 const int m_worldId; 147 const int m_worldId;
147 const int m_extensionGroup; 148 const int m_extensionGroup;
148 std::unique_ptr<DOMDataStore> m_domDataStore; 149 std::unique_ptr<DOMDataStore> m_domDataStore;
149 HashSet<std::unique_ptr<DOMObjectHolderBase>> m_domObjectHolders; 150 HashSet<std::unique_ptr<DOMObjectHolderBase>> m_domObjectHolders;
150 }; 151 };
151 152
152 } // namespace blink 153 } // namespace blink
153 154
154 #endif // DOMWrapperWorld_h 155 #endif // DOMWrapperWorld_h
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698