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

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 struct_traits tests. 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 void RendererIsResponsive(); 622 void RendererIsResponsive();
619 623
620 // IPC message handlers 624 // IPC message handlers
621 void OnRenderProcessGone(int status, int error_code); 625 void OnRenderProcessGone(int status, int error_code);
622 void OnClose(); 626 void OnClose();
623 void OnUpdateScreenRectsAck(); 627 void OnUpdateScreenRectsAck();
624 void OnRequestMove(const gfx::Rect& pos); 628 void OnRequestMove(const gfx::Rect& pos);
625 void OnSetTooltipText(const base::string16& tooltip_text, 629 void OnSetTooltipText(const base::string16& tooltip_text,
626 blink::WebTextDirection text_direction_hint); 630 blink::WebTextDirection text_direction_hint);
627 bool OnSwapCompositorFrame(const IPC::Message& message); 631 bool OnSwapCompositorFrame(const IPC::Message& message);
632 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack);
628 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 633 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
629 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 634 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
630 void OnSetCursor(const WebCursor& cursor); 635 void OnSetCursor(const WebCursor& cursor);
631 void OnTextInputStateChanged(const TextInputState& params); 636 void OnTextInputStateChanged(const TextInputState& params);
632 637
633 void OnImeCompositionRangeChanged( 638 void OnImeCompositionRangeChanged(
634 const gfx::Range& range, 639 const gfx::Range& range,
635 const std::vector<gfx::Rect>& character_bounds); 640 const std::vector<gfx::Rect>& character_bounds);
636 void OnImeCancelComposition(); 641 void OnImeCancelComposition();
637 void OnLockMouse(bool user_gesture, 642 void OnLockMouse(bool user_gesture,
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 #endif 916 #endif
912 917
913 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 918 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
914 919
915 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 920 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
916 }; 921 };
917 922
918 } // namespace content 923 } // namespace content
919 924
920 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 925 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698