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

Side by Side Diff: content/renderer/render_widget.h

Issue 10171018: Create swapped-out opener RVHs after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove parameter comments. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <vector> 10 #include <vector>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 friend class base::RefCounted<RenderWidget>; 160 friend class base::RefCounted<RenderWidget>;
161 // For unit tests. 161 // For unit tests.
162 friend class RenderWidgetTest; 162 friend class RenderWidgetTest;
163 163
164 enum ResizeAck { 164 enum ResizeAck {
165 SEND_RESIZE_ACK, 165 SEND_RESIZE_ACK,
166 NO_RESIZE_ACK, 166 NO_RESIZE_ACK,
167 }; 167 };
168 168
169 RenderWidget(WebKit::WebPopupType popup_type, 169 RenderWidget(WebKit::WebPopupType popup_type,
170 const WebKit::WebScreenInfo& screen_info); 170 const WebKit::WebScreenInfo& screen_info,
171 bool swapped_out);
171 virtual ~RenderWidget(); 172 virtual ~RenderWidget();
172 173
173 // Initializes this view with the given opener. CompleteInit must be called 174 // Initializes this view with the given opener. CompleteInit must be called
174 // later. 175 // later.
175 void Init(int32 opener_id); 176 void Init(int32 opener_id);
176 177
177 // Called by Init and subclasses to perform initialization. 178 // Called by Init and subclasses to perform initialization.
178 void DoInit(int32 opener_id, 179 void DoInit(int32 opener_id,
179 WebKit::WebWidget* web_widget, 180 WebKit::WebWidget* web_widget,
180 IPC::SyncMessage* create_widget_message); 181 IPC::SyncMessage* create_widget_message);
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // Set to true if we should invert all pixels. 519 // Set to true if we should invert all pixels.
519 bool invert_; 520 bool invert_;
520 521
521 // The Skia paint object for inverting. 522 // The Skia paint object for inverting.
522 scoped_ptr<SkPaint> invert_paint_; 523 scoped_ptr<SkPaint> invert_paint_;
523 524
524 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 525 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
525 }; 526 };
526 527
527 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 528 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698