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

Side by Side Diff: third_party/WebKit/WebCore/bindings/v8/custom/V8CustomBinding.h

Issue 276011: [v8] Check for availablity of the media engine (Closed)
Patch Set: only diffs Created 11 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.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 /* 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 DECLARE_PROPERTY_ACCESSOR(CanvasRenderingContext2DStrokeStyle); 247 DECLARE_PROPERTY_ACCESSOR(CanvasRenderingContext2DStrokeStyle);
248 DECLARE_PROPERTY_ACCESSOR(CanvasRenderingContext2DFillStyle); 248 DECLARE_PROPERTY_ACCESSOR(CanvasRenderingContext2DFillStyle);
249 DECLARE_PROPERTY_ACCESSOR(DOMWindowEvent); 249 DECLARE_PROPERTY_ACCESSOR(DOMWindowEvent);
250 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowCrypto); 250 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowCrypto);
251 DECLARE_PROPERTY_ACCESSOR_SETTER(DOMWindowLocation); 251 DECLARE_PROPERTY_ACCESSOR_SETTER(DOMWindowLocation);
252 DECLARE_PROPERTY_ACCESSOR_SETTER(DOMWindowOpener); 252 DECLARE_PROPERTY_ACCESSOR_SETTER(DOMWindowOpener);
253 253
254 #if ENABLE(VIDEO) 254 #if ENABLE(VIDEO)
255 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowAudio); 255 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowAudio);
256 DECLARE_ACCESSOR_RUNTIME_ENABLER(DOMWindowAudio); 256 DECLARE_ACCESSOR_RUNTIME_ENABLER(DOMWindowAudio);
257 DECLARE_ACCESSOR_RUNTIME_ENABLER(DOMWindowHTMLMediaElement);
258 DECLARE_ACCESSOR_RUNTIME_ENABLER(DOMWindowHTMLAudioElement);
259 DECLARE_ACCESSOR_RUNTIME_ENABLER(DOMWindowHTMLVideoElement);
260 DECLARE_ACCESSOR_RUNTIME_ENABLER(DOMWindowMediaError);
scherkus (not reviewing) 2009/10/15 23:54:52 might also have to do runtime enabling of TimeRang
257 #endif 261 #endif
258 262
259 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowImage); 263 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowImage);
260 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowOption); 264 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowOption);
261 265
262 DECLARE_PROPERTY_ACCESSOR(DocumentLocation); 266 DECLARE_PROPERTY_ACCESSOR(DocumentLocation);
263 DECLARE_PROPERTY_ACCESSOR(DocumentImplementation); 267 DECLARE_PROPERTY_ACCESSOR(DocumentImplementation);
264 DECLARE_PROPERTY_ACCESSOR_GETTER(EventSrcElement); 268 DECLARE_PROPERTY_ACCESSOR_GETTER(EventSrcElement);
265 DECLARE_PROPERTY_ACCESSOR(EventReturnValue); 269 DECLARE_PROPERTY_ACCESSOR(EventReturnValue);
266 DECLARE_PROPERTY_ACCESSOR_GETTER(EventDataTransfer); 270 DECLARE_PROPERTY_ACCESSOR_GETTER(EventDataTransfer);
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 681
678 private: 682 private:
679 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments&, bool singleShot); 683 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments&, bool singleShot);
680 static void ClearTimeoutImpl(const v8::Arguments&); 684 static void ClearTimeoutImpl(const v8::Arguments&);
681 static void WindowSetLocation(DOMWindow*, const String&); 685 static void WindowSetLocation(DOMWindow*, const String&);
682 }; 686 };
683 687
684 } // namespace WebCore 688 } // namespace WebCore
685 689
686 #endif // V8CustomBinding_h 690 #endif // V8CustomBinding_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698