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

Side by Side Diff: content/renderer/render_frame_proxy.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 CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ipc/ipc_listener.h" 11 #include "ipc/ipc_listener.h"
12 #include "ipc/ipc_sender.h" 12 #include "ipc/ipc_sender.h"
13 #include "third_party/WebKit/public/platform/WebFocusType.h" 13 #include "third_party/WebKit/public/platform/WebFocusType.h"
14 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 14 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
15 #include "third_party/WebKit/public/web/WebRemoteFrame.h" 15 #include "third_party/WebKit/public/web/WebRemoteFrame.h"
16 #include "third_party/WebKit/public/web/WebRemoteFrameClient.h" 16 #include "third_party/WebKit/public/web/WebRemoteFrameClient.h"
17 #include "url/origin.h" 17 #include "url/origin.h"
18 18
19 struct FrameMsg_BuffersSwapped_Params; 19 struct FrameMsg_BuffersSwapped_Params;
20 struct FrameMsg_CompositorFrameSwapped_Params; 20 struct FrameMsg_CompositorFrameSwapped_Params;
21 21
22 namespace blink { 22 namespace blink {
23 class WebInputEvent; 23 class WebInputEvent;
24 struct WebPoint;
24 struct WebRect; 25 struct WebRect;
25 } 26 }
26 27
27 namespace cc { 28 namespace cc {
28 class SurfaceId; 29 class SurfaceId;
29 struct SurfaceSequence; 30 struct SurfaceSequence;
30 } 31 }
31 32
32 namespace content { 33 namespace content {
33 34
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // blink::WebRemoteFrameClient implementation: 129 // blink::WebRemoteFrameClient implementation:
129 void frameDetached(DetachType type) override; 130 void frameDetached(DetachType type) override;
130 void forwardPostMessage(blink::WebLocalFrame* sourceFrame, 131 void forwardPostMessage(blink::WebLocalFrame* sourceFrame,
131 blink::WebRemoteFrame* targetFrame, 132 blink::WebRemoteFrame* targetFrame,
132 blink::WebSecurityOrigin target, 133 blink::WebSecurityOrigin target,
133 blink::WebDOMMessageEvent event) override; 134 blink::WebDOMMessageEvent event) override;
134 void navigate(const blink::WebURLRequest& request, 135 void navigate(const blink::WebURLRequest& request,
135 bool should_replace_current_entry) override; 136 bool should_replace_current_entry) override;
136 void forwardInputEvent(const blink::WebInputEvent* event) override; 137 void forwardInputEvent(const blink::WebInputEvent* event) override;
137 void frameRectsChanged(const blink::WebRect& frame_rect) override; 138 void frameRectsChanged(const blink::WebRect& frame_rect) override;
139 void updateRemoteViewportIntersection(
140 const blink::WebRect& viewportIntersection,
141 const blink::WebPoint& rootOffset) override;
138 void visibilityChanged(bool visible) override; 142 void visibilityChanged(bool visible) override;
139 void didChangeOpener(blink::WebFrame* opener) override; 143 void didChangeOpener(blink::WebFrame* opener) override;
140 void advanceFocus(blink::WebFocusType type, 144 void advanceFocus(blink::WebFocusType type,
141 blink::WebLocalFrame* source) override; 145 blink::WebLocalFrame* source) override;
142 void frameFocused() override; 146 void frameFocused() override;
143 147
144 // IPC handlers 148 // IPC handlers
145 void OnDidStartLoading(); 149 void OnDidStartLoading();
146 150
147 private: 151 private:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 194
191 RenderViewImpl* render_view_; 195 RenderViewImpl* render_view_;
192 RenderWidget* render_widget_; 196 RenderWidget* render_widget_;
193 197
194 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 198 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
195 }; 199 };
196 200
197 } // namespace 201 } // namespace
198 202
199 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 203 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698