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

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

Issue 8366032: Fix fullscreen API event delivery to be delayed until the state change has (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 9 #include <vector>
10 10
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // scroll offset. 263 // scroll offset.
264 virtual gfx::Point GetScrollOffset(); 264 virtual gfx::Point GetScrollOffset();
265 265
266 // Sets the "hidden" state of this widget. All accesses to is_hidden_ should 266 // Sets the "hidden" state of this widget. All accesses to is_hidden_ should
267 // use this method so that we can properly inform the RenderThread of our 267 // use this method so that we can properly inform the RenderThread of our
268 // state. 268 // state.
269 void SetHidden(bool hidden); 269 void SetHidden(bool hidden);
270 270
271 bool is_hidden() const { return is_hidden_; } 271 bool is_hidden() const { return is_hidden_; }
272 272
273 void WillToggleFullscreen();
274 void DidToggleFullscreen();
275
273 // True if an UpdateRect_ACK message is pending. 276 // True if an UpdateRect_ACK message is pending.
274 bool update_reply_pending() const { 277 bool update_reply_pending() const {
275 return update_reply_pending_; 278 return update_reply_pending_;
276 } 279 }
277 280
278 bool next_paint_is_resize_ack() const; 281 bool next_paint_is_resize_ack() const;
279 bool next_paint_is_restore_ack() const; 282 bool next_paint_is_restore_ack() const;
280 void set_next_paint_is_resize_ack(); 283 void set_next_paint_is_resize_ack();
281 void set_next_paint_is_restore_ack(); 284 void set_next_paint_is_restore_ack();
282 void set_next_paint_is_repaint_ack(); 285 void set_next_paint_is_repaint_ack();
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 bool animation_task_posted_; 470 bool animation_task_posted_;
468 bool invalidation_task_posted_; 471 bool invalidation_task_posted_;
469 472
470 bool has_disable_gpu_vsync_switch_; 473 bool has_disable_gpu_vsync_switch_;
471 base::TimeTicks last_do_deferred_update_time_; 474 base::TimeTicks last_do_deferred_update_time_;
472 475
473 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 476 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
474 }; 477 };
475 478
476 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 479 #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