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

Unified Diff: Source/modules/testing/InternalsVibration.h

Issue 18478003: Vibration cannot be canceled during pattern vibration. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Vibration cannot be canceled during pattern vibration. Created 7 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
Index: Source/modules/testing/InternalsVibration.h
diff --git a/Source/core/html/canvas/WebGLExtension.cpp b/Source/modules/testing/InternalsVibration.h
similarity index 82%
copy from Source/core/html/canvas/WebGLExtension.cpp
copy to Source/modules/testing/InternalsVibration.h
index 9d3c9413c61d27f574bdd43cb3e042677d2c4bdb..e5114cd57af536f4d1e2537abe9b9dfbac74cffd 100644
--- a/Source/core/html/canvas/WebGLExtension.cpp
+++ b/Source/modules/testing/InternalsVibration.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -23,19 +23,19 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
-
-#include "core/html/canvas/WebGLExtension.h"
+#ifndef InternalsVibration_h
+#define InternalsVibration_h
namespace WebCore {
-WebGLExtension::WebGLExtension(WebGLRenderingContext* context)
- : m_context(context)
-{
-}
+class Document;
+class Internals;
-WebGLExtension::~WebGLExtension()
-{
-}
+class InternalsVibration {
+public:
+ static bool isVibrating(Internals*, Document*);
+};
} // namespace WebCore
+
+#endif // InternalsVibration_h

Powered by Google App Engine
This is Rietveld 408576698