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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 class GrContext; | 48 class GrContext; |
49 | 49 |
50 namespace WebKit { | 50 namespace WebKit { |
51 | 51 |
52 class WebAudioBus; | 52 class WebAudioBus; |
53 class WebBlobRegistry; | 53 class WebBlobRegistry; |
54 class WebClipboard; | 54 class WebClipboard; |
55 class WebCompositorSupport; | 55 class WebCompositorSupport; |
56 class WebCookieJar; | 56 class WebCookieJar; |
| 57 class WebDeviceMotionHandler; |
57 class WebDiscardableMemory; | 58 class WebDiscardableMemory; |
58 class WebFileSystem; | 59 class WebFileSystem; |
59 class WebFileUtilities; | 60 class WebFileUtilities; |
60 class WebFlingAnimator; | 61 class WebFlingAnimator; |
61 class WebGestureCurveTarget; | 62 class WebGestureCurveTarget; |
62 class WebGestureCurve; | 63 class WebGestureCurve; |
63 class WebGraphicsContext3DProvider; | 64 class WebGraphicsContext3DProvider; |
64 class WebHyphenator; | 65 class WebHyphenator; |
65 class WebMediaStreamCenter; | 66 class WebMediaStreamCenter; |
66 class WebMediaStreamCenterClient; | 67 class WebMediaStreamCenterClient; |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 | 497 |
497 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 498 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
498 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } | 499 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } |
499 | 500 |
500 | 501 |
501 // WebWorker ---------------------------------------------------------- | 502 // WebWorker ---------------------------------------------------------- |
502 | 503 |
503 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 504 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
504 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 505 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
505 | 506 |
| 507 // Device Motion / Orientation ---------------------------------------- |
| 508 |
| 509 virtual WebDeviceMotionHandler* deviceMotionHandler() { return 0; } |
| 510 |
506 protected: | 511 protected: |
507 virtual ~Platform() { } | 512 virtual ~Platform() { } |
508 }; | 513 }; |
509 | 514 |
510 } // namespace WebKit | 515 } // namespace WebKit |
511 | 516 |
512 #endif | 517 #endif |
OLD | NEW |