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

Side by Side Diff: Source/Platform/chromium/public/Platform.h

Issue 14460010: Implement the Blink part of the Device Motion API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed similarity diff Created 7 years, 7 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
OLDNEW
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
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 WebHyphenator; 64 class WebHyphenator;
64 class WebMediaStreamCenter; 65 class WebMediaStreamCenter;
65 class WebMediaStreamCenterClient; 66 class WebMediaStreamCenterClient;
66 class WebMessagePortChannel; 67 class WebMessagePortChannel;
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 505
505 // 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.
506 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } 507 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; }
507 508
508 509
509 // WebWorker ---------------------------------------------------------- 510 // WebWorker ----------------------------------------------------------
510 511
511 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } 512 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
512 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } 513 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
513 514
515 // Device Motion / Orientation ----------------------------------------
516
517 virtual WebDeviceMotionHandler* deviceMotionHandler() { return 0; }
518
514 protected: 519 protected:
515 virtual ~Platform() { } 520 virtual ~Platform() { }
516 }; 521 };
517 522
518 } // namespace WebKit 523 } // namespace WebKit
519 524
520 #endif 525 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698