| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 struct SymbolKeyedMethodConfiguration { | 259 struct SymbolKeyedMethodConfiguration { |
| 260 SymbolKeyedMethodConfiguration& operator=( | 260 SymbolKeyedMethodConfiguration& operator=( |
| 261 const SymbolKeyedMethodConfiguration&) = delete; | 261 const SymbolKeyedMethodConfiguration&) = delete; |
| 262 DISALLOW_NEW(); | 262 DISALLOW_NEW(); |
| 263 v8::Local<v8::Name> MethodName(v8::Isolate* isolate) const { | 263 v8::Local<v8::Name> MethodName(v8::Isolate* isolate) const { |
| 264 return get_symbol(isolate); | 264 return get_symbol(isolate); |
| 265 } | 265 } |
| 266 | 266 |
| 267 v8::Local<v8::Symbol> (*get_symbol)(v8::Isolate*); | 267 v8::Local<v8::Symbol> (*get_symbol)(v8::Isolate*); |
| 268 const char* const symbol_alias; |
| 268 v8::FunctionCallback callback; | 269 v8::FunctionCallback callback; |
| 269 // SymbolKeyedMethodConfiguration doesn't support per-world bindings. | 270 // SymbolKeyedMethodConfiguration doesn't support per-world bindings. |
| 270 int length; | 271 int length; |
| 271 // v8::PropertyAttribute | 272 // v8::PropertyAttribute |
| 272 unsigned attribute : 8; | 273 unsigned attribute : 8; |
| 273 // PropertyLocationConfiguration | 274 // PropertyLocationConfiguration |
| 274 unsigned property_location_configuration : 3; | 275 unsigned property_location_configuration : 3; |
| 275 // HolderCheckConfiguration | 276 // HolderCheckConfiguration |
| 276 unsigned holder_check_configuration : 1; | 277 unsigned holder_check_configuration : 1; |
| 277 // AccessCheckConfiguration | 278 // AccessCheckConfiguration |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 // Sets the class string of platform objects, interface prototype objects, | 326 // Sets the class string of platform objects, interface prototype objects, |
| 326 // etc. See also http://heycam.github.io/webidl/#dfn-class-string | 327 // etc. See also http://heycam.github.io/webidl/#dfn-class-string |
| 327 static void SetClassString(v8::Isolate*, | 328 static void SetClassString(v8::Isolate*, |
| 328 v8::Local<v8::ObjectTemplate>, | 329 v8::Local<v8::ObjectTemplate>, |
| 329 const char* class_string); | 330 const char* class_string); |
| 330 }; | 331 }; |
| 331 | 332 |
| 332 } // namespace blink | 333 } // namespace blink |
| 333 | 334 |
| 334 #endif // V8DOMConfiguration_h | 335 #endif // V8DOMConfiguration_h |
| OLD | NEW |