Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: components/html_viewer/html_frame.cc

Issue 1484013003: mustash: Implement basic input event routing in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed dependency for unit test Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_frame.h" 5 #include "components/html_viewer/html_frame.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
15 #include "cc/blink/web_layer_impl.h" 15 #include "cc/blink/web_layer_impl.h"
16 #include "cc/surfaces/surface_id.h" 16 #include "cc/surfaces/surface_id.h"
17 #include "components/html_viewer/ax_provider_impl.h" 17 #include "components/html_viewer/ax_provider_impl.h"
18 #include "components/html_viewer/blink_basic_type_converters.h" 18 #include "components/html_viewer/blink_basic_type_converters.h"
19 #include "components/html_viewer/blink_find_type_converters.h" 19 #include "components/html_viewer/blink_find_type_converters.h"
20 #include "components/html_viewer/blink_input_events_type_converters.h"
21 #include "components/html_viewer/blink_text_input_type_converters.h" 20 #include "components/html_viewer/blink_text_input_type_converters.h"
22 #include "components/html_viewer/blink_url_request_type_converters.h" 21 #include "components/html_viewer/blink_url_request_type_converters.h"
23 #include "components/html_viewer/devtools_agent_impl.h" 22 #include "components/html_viewer/devtools_agent_impl.h"
24 #include "components/html_viewer/geolocation_client_impl.h" 23 #include "components/html_viewer/geolocation_client_impl.h"
25 #include "components/html_viewer/global_state.h" 24 #include "components/html_viewer/global_state.h"
26 #include "components/html_viewer/html_factory.h" 25 #include "components/html_viewer/html_factory.h"
27 #include "components/html_viewer/html_frame_delegate.h" 26 #include "components/html_viewer/html_frame_delegate.h"
28 #include "components/html_viewer/html_frame_properties.h" 27 #include "components/html_viewer/html_frame_properties.h"
29 #include "components/html_viewer/html_frame_tree_manager.h" 28 #include "components/html_viewer/html_frame_tree_manager.h"
30 #include "components/html_viewer/html_widget.h" 29 #include "components/html_viewer/html_widget.h"
31 #include "components/html_viewer/media_factory.h" 30 #include "components/html_viewer/media_factory.h"
32 #include "components/html_viewer/stats_collection_controller.h" 31 #include "components/html_viewer/stats_collection_controller.h"
33 #include "components/html_viewer/touch_handler.h" 32 #include "components/html_viewer/touch_handler.h"
34 #include "components/html_viewer/web_layer_tree_view_impl.h" 33 #include "components/html_viewer/web_layer_tree_view_impl.h"
35 #include "components/html_viewer/web_storage_namespace_impl.h" 34 #include "components/html_viewer/web_storage_namespace_impl.h"
36 #include "components/html_viewer/web_url_loader_impl.h" 35 #include "components/html_viewer/web_url_loader_impl.h"
37 #include "components/mus/public/cpp/scoped_window_ptr.h" 36 #include "components/mus/public/cpp/scoped_window_ptr.h"
38 #include "components/mus/public/cpp/window.h" 37 #include "components/mus/public/cpp/window.h"
39 #include "components/mus/public/cpp/window_tree_connection.h" 38 #include "components/mus/public/cpp/window_tree_connection.h"
40 #include "components/mus/ws/ids.h" 39 #include "components/mus/ws/ids.h"
41 #include "mojo/application/public/cpp/application_impl.h" 40 #include "mojo/application/public/cpp/application_impl.h"
42 #include "mojo/application/public/cpp/connect.h" 41 #include "mojo/application/public/cpp/connect.h"
43 #include "mojo/application/public/interfaces/shell.mojom.h" 42 #include "mojo/application/public/interfaces/shell.mojom.h"
44 #include "mojo/common/common_type_converters.h" 43 #include "mojo/common/common_type_converters.h"
44 #include "mojo/converters/blink/blink_input_events_type_converters.h"
45 #include "mojo/converters/geometry/geometry_type_converters.h" 45 #include "mojo/converters/geometry/geometry_type_converters.h"
46 #include "third_party/WebKit/public/platform/Platform.h" 46 #include "third_party/WebKit/public/platform/Platform.h"
47 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" 47 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h"
48 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" 48 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
49 #include "third_party/WebKit/public/platform/WebSize.h" 49 #include "third_party/WebKit/public/platform/WebSize.h"
50 #include "third_party/WebKit/public/web/WebConsoleMessage.h" 50 #include "third_party/WebKit/public/web/WebConsoleMessage.h"
51 #include "third_party/WebKit/public/web/WebDocument.h" 51 #include "third_party/WebKit/public/web/WebDocument.h"
52 #include "third_party/WebKit/public/web/WebElement.h" 52 #include "third_party/WebKit/public/web/WebElement.h"
53 #include "third_party/WebKit/public/web/WebFindOptions.h" 53 #include "third_party/WebKit/public/web/WebFindOptions.h"
54 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 54 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 1030
1031 if (!surface_layer_) 1031 if (!surface_layer_)
1032 return; 1032 return;
1033 1033
1034 surface_layer_->SetSurfaceId(cc::SurfaceId(owned_window_->window()->id()), 1034 surface_layer_->SetSurfaceId(cc::SurfaceId(owned_window_->window()->id()),
1035 global_state()->device_pixel_ratio(), 1035 global_state()->device_pixel_ratio(),
1036 owned_window_->window()->bounds().size()); 1036 owned_window_->window()->bounds().size());
1037 } 1037 }
1038 1038
1039 } // namespace mojo 1039 } // namespace mojo
OLDNEW
« no previous file with comments | « components/html_viewer/blink_input_events_type_converters.cc ('k') | components/html_viewer/ime_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698