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

Unified Diff: webkit/api/public/WebBindings.h

Issue 243032: First implementation of PlainTextController. (Closed)
Patch Set: '' Created 11 years, 1 month 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 | « no previous file | webkit/api/public/WebRange.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebBindings.h
===================================================================
--- webkit/api/public/WebBindings.h (revision 31188)
+++ webkit/api/public/WebBindings.h (working copy)
@@ -37,6 +37,7 @@
namespace WebKit {
class WebDragData;
+ class WebRange;
// A haphazard collection of functions for dealing with plugins.
class WebBindings {
@@ -133,6 +134,10 @@
// data or event_id outputs, just confirm the given npobj is the current & accessible drag event.
// This only works with V8. If compiled without V8, it'll always return false.
WEBKIT_API static bool isDragEvent(NPObject* event);
+
+ // Return true (success) if the given npobj is a range object.
+ // If so, return that range as a WebRange object.
+ WEBKIT_API static bool getRange(NPObject* range, WebRange*);
};
} // namespace WebKit
« no previous file with comments | « no previous file | webkit/api/public/WebRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698