| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/test_runner/text_input_controller.h" | 5 #include "components/test_runner/text_input_controller.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "gin/arguments.h" | 8 #include "gin/arguments.h" |
| 8 #include "gin/handle.h" | 9 #include "gin/handle.h" |
| 9 #include "gin/object_template_builder.h" | 10 #include "gin/object_template_builder.h" |
| 10 #include "gin/wrappable.h" | 11 #include "gin/wrappable.h" |
| 11 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 12 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 12 #include "third_party/WebKit/public/web/WebFrame.h" | 13 #include "third_party/WebKit/public/web/WebFrame.h" |
| 13 #include "third_party/WebKit/public/web/WebInputEvent.h" | 14 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 14 #include "third_party/WebKit/public/web/WebKit.h" | 15 #include "third_party/WebKit/public/web/WebKit.h" |
| 15 #include "third_party/WebKit/public/web/WebRange.h" | 16 #include "third_party/WebKit/public/web/WebRange.h" |
| 16 #include "third_party/WebKit/public/web/WebView.h" | 17 #include "third_party/WebKit/public/web/WebView.h" |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 SK_ColorBLACK, false, | 263 SK_ColorBLACK, false, |
| 263 SK_ColorTRANSPARENT)); | 264 SK_ColorTRANSPARENT)); |
| 264 view_->setComposition( | 265 view_->setComposition( |
| 265 blink::WebString::fromUTF8(text), | 266 blink::WebString::fromUTF8(text), |
| 266 blink::WebVector<blink::WebCompositionUnderline>(underlines), | 267 blink::WebVector<blink::WebCompositionUnderline>(underlines), |
| 267 text.length(), | 268 text.length(), |
| 268 text.length()); | 269 text.length()); |
| 269 } | 270 } |
| 270 | 271 |
| 271 } // namespace test_runner | 272 } // namespace test_runner |
| OLD | NEW |