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

Side by Side Diff: webkit/glue/editor_client_impl.cc

Issue 287009: Move WebDevToolsAgent{Delegate} into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/devtools/debugger_agent_manager.cc ('k') | webkit/glue/mimetype_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The Mac interface forwards most of these commands to the application layer, 5 // The Mac interface forwards most of these commands to the application layer,
6 // and I'm not really sure what to do about most of them. 6 // and I'm not really sure what to do about most of them.
7 7
8 #include "config.h" 8 #include "config.h"
9 9
10 #include "Document.h" 10 #include "Document.h"
(...skipping 14 matching lines...) Expand all
25 25
26 #include "webkit/api/public/WebEditingAction.h" 26 #include "webkit/api/public/WebEditingAction.h"
27 #include "webkit/api/public/WebKit.h" 27 #include "webkit/api/public/WebKit.h"
28 #include "webkit/api/public/WebNode.h" 28 #include "webkit/api/public/WebNode.h"
29 #include "webkit/api/public/WebRange.h" 29 #include "webkit/api/public/WebRange.h"
30 #include "webkit/api/public/WebTextAffinity.h" 30 #include "webkit/api/public/WebTextAffinity.h"
31 #include "webkit/glue/autofill_form.h" 31 #include "webkit/glue/autofill_form.h"
32 #include "webkit/glue/dom_operations.h" 32 #include "webkit/glue/dom_operations.h"
33 #include "webkit/glue/editor_client_impl.h" 33 #include "webkit/glue/editor_client_impl.h"
34 #include "webkit/glue/glue_util.h" 34 #include "webkit/glue/glue_util.h"
35 #include "webkit/glue/webkit_glue.h"
36 #include "webkit/glue/webview.h" 35 #include "webkit/glue/webview.h"
37 #include "webkit/glue/webview_impl.h" 36 #include "webkit/glue/webview_impl.h"
38 37
39 using WebKit::WebEditingAction; 38 using WebKit::WebEditingAction;
40 using WebKit::WebString; 39 using WebKit::WebString;
41 using WebKit::WebTextAffinity; 40 using WebKit::WebTextAffinity;
42 using webkit_glue::AutofillForm; 41 using webkit_glue::AutofillForm;
43 42
44 // Arbitrary depth limit for the undo stack, to keep it from using 43 // Arbitrary depth limit for the undo stack, to keep it from using
45 // unbounded memory. This is the maximum number of distinct undoable 44 // unbounded memory. This is the maximum number of distinct undoable
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 900
902 void EditorClientImpl::getGuessesForWord(const WebCore::String&, 901 void EditorClientImpl::getGuessesForWord(const WebCore::String&,
903 WTF::Vector<WebCore::String>& guesses) { 902 WTF::Vector<WebCore::String>& guesses) {
904 NOTIMPLEMENTED(); 903 NOTIMPLEMENTED();
905 } 904 }
906 905
907 void EditorClientImpl::setInputMethodState(bool enabled) { 906 void EditorClientImpl::setInputMethodState(bool enabled) {
908 if (webview_->client()) 907 if (webview_->client())
909 webview_->client()->setInputMethodEnabled(enabled); 908 webview_->client()->setInputMethodEnabled(enabled);
910 } 909 }
OLDNEW
« no previous file with comments | « webkit/glue/devtools/debugger_agent_manager.cc ('k') | webkit/glue/mimetype_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698