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

Unified Diff: Source/core/events/NavigatorEvents.h

Issue 27750002: Add navigator.maxTouchPoints (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add null checks; fix test failure Created 7 years, 2 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 | « Source/core/core.gypi ('k') | Source/core/events/NavigatorEvents.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/NavigatorEvents.h
diff --git a/Source/platform/PasteMode.h b/Source/core/events/NavigatorEvents.h
similarity index 90%
copy from Source/platform/PasteMode.h
copy to Source/core/events/NavigatorEvents.h
index 351e5d432ea0c7ed59b7a0f2cd4e9b18c5579399..44cead911974797033b7bb3c2e674f6732dbe538 100644
--- a/Source/platform/PasteMode.h
+++ b/Source/core/events/NavigatorEvents.h
@@ -28,16 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PasteMode_h
-#define PasteMode_h
+#ifndef NavigatorEvents_h
+#define NavigatorEvents_h
namespace WebCore {
-enum PasteMode {
- AllMimeTypes,
- PlainTextOnly,
+class Navigator;
+
+class NavigatorEvents {
+public:
+ static long maxTouchPoints(Navigator*);
};
} // namespace WebCore
-#endif
+#endif // NavigatorEvents_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/events/NavigatorEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698