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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Created 4 years, 2 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 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 14 matching lines...) Expand all
41 void detach(FrameDetachType) override; 40 void detach(FrameDetachType) override;
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 45
47 // FIXME: Remove this method once we have input routing in the browser 46 // FIXME: Remove this method once we have input routing in the browser
48 // process. See http://crbug.com/339659. 47 // process. See http://crbug.com/339659.
49 void forwardInputEvent(Event*); 48 void forwardInputEvent(Event*);
50 49
51 void frameRectsChanged(const IntRect& frameRect);
52
53 void visibilityChanged(bool visible);
54
55 void setRemotePlatformLayer(WebLayer*); 50 void setRemotePlatformLayer(WebLayer*);
56 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } 51 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; }
57 52
58 void advanceFocus(WebFocusType, LocalFrame* source); 53 void advanceFocus(WebFocusType, LocalFrame* source);
59 54
60 void setView(RemoteFrameView*); 55 void setView(RemoteFrameView*);
61 void createView(); 56 void createView();
62 57
63 RemoteFrameView* view() const; 58 RemoteFrameView* view() const;
64 59
(...skipping 26 matching lines...) Expand all
91 86
92 DEFINE_TYPE_CASTS(RemoteFrame, 87 DEFINE_TYPE_CASTS(RemoteFrame,
93 Frame, 88 Frame,
94 remoteFrame, 89 remoteFrame,
95 remoteFrame->isRemoteFrame(), 90 remoteFrame->isRemoteFrame(),
96 remoteFrame.isRemoteFrame()); 91 remoteFrame.isRemoteFrame());
97 92
98 } // namespace blink 93 } // namespace blink
99 94
100 #endif // RemoteFrame_h 95 #endif // RemoteFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698