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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Rebase only Created 3 years, 7 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Exposed for tests. 136 // Exposed for tests.
137 RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() { 137 RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() {
138 return GetRootRenderWidgetHostView(); 138 return GetRootRenderWidgetHostView();
139 } 139 }
140 140
141 private: 141 private:
142 // Handlers for messages received from the parent frame. 142 // Handlers for messages received from the parent frame.
143 void OnFrameRectChanged(const gfx::Rect& frame_rect); 143 void OnFrameRectChanged(const gfx::Rect& frame_rect);
144 void OnUpdateViewportIntersection(const gfx::Rect& viewport_intersection); 144 void OnUpdateViewportIntersection(const gfx::Rect& viewport_intersection);
145 void OnVisibilityChanged(bool visible); 145 void OnVisibilityChanged(bool visible);
146 void OnSetIsInert(bool);
146 void OnSatisfySequence(const cc::SurfaceSequence& sequence); 147 void OnSatisfySequence(const cc::SurfaceSequence& sequence);
147 void OnRequireSequence(const cc::SurfaceId& id, 148 void OnRequireSequence(const cc::SurfaceId& id,
148 const cc::SurfaceSequence& sequence); 149 const cc::SurfaceSequence& sequence);
149 150
150 void SetRect(const gfx::Rect& frame_rect); 151 void SetRect(const gfx::Rect& frame_rect);
151 152
152 // The RenderFrameProxyHost that routes messages to the parent frame's 153 // The RenderFrameProxyHost that routes messages to the parent frame's
153 // renderer process. 154 // renderer process.
154 RenderFrameProxyHost* frame_proxy_in_parent_renderer_; 155 RenderFrameProxyHost* frame_proxy_in_parent_renderer_;
155 156
156 // The RenderWidgetHostView for the frame. Initially NULL. 157 // The RenderWidgetHostView for the frame. Initially NULL.
157 RenderWidgetHostViewChildFrame* view_; 158 RenderWidgetHostViewChildFrame* view_;
158 159
159 gfx::Rect child_frame_rect_; 160 gfx::Rect child_frame_rect_;
160 161
161 bool is_scroll_bubbling_; 162 bool is_scroll_bubbling_;
162 }; 163 };
163 164
164 } // namespace content 165 } // namespace content
165 166
166 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 167 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
167 168
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698