| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "components/html_viewer/blink_settings.h" | 11 #include "components/html_viewer/blink_settings.h" |
| 12 #include "components/html_viewer/global_state.h" | 12 #include "components/html_viewer/global_state.h" |
| 13 #include "components/html_viewer/ime_controller.h" | 13 #include "components/html_viewer/ime_controller.h" |
| 14 #include "components/html_viewer/stats_collection_controller.h" | 14 #include "components/html_viewer/stats_collection_controller.h" |
| 15 #include "components/html_viewer/web_layer_tree_view_impl.h" | 15 #include "components/html_viewer/web_layer_tree_view_impl.h" |
| 16 #include "components/html_viewer/web_storage_namespace_impl.h" | 16 #include "components/html_viewer/web_storage_namespace_impl.h" |
| 17 #include "components/mus/public/cpp/window.h" | 17 #include "components/mus/public/cpp/window.h" |
| 18 #include "mojo/application/public/cpp/application_impl.h" | |
| 19 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" | 18 #include "mojo/services/tracing/public/interfaces/tracing.mojom.h" |
| 19 #include "mojo/shell/public/cpp/application_impl.h" |
| 20 #include "third_party/WebKit/public/web/WebFrameWidget.h" | 20 #include "third_party/WebKit/public/web/WebFrameWidget.h" |
| 21 #include "third_party/WebKit/public/web/WebSettings.h" | 21 #include "third_party/WebKit/public/web/WebSettings.h" |
| 22 #include "third_party/WebKit/public/web/WebView.h" | 22 #include "third_party/WebKit/public/web/WebView.h" |
| 23 #include "ui/gfx/geometry/dip_util.h" | 23 #include "ui/gfx/geometry/dip_util.h" |
| 24 | 24 |
| 25 namespace html_viewer { | 25 namespace html_viewer { |
| 26 namespace { | 26 namespace { |
| 27 | 27 |
| 28 scoped_ptr<WebLayerTreeViewImpl> CreateWebLayerTreeView( | 28 scoped_ptr<WebLayerTreeViewImpl> CreateWebLayerTreeView( |
| 29 GlobalState* global_state) { | 29 GlobalState* global_state) { |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 void HTMLWidgetLocalRoot::didUpdateTextOfFocusedElementByNonUserInput() { | 216 void HTMLWidgetLocalRoot::didUpdateTextOfFocusedElementByNonUserInput() { |
| 217 ime_controller_->DidUpdateTextOfFocusedElementByNonUserInput(); | 217 ime_controller_->DidUpdateTextOfFocusedElementByNonUserInput(); |
| 218 } | 218 } |
| 219 | 219 |
| 220 void HTMLWidgetLocalRoot::showImeIfNeeded() { | 220 void HTMLWidgetLocalRoot::showImeIfNeeded() { |
| 221 ime_controller_->ShowImeIfNeeded(); | 221 ime_controller_->ShowImeIfNeeded(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 } // namespace html_viewer | 224 } // namespace html_viewer |
| OLD | NEW |