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

Unified Diff: public/platform/WebPlatformEventListener.h

Issue 417213002: Introduce PlatformEvent to handle Device events, Battery events and Gamepad events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebGamepadListener.h ('k') | public/platform/WebPlatformEventType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebPlatformEventListener.h
diff --git a/Source/core/frame/NavigatorCPU.h b/public/platform/WebPlatformEventListener.h
similarity index 54%
copy from Source/core/frame/NavigatorCPU.h
copy to public/platform/WebPlatformEventListener.h
index 84d4f58244d3d832e20d703fd8a9d09cf344b303..7a7b901f5fd269aa23199298fc52a00501188dd6 100644
--- a/Source/core/frame/NavigatorCPU.h
+++ b/public/platform/WebPlatformEventListener.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NavigatorCPU_h
-#define NavigatorCPU_h
+#ifndef WebPlatformEventListener_h
+#define WebPlatformEventListener_h
namespace blink {
-class NavigatorCPU {
+class WebPlatformEventListener {
public:
- unsigned hardwareConcurrency() const;
+ virtual ~WebPlatformEventListener() { }
};
} // namespace blink
-#endif // NavigatorCPU_h
+#endif // WebPlatformEventListener_h
« no previous file with comments | « public/platform/WebGamepadListener.h ('k') | public/platform/WebPlatformEventType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698