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

Side by Side Diff: content/browser/frame_host/cross_process_frame_connector.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_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // Exposed for tests. 139 // Exposed for tests.
140 RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() { 140 RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() {
141 return GetRootRenderWidgetHostView(); 141 return GetRootRenderWidgetHostView();
142 } 142 }
143 143
144 private: 144 private:
145 // Handlers for messages received from the parent frame. 145 // Handlers for messages received from the parent frame.
146 void OnForwardInputEvent(const blink::WebInputEvent* event); 146 void OnForwardInputEvent(const blink::WebInputEvent* event);
147 void OnFrameRectChanged(const gfx::Rect& frame_rect); 147 void OnFrameRectChanged(const gfx::Rect& frame_rect);
148 void OnUpdateViewportIntersection(const gfx::Rect& viewport_intersection,
149 const gfx::Point& root_offset);
148 void OnVisibilityChanged(bool visible); 150 void OnVisibilityChanged(bool visible);
149 void OnSatisfySequence(const cc::SurfaceSequence& sequence); 151 void OnSatisfySequence(const cc::SurfaceSequence& sequence);
150 void OnRequireSequence(const cc::SurfaceId& id, 152 void OnRequireSequence(const cc::SurfaceId& id,
151 const cc::SurfaceSequence& sequence); 153 const cc::SurfaceSequence& sequence);
152 154
153 void SetRect(const gfx::Rect& frame_rect); 155 void SetRect(const gfx::Rect& frame_rect);
154 156
155 // The RenderFrameProxyHost that routes messages to the parent frame's 157 // The RenderFrameProxyHost that routes messages to the parent frame's
156 // renderer process. 158 // renderer process.
157 RenderFrameProxyHost* frame_proxy_in_parent_renderer_; 159 RenderFrameProxyHost* frame_proxy_in_parent_renderer_;
158 160
159 // The RenderWidgetHostView for the frame. Initially NULL. 161 // The RenderWidgetHostView for the frame. Initially NULL.
160 RenderWidgetHostViewChildFrame* view_; 162 RenderWidgetHostViewChildFrame* view_;
161 163
162 gfx::Rect child_frame_rect_; 164 gfx::Rect child_frame_rect_;
163 165
164 bool is_scroll_bubbling_; 166 bool is_scroll_bubbling_;
165 }; 167 };
166 168
167 } // namespace content 169 } // namespace content
168 170
169 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 171 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
170 172
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698