OLD | NEW |
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 Loading... |
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 |
OLD | NEW |