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

Side by Side Diff: chrome/renderer/render_widget.cc

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 3 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 | « chrome/renderer/render_view.cc ('k') | chrome/renderer/webplugin_delegate_proxy.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/renderer/render_widget.h" 5 #include "chrome/renderer/render_widget.h"
6 6
7 #include "base/gfx/point.h" 7 #include "base/gfx/point.h"
8 #include "base/gfx/size.h" 8 #include "base/gfx/size.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 28 matching lines...) Expand all
39 using WebKit::WebRect; 39 using WebKit::WebRect;
40 using WebKit::WebScreenInfo; 40 using WebKit::WebScreenInfo;
41 using WebKit::WebSize; 41 using WebKit::WebSize;
42 using WebKit::WebTextDirection; 42 using WebKit::WebTextDirection;
43 43
44 RenderWidget::RenderWidget(RenderThreadBase* render_thread, bool activatable) 44 RenderWidget::RenderWidget(RenderThreadBase* render_thread, bool activatable)
45 : routing_id_(MSG_ROUTING_NONE), 45 : routing_id_(MSG_ROUTING_NONE),
46 webwidget_(NULL), 46 webwidget_(NULL),
47 opener_id_(MSG_ROUTING_NONE), 47 opener_id_(MSG_ROUTING_NONE),
48 render_thread_(render_thread), 48 render_thread_(render_thread),
49 host_window_(0), 49 host_window_(NULL),
50 current_paint_buf_(NULL), 50 current_paint_buf_(NULL),
51 current_scroll_buf_(NULL), 51 current_scroll_buf_(NULL),
52 next_paint_flags_(0), 52 next_paint_flags_(0),
53 paint_reply_pending_(false), 53 paint_reply_pending_(false),
54 did_show_(false), 54 did_show_(false),
55 is_hidden_(false), 55 is_hidden_(false),
56 needs_repainting_on_restore_(false), 56 needs_repainting_on_restore_(false),
57 has_focus_(false), 57 has_focus_(false),
58 handling_input_event_(false), 58 handling_input_event_(false),
59 closing_(false), 59 closing_(false),
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 872
873 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { 873 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) {
874 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); 874 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin();
875 i != plugin_window_moves_.end(); ++i) { 875 i != plugin_window_moves_.end(); ++i) {
876 if (i->window == window) { 876 if (i->window == window) {
877 plugin_window_moves_.erase(i); 877 plugin_window_moves_.erase(i);
878 break; 878 break;
879 } 879 }
880 } 880 }
881 } 881 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698