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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteFrameClient.h

Issue 2723963003: Remove renderer-to-renderer input event forwarding for OOPIFs (Closed)
Patch Set: Correct test expectation Created 3 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 RemoteFrameClient_h 5 #ifndef RemoteFrameClient_h
6 #define RemoteFrameClient_h 6 #define RemoteFrameClient_h
7 7
8 #include "core/frame/FrameClient.h" 8 #include "core/frame/FrameClient.h"
9 #include "core/frame/FrameTypes.h" 9 #include "core/frame/FrameTypes.h"
10 #include "core/loader/FrameLoaderTypes.h" 10 #include "core/loader/FrameLoaderTypes.h"
11 #include "public/platform/WebFocusType.h" 11 #include "public/platform/WebFocusType.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Event;
16 class IntRect; 15 class IntRect;
17 class LocalFrame; 16 class LocalFrame;
18 class MessageEvent; 17 class MessageEvent;
19 class ResourceRequest; 18 class ResourceRequest;
20 class SecurityOrigin; 19 class SecurityOrigin;
21 20
22 class RemoteFrameClient : public FrameClient { 21 class RemoteFrameClient : public FrameClient {
23 public: 22 public:
24 ~RemoteFrameClient() override {} 23 ~RemoteFrameClient() override {}
25 24
26 virtual void navigate(const ResourceRequest&, 25 virtual void navigate(const ResourceRequest&,
27 bool shouldReplaceCurrentEntry) = 0; 26 bool shouldReplaceCurrentEntry) = 0;
28 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; 27 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0;
29 virtual unsigned backForwardLength() = 0; 28 virtual unsigned backForwardLength() = 0;
30 29
31 // Forwards a postMessage for a remote frame. 30 // Forwards a postMessage for a remote frame.
32 virtual void forwardPostMessage(MessageEvent*, 31 virtual void forwardPostMessage(MessageEvent*,
33 PassRefPtr<SecurityOrigin> target, 32 PassRefPtr<SecurityOrigin> target,
34 LocalFrame* sourceFrame) const = 0; 33 LocalFrame* sourceFrame) const = 0;
35 34
36 // FIXME: Remove this method once we have input routing in the browser
37 // process. See http://crbug.com/339659.
38 virtual void forwardInputEvent(Event*) = 0;
39
40 virtual void frameRectsChanged(const IntRect& frameRect) = 0; 35 virtual void frameRectsChanged(const IntRect& frameRect) = 0;
41 36
42 virtual void updateRemoteViewportIntersection( 37 virtual void updateRemoteViewportIntersection(
43 const IntRect& viewportIntersection) = 0; 38 const IntRect& viewportIntersection) = 0;
44 39
45 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0; 40 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0;
46 41
47 virtual void visibilityChanged(bool visible) = 0; 42 virtual void visibilityChanged(bool visible) = 0;
48 }; 43 };
49 44
50 } // namespace blink 45 } // namespace blink
51 46
52 #endif // RemoteFrameClient_h 47 #endif // RemoteFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698