OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/callback.h" | 16 #include "base/callback.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/process/kill.h" | 21 #include "base/process/kill.h" |
22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 23 #include "content/browser/renderer_host/input/input_device_change_observer.h" |
23 #include "content/browser/renderer_host/render_widget_host_impl.h" | 24 #include "content/browser/renderer_host/render_widget_host_impl.h" |
24 #include "content/browser/renderer_host/render_widget_host_owner_delegate.h" | 25 #include "content/browser/renderer_host/render_widget_host_owner_delegate.h" |
25 #include "content/browser/site_instance_impl.h" | 26 #include "content/browser/site_instance_impl.h" |
26 #include "content/public/browser/notification_observer.h" | 27 #include "content/public/browser/notification_observer.h" |
27 #include "content/public/browser/render_process_host_observer.h" | 28 #include "content/public/browser/render_process_host_observer.h" |
28 #include "content/public/browser/render_view_host.h" | 29 #include "content/public/browser/render_view_host.h" |
29 #include "net/base/load_states.h" | 30 #include "net/base/load_states.h" |
30 #include "third_party/WebKit/public/web/WebAXEnums.h" | 31 #include "third_party/WebKit/public/web/WebAXEnums.h" |
31 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 32 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
32 #include "third_party/WebKit/public/web/WebPopupType.h" | 33 #include "third_party/WebKit/public/web/WebPopupType.h" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // is in turn called when any of the settings change that the WebPreferences | 318 // is in turn called when any of the settings change that the WebPreferences |
318 // values depend on. | 319 // values depend on. |
319 std::unique_ptr<WebPreferences> web_preferences_; | 320 std::unique_ptr<WebPreferences> web_preferences_; |
320 | 321 |
321 // The timeout monitor that runs from when the page close is started in | 322 // The timeout monitor that runs from when the page close is started in |
322 // ClosePage() until either the render process ACKs the close with an IPC to | 323 // ClosePage() until either the render process ACKs the close with an IPC to |
323 // OnClosePageACK(), or until the timeout triggers and the page is forcibly | 324 // OnClosePageACK(), or until the timeout triggers and the page is forcibly |
324 // closed. | 325 // closed. |
325 std::unique_ptr<TimeoutMonitor> close_timeout_; | 326 std::unique_ptr<TimeoutMonitor> close_timeout_; |
326 | 327 |
| 328 // This monitors input changes so they can be reflected to the interaction MQ. |
| 329 std::unique_ptr<InputDeviceChangeObserver> input_device_change_observer_; |
| 330 |
327 bool updating_web_preferences_; | 331 bool updating_web_preferences_; |
328 | 332 |
329 bool render_view_ready_on_process_launch_; | 333 bool render_view_ready_on_process_launch_; |
330 | 334 |
331 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; | 335 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
332 | 336 |
333 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 337 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
334 }; | 338 }; |
335 | 339 |
336 } // namespace content | 340 } // namespace content |
337 | 341 |
338 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 342 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |