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 WebDeviceMotionListener; | |
58 class WebDeviceMotionProvider; | |
darin (slow to review)
2013/05/17 14:13:09
nit: no need for the provider forward declare here
timvolodine
2013/05/17 14:35:40
Done.
| |
57 class WebDiscardableMemory; | 59 class WebDiscardableMemory; |
58 class WebFallbackThemeEngine; | 60 class WebFallbackThemeEngine; |
59 class WebFileSystem; | 61 class WebFileSystem; |
60 class WebFileUtilities; | 62 class WebFileUtilities; |
61 class WebFlingAnimator; | 63 class WebFlingAnimator; |
62 class WebGestureCurveTarget; | 64 class WebGestureCurveTarget; |
63 class WebGestureCurve; | 65 class WebGestureCurve; |
64 class WebGraphicsContext3DProvider; | 66 class WebGraphicsContext3DProvider; |
65 class WebHyphenator; | 67 class WebHyphenator; |
66 class WebMediaStreamCenter; | 68 class WebMediaStreamCenter; |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
503 | 505 |
504 // May return null if WebRTC functionality is not avaliable or out of resour ces. | 506 // May return null if WebRTC functionality is not avaliable or out of resour ces. |
505 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } | 507 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } |
506 | 508 |
507 | 509 |
508 // WebWorker ---------------------------------------------------------- | 510 // WebWorker ---------------------------------------------------------- |
509 | 511 |
510 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 512 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
511 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 513 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
512 | 514 |
515 // Device Motion / Orientation ---------------------------------------- | |
516 | |
517 // Sets a Listener to listen for device motion data updates. | |
518 // If null, the platform stops providing device motion data to the current l istener. | |
519 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } | |
520 | |
513 protected: | 521 protected: |
514 virtual ~Platform() { } | 522 virtual ~Platform() { } |
515 }; | 523 }; |
516 | 524 |
517 } // namespace WebKit | 525 } // namespace WebKit |
518 | 526 |
519 #endif | 527 #endif |
OLD | NEW |