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

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

Issue 273113005: Remove ViewHostMsg_UpdateIsDelayed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 void OnRequestMove(const gfx::Rect& pos); 630 void OnRequestMove(const gfx::Rect& pos);
631 void OnSetTooltipText(const base::string16& tooltip_text, 631 void OnSetTooltipText(const base::string16& tooltip_text,
632 blink::WebTextDirection text_direction_hint); 632 blink::WebTextDirection text_direction_hint);
633 #if defined(OS_MACOSX) 633 #if defined(OS_MACOSX)
634 void OnCompositorSurfaceBuffersSwapped( 634 void OnCompositorSurfaceBuffersSwapped(
635 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); 635 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params);
636 #endif 636 #endif
637 bool OnSwapCompositorFrame(const IPC::Message& message); 637 bool OnSwapCompositorFrame(const IPC::Message& message);
638 void OnFlingingStopped(); 638 void OnFlingingStopped();
639 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 639 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
640 void OnUpdateIsDelayed();
641 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 640 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
642 virtual void OnFocus(); 641 virtual void OnFocus();
643 virtual void OnBlur(); 642 virtual void OnBlur();
644 void OnSetCursor(const WebCursor& cursor); 643 void OnSetCursor(const WebCursor& cursor);
645 void OnSetTouchEventEmulationEnabled(bool enabled, bool allow_pinch); 644 void OnSetTouchEventEmulationEnabled(bool enabled, bool allow_pinch);
646 void OnTextInputTypeChanged(ui::TextInputType type, 645 void OnTextInputTypeChanged(ui::TextInputType type,
647 ui::TextInputMode input_mode, 646 ui::TextInputMode input_mode,
648 bool can_compose_inline); 647 bool can_compose_inline);
649 #if defined(OS_MACOSX) || defined(USE_AURA) 648 #if defined(OS_MACOSX) || defined(USE_AURA)
650 void OnImeCompositionRangeChanged( 649 void OnImeCompositionRangeChanged(
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 // This value denotes the number of input events yet to be acknowledged 812 // This value denotes the number of input events yet to be acknowledged
814 // by the renderer. 813 // by the renderer.
815 int in_flight_event_count_; 814 int in_flight_event_count_;
816 815
817 // This timer runs to check if time_when_considered_hung_ has past. 816 // This timer runs to check if time_when_considered_hung_ has past.
818 base::OneShotTimer<RenderWidgetHostImpl> hung_renderer_timer_; 817 base::OneShotTimer<RenderWidgetHostImpl> hung_renderer_timer_;
819 818
820 // Flag to detect recursive calls to GetBackingStore(). 819 // Flag to detect recursive calls to GetBackingStore().
821 bool in_get_backing_store_; 820 bool in_get_backing_store_;
822 821
823 // Flag to trigger the GetBackingStore method to abort early.
824 bool abort_get_backing_store_;
825
826 // Set when we call DidPaintRect/DidScrollRect on the view. 822 // Set when we call DidPaintRect/DidScrollRect on the view.
827 bool view_being_painted_; 823 bool view_being_painted_;
828 824
829 // Used for UMA histogram logging to measure the time for a repaint view 825 // Used for UMA histogram logging to measure the time for a repaint view
830 // operation to finish. 826 // operation to finish.
831 base::TimeTicks repaint_start_time_; 827 base::TimeTicks repaint_start_time_;
832 828
833 // Set to true if we shouldn't send input events from the render widget. 829 // Set to true if we shouldn't send input events from the render widget.
834 bool ignore_input_events_; 830 bool ignore_input_events_;
835 831
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 #endif 885 #endif
890 886
891 int64 last_input_number_; 887 int64 last_input_number_;
892 888
893 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 889 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
894 }; 890 };
895 891
896 } // namespace content 892 } // namespace content
897 893
898 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 894 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698