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

Side by Side Diff: content/browser/renderer_host/render_widget_host.h

Issue 8498036: Delay UpdateRect until the SwapBuffers callback when accelerated compositing is on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 522
523 // IPC message handlers 523 // IPC message handlers
524 void OnMsgRenderViewReady(); 524 void OnMsgRenderViewReady();
525 void OnMsgRenderViewGone(int status, int error_code); 525 void OnMsgRenderViewGone(int status, int error_code);
526 void OnMsgClose(); 526 void OnMsgClose();
527 void OnMsgRequestMove(const gfx::Rect& pos); 527 void OnMsgRequestMove(const gfx::Rect& pos);
528 void OnMsgSetTooltipText(const string16& tooltip_text, 528 void OnMsgSetTooltipText(const string16& tooltip_text,
529 WebKit::WebTextDirection text_direction_hint); 529 WebKit::WebTextDirection text_direction_hint);
530 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); 530 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size);
531 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 531 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
532 void OnMsgUpdateIsDelayed();
532 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, 533 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type,
533 bool processed); 534 bool processed);
534 virtual void OnMsgFocus(); 535 virtual void OnMsgFocus();
535 virtual void OnMsgBlur(); 536 virtual void OnMsgBlur();
536 537
537 void OnMsgSetCursor(const WebCursor& cursor); 538 void OnMsgSetCursor(const WebCursor& cursor);
538 void OnMsgTextInputStateChanged(ui::TextInputType type, 539 void OnMsgTextInputStateChanged(ui::TextInputType type,
539 bool can_compose_inline); 540 bool can_compose_inline);
540 void OnMsgImeCompositionRangeChanged(const ui::Range& range); 541 void OnMsgImeCompositionRangeChanged(const ui::Range& range);
541 void OnMsgImeCancelComposition(); 542 void OnMsgImeCancelComposition();
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 gfx::Point last_scroll_offset_; 768 gfx::Point last_scroll_offset_;
768 769
769 bool pending_mouse_lock_request_; 770 bool pending_mouse_lock_request_;
770 771
771 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; 772 base::WeakPtrFactory<RenderWidgetHost> weak_factory_;
772 773
773 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 774 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
774 }; 775 };
775 776
776 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 777 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698