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

Unified Diff: chrome/renderer/render_view.cc

Issue 346042: Add default implementations for WebViewClient and WebWidgetClient... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | « chrome/renderer/render_view.h ('k') | webkit/api/public/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 30833)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1398,44 +1398,6 @@
kDelayForCaptureMs);
}
-bool RenderView::shouldBeginEditing(const WebRange& range) {
- return true;
-}
-
-bool RenderView::shouldEndEditing(const WebRange& range) {
- return true;
-}
-
-bool RenderView::shouldInsertNode(const WebNode& node, const WebRange& range,
- WebEditingAction action) {
- return true;
-}
-
-bool RenderView::shouldInsertText(const WebString& text, const WebRange& range,
- WebEditingAction action) {
- return true;
-}
-
-bool RenderView::shouldChangeSelectedRange(const WebRange& from_range,
- const WebRange& to_range,
- WebTextAffinity affinity,
- bool still_selecting) {
- return true;
-}
-
-bool RenderView::shouldDeleteRange(const WebRange& range) {
- return true;
-}
-
-bool RenderView::shouldApplyStyle(const WebString& style,
- const WebRange& range) {
- return true;
-}
-
-bool RenderView::isSmartInsertDeleteEnabled() {
- return true;
-}
-
bool RenderView::isSelectTrailingWhitespaceEnabled() {
#if defined(OS_WIN)
return true;
« no previous file with comments | « chrome/renderer/render_view.h ('k') | webkit/api/public/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698