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

Side by Side Diff: Source/bindings/v8/DOMWrapperWorld.h

Issue 137983002: Remove existingWindowShellWorkaroundWorld (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/v8/DOMWrapperWorld.cpp » ('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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 static PassRefPtr<DOMWrapperWorld> createMainWorld(); 117 static PassRefPtr<DOMWrapperWorld> createMainWorld();
118 static bool contextHasCorrectPrototype(v8::Handle<v8::Context>); 118 static bool contextHasCorrectPrototype(v8::Handle<v8::Context>);
119 119
120 DOMWrapperWorld(int worldId, int extensionGroup); 120 DOMWrapperWorld(int worldId, int extensionGroup);
121 121
122 const int m_worldId; 122 const int m_worldId;
123 const int m_extensionGroup; 123 const int m_extensionGroup;
124 OwnPtr<DOMDataStore> m_domDataStore; 124 OwnPtr<DOMDataStore> m_domDataStore;
125 125
126 friend DOMWrapperWorld* mainThreadNormalWorld(); 126 friend DOMWrapperWorld* mainThreadNormalWorld();
127 friend DOMWrapperWorld* existingWindowShellWorkaroundWorld();
128 }; 127 };
129 128
130 DOMWrapperWorld* mainThreadNormalWorld(); 129 DOMWrapperWorld* mainThreadNormalWorld();
131 130
132 // FIXME: this is a workaround for a problem in ScriptController
133 // Do not use this anywhere else!!
134 DOMWrapperWorld* existingWindowShellWorkaroundWorld();
135
136 } // namespace WebCore 131 } // namespace WebCore
137 132
138 #endif // DOMWrapperWorld_h 133 #endif // DOMWrapperWorld_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698