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

Unified Diff: Source/WebKit/chromium/src/WebScriptBindings.cpp

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Initial Created 7 years, 5 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/WebKit/chromium/src/WebDocument.cpp ('k') | Source/WebKit/chromium/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebScriptBindings.cpp
diff --git a/public/web/WebMediaSource.h b/Source/WebKit/chromium/src/WebScriptBindings.cpp
similarity index 84%
copy from public/web/WebMediaSource.h
copy to Source/WebKit/chromium/src/WebScriptBindings.cpp
index 424a687dfa381049240e769de9e23f58da6eb576..bee5cf1b15b939502b344ee20669cd8cc77c3dd7 100644
--- a/public/web/WebMediaSource.h
+++ b/Source/WebKit/chromium/src/WebScriptBindings.cpp
@@ -28,22 +28,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaSource_h
-#define WebMediaSource_h
+#include "config.h"
+#include "WebScriptBindings.h"
-#include "../platform/WebURL.h"
-#include "WebTimeRange.h"
+#include "bindings/v8/V8Binding.h"
+#include "public/platform/WebString.h"
-namespace WebKit {
+using namespace WebCore;
-class WebMediaSourceClient;
+namespace WebKit {
-class WebMediaSource {
-public:
- virtual ~WebMediaSource() { };
- virtual void open(WebMediaSourceClient*) = 0;
-};
+v8::Local<v8::String> WebScriptBindings::toV8String(const WebString& string, v8::Isolate* isolate)
+{
+ return v8String(string, isolate);
+}
} // namespace WebKit
-
-#endif
« no previous file with comments | « Source/WebKit/chromium/src/WebDocument.cpp ('k') | Source/WebKit/chromium/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698