| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |