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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Fix presubmit warning I ignored Created 3 years, 6 months 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
« no previous file with comments | « content/public/browser/DEPS ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // in tests that need to observe beforeunload dialogs, which could fail if the 268 // in tests that need to observe beforeunload dialogs, which could fail if the
268 // timeout skips the dialog. 269 // timeout skips the dialog.
269 virtual void DisableBeforeUnloadHangMonitorForTesting() = 0; 270 virtual void DisableBeforeUnloadHangMonitorForTesting() = 0;
270 virtual bool IsBeforeUnloadHangMonitorDisabledForTesting() = 0; 271 virtual bool IsBeforeUnloadHangMonitorDisabledForTesting() = 0;
271 272
272 // Returns true if the given Feature Policy |feature| is enabled for this 273 // Returns true if the given Feature Policy |feature| is enabled for this
273 // RenderFrameHost and is allowed to be used by it. Use this in the browser 274 // RenderFrameHost and is allowed to be used by it. Use this in the browser
274 // process to determine whether access to a feature is allowed. 275 // process to determine whether access to a feature is allowed.
275 virtual bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) = 0; 276 virtual bool IsFeatureEnabled(blink::WebFeaturePolicyFeature feature) = 0;
276 277
278 virtual mojom::FrameInputHandler* GetFrameInputHandler() = 0;
279
277 private: 280 private:
278 // This interface should only be implemented inside content. 281 // This interface should only be implemented inside content.
279 friend class RenderFrameHostImpl; 282 friend class RenderFrameHostImpl;
280 RenderFrameHost() {} 283 RenderFrameHost() {}
281 }; 284 };
282 285
283 } // namespace content 286 } // namespace content
284 287
285 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 288 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/DEPS ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698