OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/common/input/input_handler.mojom.h" |
13 #include "content/public/common/console_message_level.h" | 14 #include "content/public/common/console_message_level.h" |
14 #include "content/public/common/file_chooser_params.h" | 15 #include "content/public/common/file_chooser_params.h" |
15 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
16 #include "ipc/ipc_sender.h" | 17 #include "ipc/ipc_sender.h" |
17 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 18 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
18 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
19 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
21 #include "url/origin.h" | 22 #include "url/origin.h" |
22 | 23 |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 #endif // OS_ANDROID | 247 #endif // OS_ANDROID |
247 | 248 |
248 // Stops and disables the hang monitor for beforeunload. This avoids flakiness | 249 // Stops and disables the hang monitor for beforeunload. This avoids flakiness |
249 // in tests that need to observe beforeunload dialogs, which could fail if the | 250 // in tests that need to observe beforeunload dialogs, which could fail if the |
250 // timeout skips the dialog. | 251 // timeout skips the dialog. |
251 virtual void DisableBeforeUnloadHangMonitorForTesting() = 0; | 252 virtual void DisableBeforeUnloadHangMonitorForTesting() = 0; |
252 virtual bool IsBeforeUnloadHangMonitorDisabledForTesting() = 0; | 253 virtual bool IsBeforeUnloadHangMonitorDisabledForTesting() = 0; |
253 | 254 |
254 virtual bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) = 0; | 255 virtual bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) = 0; |
255 | 256 |
| 257 virtual mojom::FrameInputHandler* GetFrameInputHandler() = 0; |
| 258 |
256 private: | 259 private: |
257 // This interface should only be implemented inside content. | 260 // This interface should only be implemented inside content. |
258 friend class RenderFrameHostImpl; | 261 friend class RenderFrameHostImpl; |
259 RenderFrameHost() {} | 262 RenderFrameHost() {} |
260 }; | 263 }; |
261 | 264 |
262 } // namespace content | 265 } // namespace content |
263 | 266 |
264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 267 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
OLD | NEW |