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

Side by Side Diff: webkit/port/bindings/v8/v8_custom.h

Issue 53092: Fix window.history GC issue. Since the history object is not part of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | webkit/port/bindings/v8/v8_proxy.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 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CUSTOM_H__ 5 #ifndef V8_CUSTOM_H__
6 #define V8_CUSTOM_H__ 6 #define V8_CUSTOM_H__
7 7
8 #include <v8.h> 8 #include <v8.h>
9 #include "v8_index.h" 9 #include "v8_index.h"
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 kDefaultWrapperInternalFieldCount + 0; 114 kDefaultWrapperInternalFieldCount + 0;
115 static const int kWorkerInternalFieldCount = 115 static const int kWorkerInternalFieldCount =
116 kDefaultWrapperInternalFieldCount + 1; 116 kDefaultWrapperInternalFieldCount + 1;
117 117
118 static const int kWorkerContextRequestCacheIndex = 118 static const int kWorkerContextRequestCacheIndex =
119 kDefaultWrapperInternalFieldCount + 0; 119 kDefaultWrapperInternalFieldCount + 0;
120 static const int kWorkerContextInternalFieldCount = 120 static const int kWorkerContextInternalFieldCount =
121 kDefaultWrapperInternalFieldCount + 1; 121 kDefaultWrapperInternalFieldCount + 1;
122 #endif 122 #endif
123 123
124 static const int kDOMWindowLocationIndex = 124 static const int kDOMWindowHistoryIndex =
125 kDefaultWrapperInternalFieldCount + 0; 125 kDefaultWrapperInternalFieldCount + 0;
126 static const int kDOMWindowNavigatorIndex = 126 static const int kDOMWindowNavigatorIndex =
127 kDefaultWrapperInternalFieldCount + 1; 127 kDefaultWrapperInternalFieldCount + 1;
128 static const int kDOMWindowLocationIndex =
129 kDefaultWrapperInternalFieldCount + 2;
128 static const int kDOMWindowInternalFieldCount = 130 static const int kDOMWindowInternalFieldCount =
129 kDefaultWrapperInternalFieldCount + 2; 131 kDefaultWrapperInternalFieldCount + 3;
130 132
131 static const int kStyleSheetOwnerNodeIndex = 133 static const int kStyleSheetOwnerNodeIndex =
132 kDefaultWrapperInternalFieldCount + 0; 134 kDefaultWrapperInternalFieldCount + 0;
133 static const int kStyleSheetInternalFieldCount = 135 static const int kStyleSheetInternalFieldCount =
134 kDefaultWrapperInternalFieldCount + 1; 136 kDefaultWrapperInternalFieldCount + 1;
135 137
136 #define DECLARE_PROPERTY_ACCESSOR_GETTER(NAME) \ 138 #define DECLARE_PROPERTY_ACCESSOR_GETTER(NAME) \
137 static v8::Handle<v8::Value> v8##NAME##AccessorGetter(\ 139 static v8::Handle<v8::Value> v8##NAME##AccessorGetter(\
138 v8::Local<v8::String> name, const v8::AccessorInfo& info); 140 v8::Local<v8::String> name, const v8::AccessorInfo& info);
139 141
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 private: 536 private:
535 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, 537 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args,
536 bool single_shot); 538 bool single_shot);
537 static void ClearTimeoutImpl(const v8::Arguments& args); 539 static void ClearTimeoutImpl(const v8::Arguments& args);
538 static void WindowSetLocation(DOMWindow*, const String&); 540 static void WindowSetLocation(DOMWindow*, const String&);
539 }; 541 };
540 542
541 } // namespace WebCore 543 } // namespace WebCore
542 544
543 #endif // V8_CUSTOM_H__ 545 #endif // V8_CUSTOM_H__
OLDNEW
« no previous file with comments | « no previous file | webkit/port/bindings/v8/v8_proxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698