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

Unified Diff: content/renderer/render_widget_fullscreen_pepper.cc

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create AttributedStringCoder Created 9 years, 8 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: content/renderer/render_widget_fullscreen_pepper.cc
diff --git a/content/renderer/render_widget_fullscreen_pepper.cc b/content/renderer/render_widget_fullscreen_pepper.cc
index 7fa1fa6abf7a05fd96b112ddd70079340a41a727..a21cd15f4621a961910b46399604cf46142101e8 100644
--- a/content/renderer/render_widget_fullscreen_pepper.cc
+++ b/content/renderer/render_widget_fullscreen_pepper.cc
@@ -12,6 +12,7 @@
#include "content/common/view_messages.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebRange.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
@@ -21,6 +22,7 @@ using WebKit::WebCanvas;
using WebKit::WebCompositionUnderline;
using WebKit::WebCursorInfo;
using WebKit::WebInputEvent;
+using WebKit::WebRange;
using WebKit::WebRect;
using WebKit::WebSize;
using WebKit::WebString;
@@ -111,6 +113,13 @@ class PepperWidget : public WebWidget {
return false;
}
+ virtual bool compositionRange(size_t* location, size_t* length) {
+ *location = 0;
+ *length = 0;
+ NOTIMPLEMENTED();
+ return false;
+ }
+
virtual WebTextInputType textInputType() {
return WebKit::WebTextInputTypeNone;
}
@@ -119,6 +128,13 @@ class PepperWidget : public WebWidget {
return WebRect();
}
+ virtual bool caretOrSelectionRange(size_t* location, size_t* length) {
+ *location = 0;
+ *length = 0;
+ NOTIMPLEMENTED();
+ return false;
+ }
+
virtual void setTextDirection(WebTextDirection) {
}

Powered by Google App Engine
This is Rietveld 408576698