OLD | NEW |
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 | 331 |
332 // Implementation of Element methods. | 332 // Implementation of Element methods. |
333 DECLARE_CALLBACK(ElementQuerySelector) | 333 DECLARE_CALLBACK(ElementQuerySelector) |
334 DECLARE_CALLBACK(ElementQuerySelectorAll) | 334 DECLARE_CALLBACK(ElementQuerySelectorAll) |
335 DECLARE_CALLBACK(ElementSetAttribute) | 335 DECLARE_CALLBACK(ElementSetAttribute) |
336 DECLARE_CALLBACK(ElementSetAttributeNode) | 336 DECLARE_CALLBACK(ElementSetAttributeNode) |
337 DECLARE_CALLBACK(ElementSetAttributeNS) | 337 DECLARE_CALLBACK(ElementSetAttributeNS) |
338 DECLARE_CALLBACK(ElementSetAttributeNodeNS) | 338 DECLARE_CALLBACK(ElementSetAttributeNodeNS) |
339 | 339 |
340 // Implementation of custom Location methods. | 340 // Implementation of custom Location methods. |
| 341 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationProtocol) |
| 342 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationHost) |
| 343 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationHostname) |
| 344 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationPort) |
| 345 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationPathname) |
| 346 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationSearch) |
| 347 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationHash) |
| 348 DECLARE_PROPERTY_ACCESSOR_SETTER(LocationHref) |
| 349 DECLARE_PROPERTY_ACCESSOR_GETTER(LocationAssign) |
| 350 DECLARE_PROPERTY_ACCESSOR_GETTER(LocationReplace) |
| 351 DECLARE_PROPERTY_ACCESSOR_GETTER(LocationReload) |
| 352 DECLARE_CALLBACK(LocationAssign) |
| 353 DECLARE_CALLBACK(LocationReplace) |
| 354 DECLARE_CALLBACK(LocationReload) |
| 355 DECLARE_CALLBACK(LocationToString) |
341 DECLARE_CALLBACK(LocationValueOf) | 356 DECLARE_CALLBACK(LocationValueOf) |
342 | 357 |
343 // Implementation of EventTarget::addEventListener | 358 // Implementation of EventTarget::addEventListener |
344 // and EventTarget::removeEventListener | 359 // and EventTarget::removeEventListener |
345 DECLARE_CALLBACK(NodeAddEventListener) | 360 DECLARE_CALLBACK(NodeAddEventListener) |
346 DECLARE_CALLBACK(NodeRemoveEventListener) | 361 DECLARE_CALLBACK(NodeRemoveEventListener) |
347 | 362 |
348 // Custom implementation is Navigator properties. | 363 // Custom implementation is Navigator properties. |
349 // We actually only need this because WebKit has | 364 // We actually only need this because WebKit has |
350 // navigator.appVersion as custom. Our version just | 365 // navigator.appVersion as custom. Our version just |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, | 518 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, |
504 bool single_shot); | 519 bool single_shot); |
505 static void ClearTimeoutImpl(const v8::Arguments& args); | 520 static void ClearTimeoutImpl(const v8::Arguments& args); |
506 static void WindowSetLocation(DOMWindow*, const String&); | 521 static void WindowSetLocation(DOMWindow*, const String&); |
507 }; | 522 }; |
508 | 523 |
509 } // namespace WebCore | 524 } // namespace WebCore |
510 | 525 |
511 #endif // V8_CUSTOM_H__ | 526 #endif // V8_CUSTOM_H__ |
512 | 527 |
OLD | NEW |