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

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

Issue 2740833005: [cc] Pass on BeginFrameAcks from CompositorEBFS through RWHVAura, DFH. (Closed)
Patch Set: add todo to QueueMessageSwapPromise::DidNotSwap. Created 3 years, 9 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 struct FrameHostMsg_HittestData_Params; 53 struct FrameHostMsg_HittestData_Params;
54 struct ViewHostMsg_SelectionBounds_Params; 54 struct ViewHostMsg_SelectionBounds_Params;
55 struct ViewHostMsg_UpdateRect_Params; 55 struct ViewHostMsg_UpdateRect_Params;
56 56
57 namespace blink { 57 namespace blink {
58 class WebInputEvent; 58 class WebInputEvent;
59 class WebMouseEvent; 59 class WebMouseEvent;
60 struct WebCompositionUnderline; 60 struct WebCompositionUnderline;
61 } 61 }
62 62
63 namespace cc {
64 struct BeginFrameAck;
65 } // namespace cc
66
63 #if defined(OS_MACOSX) 67 #if defined(OS_MACOSX)
64 namespace device { 68 namespace device {
65 class PowerSaveBlocker; 69 class PowerSaveBlocker;
66 } // namespace device 70 } // namespace device
67 #endif 71 #endif
68 72
69 namespace gfx { 73 namespace gfx {
70 class Image; 74 class Image;
71 class Range; 75 class Range;
72 } 76 }
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 void RendererIsResponsive(); 614 void RendererIsResponsive();
611 615
612 // IPC message handlers 616 // IPC message handlers
613 void OnRenderProcessGone(int status, int error_code); 617 void OnRenderProcessGone(int status, int error_code);
614 void OnClose(); 618 void OnClose();
615 void OnUpdateScreenRectsAck(); 619 void OnUpdateScreenRectsAck();
616 void OnRequestMove(const gfx::Rect& pos); 620 void OnRequestMove(const gfx::Rect& pos);
617 void OnSetTooltipText(const base::string16& tooltip_text, 621 void OnSetTooltipText(const base::string16& tooltip_text,
618 blink::WebTextDirection text_direction_hint); 622 blink::WebTextDirection text_direction_hint);
619 bool OnSwapCompositorFrame(const IPC::Message& message); 623 bool OnSwapCompositorFrame(const IPC::Message& message);
624 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack);
620 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 625 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
621 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 626 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
622 void OnSetCursor(const WebCursor& cursor); 627 void OnSetCursor(const WebCursor& cursor);
623 void OnTextInputStateChanged(const TextInputState& params); 628 void OnTextInputStateChanged(const TextInputState& params);
624 629
625 void OnImeCompositionRangeChanged( 630 void OnImeCompositionRangeChanged(
626 const gfx::Range& range, 631 const gfx::Range& range,
627 const std::vector<gfx::Rect>& character_bounds); 632 const std::vector<gfx::Rect>& character_bounds);
628 void OnImeCancelComposition(); 633 void OnImeCancelComposition();
629 void OnLockMouse(bool user_gesture, 634 void OnLockMouse(bool user_gesture,
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 #endif 908 #endif
904 909
905 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 910 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
906 911
907 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 912 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
908 }; 913 };
909 914
910 } // namespace content 915 } // namespace content
911 916
912 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 917 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698