| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 static const int kDOMWindowNavigatorIndex = kDefaultWrapperInternalField
Count + 4; | 162 static const int kDOMWindowNavigatorIndex = kDefaultWrapperInternalField
Count + 4; |
| 163 static const int kDOMWindowPersonalbarIndex = kDefaultWrapperInternalFie
ldCount + 5; | 163 static const int kDOMWindowPersonalbarIndex = kDefaultWrapperInternalFie
ldCount + 5; |
| 164 static const int kDOMWindowScreenIndex = kDefaultWrapperInternalFieldCou
nt + 6; | 164 static const int kDOMWindowScreenIndex = kDefaultWrapperInternalFieldCou
nt + 6; |
| 165 static const int kDOMWindowScrollbarsIndex = kDefaultWrapperInternalFiel
dCount + 7; | 165 static const int kDOMWindowScrollbarsIndex = kDefaultWrapperInternalFiel
dCount + 7; |
| 166 static const int kDOMWindowSelectionIndex = kDefaultWrapperInternalField
Count + 8; | 166 static const int kDOMWindowSelectionIndex = kDefaultWrapperInternalField
Count + 8; |
| 167 static const int kDOMWindowStatusbarIndex = kDefaultWrapperInternalField
Count + 9; | 167 static const int kDOMWindowStatusbarIndex = kDefaultWrapperInternalField
Count + 9; |
| 168 static const int kDOMWindowToolbarIndex = kDefaultWrapperInternalFieldCo
unt + 10; | 168 static const int kDOMWindowToolbarIndex = kDefaultWrapperInternalFieldCo
unt + 10; |
| 169 static const int kDOMWindowLocationIndex = kDefaultWrapperInternalFieldC
ount + 11; | 169 static const int kDOMWindowLocationIndex = kDefaultWrapperInternalFieldC
ount + 11; |
| 170 static const int kDOMWindowDOMSelectionIndex = kDefaultWrapperInternalFi
eldCount + 12; | 170 static const int kDOMWindowDOMSelectionIndex = kDefaultWrapperInternalFi
eldCount + 12; |
| 171 static const int kDOMWindowEventListenerCacheIndex = kDefaultWrapperInte
rnalFieldCount + 13; | 171 static const int kDOMWindowEventListenerCacheIndex = kDefaultWrapperInte
rnalFieldCount + 13; |
| 172 static const int kDOMWindowInternalFieldCount = kDefaultWrapperInternalF
ieldCount + 14; | 172 static const int kDOMWindowEnteredIsolatedWorldIndex = kDefaultWrapperIn
ternalFieldCount + 14; |
| 173 static const int kDOMWindowInternalFieldCount = kDefaultWrapperInternalF
ieldCount + 15; |
| 173 | 174 |
| 174 static const int kStyleSheetOwnerNodeIndex = kDefaultWrapperInternalFiel
dCount + 0; | 175 static const int kStyleSheetOwnerNodeIndex = kDefaultWrapperInternalFiel
dCount + 0; |
| 175 static const int kStyleSheetInternalFieldCount = kDefaultWrapperInternal
FieldCount + 1; | 176 static const int kStyleSheetInternalFieldCount = kDefaultWrapperInternal
FieldCount + 1; |
| 176 | 177 |
| 177 #if ENABLE(OFFLINE_WEB_APPLICATIONS) | 178 #if ENABLE(OFFLINE_WEB_APPLICATIONS) |
| 178 static const int kDOMApplicationCacheCacheIndex = kDefaultWrapperInterna
lFieldCount + 0; | 179 static const int kDOMApplicationCacheCacheIndex = kDefaultWrapperInterna
lFieldCount + 0; |
| 179 static const int kDOMApplicationCacheFieldCount = kDefaultWrapperInterna
lFieldCount + 1; | 180 static const int kDOMApplicationCacheFieldCount = kDefaultWrapperInterna
lFieldCount + 1; |
| 180 #endif | 181 #endif |
| 181 | 182 |
| 182 #if ENABLE(WEB_SOCKETS) | 183 #if ENABLE(WEB_SOCKETS) |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 | 716 |
| 716 private: | 717 private: |
| 717 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments&,
bool singleShot); | 718 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments&,
bool singleShot); |
| 718 static void ClearTimeoutImpl(const v8::Arguments&); | 719 static void ClearTimeoutImpl(const v8::Arguments&); |
| 719 static void WindowSetLocation(DOMWindow*, const String&); | 720 static void WindowSetLocation(DOMWindow*, const String&); |
| 720 }; | 721 }; |
| 721 | 722 |
| 722 } // namespace WebCore | 723 } // namespace WebCore |
| 723 | 724 |
| 724 #endif // V8CustomBinding_h | 725 #endif // V8CustomBinding_h |
| OLD | NEW |