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

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

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile errors on mac/win Created 8 years 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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 20 matching lines...) Expand all
31 31
32 class WebCursor; 32 class WebCursor;
33 struct ViewHostMsg_UpdateRect_Params; 33 struct ViewHostMsg_UpdateRect_Params;
34 struct ViewHostMsg_TextInputState_Params; 34 struct ViewHostMsg_TextInputState_Params;
35 struct ViewHostMsg_BeginSmoothScroll_Params; 35 struct ViewHostMsg_BeginSmoothScroll_Params;
36 36
37 namespace base { 37 namespace base {
38 class TimeTicks; 38 class TimeTicks;
39 } 39 }
40 40
41 namespace cc {
42 class CompositorFrame;
43 }
44
41 namespace ui { 45 namespace ui {
42 class KeyEvent; 46 class KeyEvent;
43 class Range; 47 class Range;
44 } 48 }
45 49
46 namespace WebKit { 50 namespace WebKit {
47 class WebInputEvent; 51 class WebInputEvent;
48 class WebMouseEvent; 52 class WebMouseEvent;
49 struct WebCompositionUnderline; 53 struct WebCompositionUnderline;
50 struct WebScreenInfo; 54 struct WebScreenInfo;
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 void OnMsgUpdateScreenRectsAck(); 556 void OnMsgUpdateScreenRectsAck();
553 void OnMsgRequestMove(const gfx::Rect& pos); 557 void OnMsgRequestMove(const gfx::Rect& pos);
554 void OnMsgSetTooltipText(const string16& tooltip_text, 558 void OnMsgSetTooltipText(const string16& tooltip_text,
555 WebKit::WebTextDirection text_direction_hint); 559 WebKit::WebTextDirection text_direction_hint);
556 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); 560 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size);
557 void OnCompositorSurfaceBuffersSwapped(int32 surface_id, 561 void OnCompositorSurfaceBuffersSwapped(int32 surface_id,
558 uint64 surface_handle, 562 uint64 surface_handle,
559 int32 route_id, 563 int32 route_id,
560 const gfx::Size& size, 564 const gfx::Size& size,
561 int32 gpu_process_host_id); 565 int32 gpu_process_host_id);
566 void OnMsgSwapCompositorFrame(const cc::CompositorFrame& frame);
562 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 567 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
563 void OnMsgUpdateIsDelayed(); 568 void OnMsgUpdateIsDelayed();
564 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, 569 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type,
565 InputEventAckState ack_result); 570 InputEventAckState ack_result);
566 void OnMsgBeginSmoothScroll( 571 void OnMsgBeginSmoothScroll(
567 int gesture_id, 572 int gesture_id,
568 const ViewHostMsg_BeginSmoothScroll_Params &params); 573 const ViewHostMsg_BeginSmoothScroll_Params &params);
569 void OnMsgSelectRangeAck(); 574 void OnMsgSelectRangeAck();
570 virtual void OnMsgFocus(); 575 virtual void OnMsgFocus();
571 virtual void OnMsgBlur(); 576 virtual void OnMsgBlur();
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 #if defined(OS_WIN) 875 #if defined(OS_WIN)
871 std::list<HWND> dummy_windows_for_activation_; 876 std::list<HWND> dummy_windows_for_activation_;
872 #endif 877 #endif
873 878
874 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 879 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
875 }; 880 };
876 881
877 } // namespace content 882 } // namespace content
878 883
879 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 884 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.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