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

Side by Side Diff: sky/engine/bindings/core/v8/DOMWrapperWorld.h

Issue 754463004: Remove ScriptPreprocessor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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 | « no previous file | sky/engine/bindings/core/v8/V8ScriptRunner.h » ('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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 namespace blink { 43 namespace blink {
44 44
45 class DOMDataStore; 45 class DOMDataStore;
46 class ExecutionContext; 46 class ExecutionContext;
47 class ScriptController; 47 class ScriptController;
48 48
49 enum WorldIdConstants { 49 enum WorldIdConstants {
50 MainWorldId = 0, 50 MainWorldId = 0,
51 // Embedder isolated worlds can use IDs in [1, 1<<29). 51 // Embedder isolated worlds can use IDs in [1, 1<<29).
52 EmbedderWorldIdLimit = (1 << 29), 52 EmbedderWorldIdLimit = (1 << 29),
53 ScriptPreprocessorIsolatedWorldId,
54 IsolatedWorldIdLimit, 53 IsolatedWorldIdLimit,
55 TestingWorldId, 54 TestingWorldId,
56 }; 55 };
57 56
58 // This class represent a collection of DOM wrappers for a specific world. 57 // This class represent a collection of DOM wrappers for a specific world.
59 class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> { 58 class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
60 public: 59 public:
61 static PassRefPtr<DOMWrapperWorld> create(int worldId = -1, int extensionGro up = -1); 60 static PassRefPtr<DOMWrapperWorld> create(int worldId = -1, int extensionGro up = -1);
62 61
63 static const int mainWorldExtensionGroup = 0; 62 static const int mainWorldExtensionGroup = 0;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 163
165 const int m_worldId; 164 const int m_worldId;
166 const int m_extensionGroup; 165 const int m_extensionGroup;
167 OwnPtr<DOMDataStore> m_domDataStore; 166 OwnPtr<DOMDataStore> m_domDataStore;
168 HashSet<OwnPtr<DOMObjectHolderBase> > m_domObjectHolders; 167 HashSet<OwnPtr<DOMObjectHolderBase> > m_domObjectHolders;
169 }; 168 };
170 169
171 } // namespace blink 170 } // namespace blink
172 171
173 #endif // SKY_ENGINE_BINDINGS_CORE_V8_DOMWRAPPERWORLD_H_ 172 #endif // SKY_ENGINE_BINDINGS_CORE_V8_DOMWRAPPERWORLD_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/V8ScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698