| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/html_viewer/html_widget.h" | 5 #include "components/html_viewer/html_widget.h" |
| 6 | 6 |
| 7 #include "components/html_viewer/global_state.h" | 7 #include "components/html_viewer/global_state.h" |
| 8 #include "components/html_viewer/ime_controller.h" | 8 #include "components/html_viewer/ime_controller.h" |
| 9 #include "components/html_viewer/web_layer_tree_view_impl.h" | 9 #include "components/html_viewer/web_layer_tree_view_impl.h" |
| 10 #include "components/html_viewer/web_storage_namespace_impl.h" | 10 #include "components/html_viewer/web_storage_namespace_impl.h" |
| 11 #include "components/view_manager/public/cpp/view.h" | 11 #include "components/mus/public/cpp/view.h" |
| 12 #include "mojo/application/public/cpp/application_impl.h" | 12 #include "mojo/application/public/cpp/application_impl.h" |
| 13 #include "third_party/WebKit/public/web/WebFrameWidget.h" | 13 #include "third_party/WebKit/public/web/WebFrameWidget.h" |
| 14 #include "third_party/WebKit/public/web/WebSettings.h" | 14 #include "third_party/WebKit/public/web/WebSettings.h" |
| 15 #include "third_party/WebKit/public/web/WebView.h" | 15 #include "third_party/WebKit/public/web/WebView.h" |
| 16 #include "ui/gfx/geometry/dip_util.h" | 16 #include "ui/gfx/geometry/dip_util.h" |
| 17 | 17 |
| 18 namespace html_viewer { | 18 namespace html_viewer { |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 scoped_ptr<WebLayerTreeViewImpl> CreateWebLayerTreeView( | 21 scoped_ptr<WebLayerTreeViewImpl> CreateWebLayerTreeView( |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 void HTMLWidgetLocalRoot::didUpdateTextOfFocusedElementByNonUserInput() { | 197 void HTMLWidgetLocalRoot::didUpdateTextOfFocusedElementByNonUserInput() { |
| 198 ime_controller_->DidUpdateTextOfFocusedElementByNonUserInput(); | 198 ime_controller_->DidUpdateTextOfFocusedElementByNonUserInput(); |
| 199 } | 199 } |
| 200 | 200 |
| 201 void HTMLWidgetLocalRoot::showImeIfNeeded() { | 201 void HTMLWidgetLocalRoot::showImeIfNeeded() { |
| 202 ime_controller_->ShowImeIfNeeded(); | 202 ime_controller_->ShowImeIfNeeded(); |
| 203 } | 203 } |
| 204 | 204 |
| 205 } // namespace html_viewer | 205 } // namespace html_viewer |
| OLD | NEW |