OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #include "webkit/tools/test_shell/text_input_controller.h" | 5 #include "webkit/tools/test_shell/text_input_controller.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "webkit/api/public/WebFrame.h" | 8 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" |
9 #include "webkit/api/public/WebRange.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebRange.h" |
10 #include "webkit/api/public/WebString.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
11 #include "webkit/api/public/WebView.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
12 #include "webkit/tools/test_shell/test_shell.h" | 12 #include "webkit/tools/test_shell/test_shell.h" |
13 | 13 |
14 using WebKit::WebFrame; | 14 using WebKit::WebFrame; |
15 using WebKit::WebRange; | 15 using WebKit::WebRange; |
16 using WebKit::WebString; | 16 using WebKit::WebString; |
17 | 17 |
18 TestShell* TextInputController::shell_ = NULL; | 18 TestShell* TextInputController::shell_ = NULL; |
19 | 19 |
20 TextInputController::TextInputController(TestShell* shell) { | 20 TextInputController::TextInputController(TestShell* shell) { |
21 // Set static shell_ variable. Be careful not to assign shell_ to new | 21 // Set static shell_ variable. Be careful not to assign shell_ to new |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 181 |
182 result->Set("NSUnderline,NSUnderlineColor,NSMarkedClauseSegment," | 182 result->Set("NSUnderline,NSUnderlineColor,NSMarkedClauseSegment," |
183 "NSTextInputReplacementRangeAttributeName"); | 183 "NSTextInputReplacementRangeAttributeName"); |
184 } | 184 } |
185 | 185 |
186 void TextInputController::makeAttributedString( | 186 void TextInputController::makeAttributedString( |
187 const CppArgumentList& args, CppVariant* result) { | 187 const CppArgumentList& args, CppVariant* result) { |
188 NOTIMPLEMENTED(); | 188 NOTIMPLEMENTED(); |
189 result->SetNull(); | 189 result->SetNull(); |
190 } | 190 } |
OLD | NEW |