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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Fix merge conflict Created 4 years, 1 month 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 RemoteFrame_h 5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h 6 #define RemoteFrame_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/frame/Frame.h" 10 #include "core/frame/Frame.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; 15 class Event;
16 class IntRect;
17 class LocalFrame; 16 class LocalFrame;
18 class RemoteDOMWindow; 17 class RemoteDOMWindow;
19 class RemoteFrameClient; 18 class RemoteFrameClient;
20 class RemoteFrameView; 19 class RemoteFrameView;
21 class WebLayer; 20 class WebLayer;
22 class WindowProxyManager; 21 class WindowProxyManager;
23 struct FrameLoadRequest; 22 struct FrameLoadRequest;
24 23
25 class CORE_EXPORT RemoteFrame final : public Frame { 24 class CORE_EXPORT RemoteFrame final : public Frame {
26 public: 25 public:
(...skipping 15 matching lines...) Expand all
42 RemoteSecurityContext* securityContext() const override; 41 RemoteSecurityContext* securityContext() const override;
43 void printNavigationErrorMessage(const Frame&, const char* reason) override {} 42 void printNavigationErrorMessage(const Frame&, const char* reason) override {}
44 bool prepareForCommit() override; 43 bool prepareForCommit() override;
45 bool shouldClose() override; 44 bool shouldClose() override;
46 void setDocumentHasReceivedUserGesture() override; 45 void setDocumentHasReceivedUserGesture() override;
47 46
48 // FIXME: Remove this method once we have input routing in the browser 47 // FIXME: Remove this method once we have input routing in the browser
49 // process. See http://crbug.com/339659. 48 // process. See http://crbug.com/339659.
50 void forwardInputEvent(Event*); 49 void forwardInputEvent(Event*);
51 50
52 void frameRectsChanged(const IntRect& frameRect);
53
54 void visibilityChanged(bool visible);
55
56 void setRemotePlatformLayer(WebLayer*); 51 void setRemotePlatformLayer(WebLayer*);
57 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } 52 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; }
58 53
59 void advanceFocus(WebFocusType, LocalFrame* source); 54 void advanceFocus(WebFocusType, LocalFrame* source);
60 55
61 void setView(RemoteFrameView*); 56 void setView(RemoteFrameView*);
62 void createView(); 57 void createView();
63 58
64 RemoteFrameView* view() const; 59 RemoteFrameView* view() const;
65 60
(...skipping 26 matching lines...) Expand all
92 87
93 DEFINE_TYPE_CASTS(RemoteFrame, 88 DEFINE_TYPE_CASTS(RemoteFrame,
94 Frame, 89 Frame,
95 remoteFrame, 90 remoteFrame,
96 remoteFrame->isRemoteFrame(), 91 remoteFrame->isRemoteFrame(),
97 remoteFrame.isRemoteFrame()); 92 remoteFrame.isRemoteFrame());
98 93
99 } // namespace blink 94 } // namespace blink
100 95
101 #endif // RemoteFrame_h 96 #endif // RemoteFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698