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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Enabled test, fixed bugs 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 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);
148 void OnVisibilityChanged(bool visible); 149 void OnVisibilityChanged(bool visible);
149 void OnSatisfySequence(const cc::SurfaceSequence& sequence); 150 void OnSatisfySequence(const cc::SurfaceSequence& sequence);
150 void OnRequireSequence(const cc::SurfaceId& id, 151 void OnRequireSequence(const cc::SurfaceId& id,
151 const cc::SurfaceSequence& sequence); 152 const cc::SurfaceSequence& sequence);
152 153
153 void SetRect(const gfx::Rect& frame_rect); 154 void SetRect(const gfx::Rect& frame_rect);
154 155
155 // The RenderFrameProxyHost that routes messages to the parent frame's 156 // The RenderFrameProxyHost that routes messages to the parent frame's
156 // renderer process. 157 // renderer process.
157 RenderFrameProxyHost* frame_proxy_in_parent_renderer_; 158 RenderFrameProxyHost* frame_proxy_in_parent_renderer_;
158 159
159 // The RenderWidgetHostView for the frame. Initially NULL. 160 // The RenderWidgetHostView for the frame. Initially NULL.
160 RenderWidgetHostViewChildFrame* view_; 161 RenderWidgetHostViewChildFrame* view_;
161 162
162 gfx::Rect child_frame_rect_; 163 gfx::Rect child_frame_rect_;
163 164
164 bool is_scroll_bubbling_; 165 bool is_scroll_bubbling_;
165 }; 166 };
166 167
167 } // namespace content 168 } // namespace content
168 169
169 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 170 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
170 171
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698