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

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

Issue 132383005: Set correct viewport size for an out of process iframe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 friend class RenderWidgetHostView; 171 friend class RenderWidgetHostView;
172 172
173 // Members will become private when RenderWidgetHostViewGuest is removed. 173 // Members will become private when RenderWidgetHostViewGuest is removed.
174 // The model object. 174 // The model object.
175 RenderWidgetHostImpl* host_; 175 RenderWidgetHostImpl* host_;
176 176
177 // frame_connector_ provides a platform abstraction. Messages 177 // frame_connector_ provides a platform abstraction. Messages
178 // sent through it are routed to the embedding renderer process. 178 // sent through it are routed to the embedding renderer process.
179 CrossProcessFrameConnector* frame_connector_; 179 CrossProcessFrameConnector* frame_connector_;
180 180
181 gfx::Size size_;
182
183 private: 181 private:
184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 182 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
185 }; 183 };
186 184
187 } // namespace content 185 } // namespace content
188 186
189 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 187 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698