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

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

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 IsolatedWorldIdLimit, 52 IsolatedWorldIdLimit,
53 WorkerWorldId, 53 WorkerWorldId,
54 TestingWorldId, 54 TestingWorldId,
55 }; 55 };
56 56
57 class DOMObjectHolderBase; 57 class DOMObjectHolderBase;
58 class DOMWrapperWorldVisitor;
59 template <typename T> 58 template <typename T>
60 class DOMObjectHolder; 59 class DOMObjectHolder;
61 60
62 // This class represent a collection of DOM wrappers for a specific world. 61 // This class represent a collection of DOM wrappers for a specific world.
63 class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> { 62 class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
64 public: 63 public:
65 static PassRefPtr<DOMWrapperWorld> create(v8::Isolate*, 64 static PassRefPtr<DOMWrapperWorld> create(v8::Isolate*,
66 int worldId = -1, 65 int worldId = -1,
67 int extensionGroup = -1); 66 int extensionGroup = -1);
68 67
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 145
147 const int m_worldId; 146 const int m_worldId;
148 const int m_extensionGroup; 147 const int m_extensionGroup;
149 std::unique_ptr<DOMDataStore> m_domDataStore; 148 std::unique_ptr<DOMDataStore> m_domDataStore;
150 HashSet<std::unique_ptr<DOMObjectHolderBase>> m_domObjectHolders; 149 HashSet<std::unique_ptr<DOMObjectHolderBase>> m_domObjectHolders;
151 }; 150 };
152 151
153 } // namespace blink 152 } // namespace blink
154 153
155 #endif // DOMWrapperWorld_h 154 #endif // DOMWrapperWorld_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698