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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 11308083: Fix the html select tag showing up at the wrong position. This was a regression from r166446. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win_rel Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/web_contents/interstitial_page_impl.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 #include "content/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 process_->SurfaceUpdated(surface_id_); 254 process_->SurfaceUpdated(surface_id_);
255 } 255 }
256 256
257 void RenderWidgetHostImpl::ResetSizeAndRepaintPendingFlags() { 257 void RenderWidgetHostImpl::ResetSizeAndRepaintPendingFlags() {
258 resize_ack_pending_ = false; 258 resize_ack_pending_ = false;
259 repaint_ack_pending_ = false; 259 repaint_ack_pending_ = false;
260 in_flight_size_.SetSize(0, 0); 260 in_flight_size_.SetSize(0, 0);
261 } 261 }
262 262
263 void RenderWidgetHostImpl::SendScreenRects() { 263 void RenderWidgetHostImpl::SendScreenRects() {
264 if (waiting_for_screen_rects_ack_) 264 if (!renderer_initialized_ || waiting_for_screen_rects_ack_)
265 return; 265 return;
266 266
267 if (is_hidden_) { 267 if (is_hidden_) {
268 // On GTK, this comes in for backgrounded tabs. Ignore, to match what 268 // On GTK, this comes in for backgrounded tabs. Ignore, to match what
269 // happens on Win & Mac, and when the view is shown it'll call this again. 269 // happens on Win & Mac, and when the view is shown it'll call this again.
270 return; 270 return;
271 } 271 }
272 272
273 if (!view_) 273 if (!view_)
274 return; 274 return;
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after
2329 return; 2329 return;
2330 2330
2331 OnRenderAutoResized(new_size); 2331 OnRenderAutoResized(new_size);
2332 } 2332 }
2333 2333
2334 void RenderWidgetHostImpl::DetachDelegate() { 2334 void RenderWidgetHostImpl::DetachDelegate() {
2335 delegate_ = NULL; 2335 delegate_ = NULL;
2336 } 2336 }
2337 2337
2338 } // namespace content 2338 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698