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 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "WebSpeechSynthesizer.h" | 50 #include "WebSpeechSynthesizer.h" |
51 #include "WebStorageQuotaCallbacks.h" | 51 #include "WebStorageQuotaCallbacks.h" |
52 #include "WebStorageQuotaType.h" | 52 #include "WebStorageQuotaType.h" |
53 #include "WebString.h" | 53 #include "WebString.h" |
54 #include "WebURLError.h" | 54 #include "WebURLError.h" |
55 #include "WebVector.h" | 55 #include "WebVector.h" |
56 #include "base/metrics/user_metrics_action.h" | 56 #include "base/metrics/user_metrics_action.h" |
57 | 57 |
58 class GrContext; | 58 class GrContext; |
59 | 59 |
| 60 namespace v8 { |
| 61 class Context; |
| 62 template<class T> class Local; |
| 63 } |
| 64 |
60 namespace blink { | 65 namespace blink { |
61 | 66 |
62 class ServiceRegistry; | 67 class ServiceRegistry; |
63 class WebAudioBus; | 68 class WebAudioBus; |
64 class WebBlobRegistry; | 69 class WebBlobRegistry; |
65 class WebCanvasCaptureHandler; | 70 class WebCanvasCaptureHandler; |
66 class WebClipboard; | 71 class WebClipboard; |
67 class WebCompositorSupport; | 72 class WebCompositorSupport; |
68 class WebCookieJar; | 73 class WebCookieJar; |
69 class WebCrypto; | 74 class WebCrypto; |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*
) {} | 531 virtual void createHTMLVideoElementCapturer(WebMediaStream*, WebMediaPlayer*
) {} |
527 | 532 |
528 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. | 533 // Creates a WebImageCaptureFrameGrabber to take a snapshot of a Video Track
s. |
529 // May return null if the functionality is not available. | 534 // May return null if the functionality is not available. |
530 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } | 535 virtual WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() { retu
rn nullptr; } |
531 | 536 |
532 // WebWorker ---------------------------------------------------------- | 537 // WebWorker ---------------------------------------------------------- |
533 | 538 |
534 virtual void didStartWorkerThread() { } | 539 virtual void didStartWorkerThread() { } |
535 virtual void willStopWorkerThread() { } | 540 virtual void willStopWorkerThread() { } |
| 541 virtual void workerContextCreated(const v8::Local<v8::Context>& worker) { } |
536 | 542 |
537 // WebCrypto ---------------------------------------------------------- | 543 // WebCrypto ---------------------------------------------------------- |
538 | 544 |
539 virtual WebCrypto* crypto() { return nullptr; } | 545 virtual WebCrypto* crypto() { return nullptr; } |
540 | 546 |
541 // Mojo --------------------------------------------------------------- | 547 // Mojo --------------------------------------------------------------- |
542 | 548 |
543 virtual ServiceRegistry* serviceRegistry(); | 549 virtual ServiceRegistry* serviceRegistry(); |
544 | 550 |
545 // Platform events ----------------------------------------------------- | 551 // Platform events ----------------------------------------------------- |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 protected: | 632 protected: |
627 Platform(); | 633 Platform(); |
628 virtual ~Platform() { } | 634 virtual ~Platform() { } |
629 | 635 |
630 WebThread* m_mainThread; | 636 WebThread* m_mainThread; |
631 }; | 637 }; |
632 | 638 |
633 } // namespace blink | 639 } // namespace blink |
634 | 640 |
635 #endif | 641 #endif |
OLD | NEW |