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

Side by Side Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: dcheng comments addressed Created 3 years, 11 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
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Exposed for tests. 138 // Exposed for tests.
139 RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() { 139 RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() {
140 return GetRootRenderWidgetHostView(); 140 return GetRootRenderWidgetHostView();
141 } 141 }
142 142
143 private: 143 private:
144 // Handlers for messages received from the parent frame. 144 // Handlers for messages received from the parent frame.
145 void OnForwardInputEvent(const blink::WebInputEvent* event); 145 void OnForwardInputEvent(const blink::WebInputEvent* event);
146 void OnFrameRectChanged(const gfx::Rect& frame_rect); 146 void OnFrameRectChanged(const gfx::Rect& frame_rect);
147 void OnUpdateViewportIntersection(const gfx::Rect& viewport_intersection);
147 void OnVisibilityChanged(bool visible); 148 void OnVisibilityChanged(bool visible);
148 void OnSatisfySequence(const cc::SurfaceSequence& sequence); 149 void OnSatisfySequence(const cc::SurfaceSequence& sequence);
149 void OnRequireSequence(const cc::SurfaceId& id, 150 void OnRequireSequence(const cc::SurfaceId& id,
150 const cc::SurfaceSequence& sequence); 151 const cc::SurfaceSequence& sequence);
151 152
152 void SetRect(const gfx::Rect& frame_rect); 153 void SetRect(const gfx::Rect& frame_rect);
153 154
154 // The RenderFrameProxyHost that routes messages to the parent frame's 155 // The RenderFrameProxyHost that routes messages to the parent frame's
155 // renderer process. 156 // renderer process.
156 RenderFrameProxyHost* frame_proxy_in_parent_renderer_; 157 RenderFrameProxyHost* frame_proxy_in_parent_renderer_;
157 158
158 // The RenderWidgetHostView for the frame. Initially NULL. 159 // The RenderWidgetHostView for the frame. Initially NULL.
159 RenderWidgetHostViewChildFrame* view_; 160 RenderWidgetHostViewChildFrame* view_;
160 161
161 gfx::Rect child_frame_rect_; 162 gfx::Rect child_frame_rect_;
162 163
163 bool is_scroll_bubbling_; 164 bool is_scroll_bubbling_;
164 }; 165 };
165 166
166 } // namespace content 167 } // namespace content
167 168
168 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 169 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
169 170
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698