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; |
57 class WebDiscardableMemory; | 58 class WebDiscardableMemory; |
58 class WebFallbackThemeEngine; | 59 class WebFallbackThemeEngine; |
59 class WebFileSystem; | 60 class WebFileSystem; |
60 class WebFileUtilities; | 61 class WebFileUtilities; |
61 class WebFlingAnimator; | 62 class WebFlingAnimator; |
62 class WebGestureCurveTarget; | 63 class WebGestureCurveTarget; |
63 class WebGestureCurve; | 64 class WebGestureCurve; |
64 class WebGraphicsContext3DProvider; | 65 class WebGraphicsContext3DProvider; |
65 class WebHyphenator; | 66 class WebHyphenator; |
66 class WebMediaStreamCenter; | 67 class WebMediaStreamCenter; |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 | 504 |
504 // May return null if WebRTC functionality is not avaliable or out of resour
ces. | 505 // May return null if WebRTC functionality is not avaliable or out of resour
ces. |
505 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } | 506 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl
ient*) { return 0; } |
506 | 507 |
507 | 508 |
508 // WebWorker ---------------------------------------------------------- | 509 // WebWorker ---------------------------------------------------------- |
509 | 510 |
510 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 511 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
511 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 512 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
512 | 513 |
| 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 |