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

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

Issue 15689003: Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missed lines Created 7 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 18 matching lines...) Expand all
29 #include "content/common/view_message_enums.h" 29 #include "content/common/view_message_enums.h"
30 #include "content/port/common/input_event_ack_state.h" 30 #include "content/port/common/input_event_ack_state.h"
31 #include "content/public/browser/render_widget_host.h" 31 #include "content/public/browser/render_widget_host.h"
32 #include "content/public/common/page_zoom.h" 32 #include "content/public/common/page_zoom.h"
33 #include "ipc/ipc_listener.h" 33 #include "ipc/ipc_listener.h"
34 #include "ui/base/ime/text_input_type.h" 34 #include "ui/base/ime/text_input_type.h"
35 #include "ui/gfx/native_widget_types.h" 35 #include "ui/gfx/native_widget_types.h"
36 36
37 class WebCursor; 37 class WebCursor;
38 struct AcceleratedSurfaceMsg_BufferPresented_Params; 38 struct AcceleratedSurfaceMsg_BufferPresented_Params;
39 struct ViewHostMsg_CompositorSurfaceBuffersSwapped_Params;
39 struct ViewHostMsg_UpdateRect_Params; 40 struct ViewHostMsg_UpdateRect_Params;
40 struct ViewHostMsg_TextInputState_Params; 41 struct ViewHostMsg_TextInputState_Params;
41 struct ViewHostMsg_BeginSmoothScroll_Params; 42 struct ViewHostMsg_BeginSmoothScroll_Params;
42 43
43 namespace base { 44 namespace base {
44 class TimeTicks; 45 class TimeTicks;
45 } 46 }
46 47
47 namespace cc { 48 namespace cc {
48 class CompositorFrame; 49 class CompositorFrame;
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 601
601 // IPC message handlers 602 // IPC message handlers
602 void OnRenderViewReady(); 603 void OnRenderViewReady();
603 void OnRenderViewGone(int status, int error_code); 604 void OnRenderViewGone(int status, int error_code);
604 void OnClose(); 605 void OnClose();
605 void OnUpdateScreenRectsAck(); 606 void OnUpdateScreenRectsAck();
606 void OnRequestMove(const gfx::Rect& pos); 607 void OnRequestMove(const gfx::Rect& pos);
607 void OnSetTooltipText(const string16& tooltip_text, 608 void OnSetTooltipText(const string16& tooltip_text,
608 WebKit::WebTextDirection text_direction_hint); 609 WebKit::WebTextDirection text_direction_hint);
609 void OnPaintAtSizeAck(int tag, const gfx::Size& size); 610 void OnPaintAtSizeAck(int tag, const gfx::Size& size);
610 void OnCompositorSurfaceBuffersSwapped(int32 surface_id, 611 void OnCompositorSurfaceBuffersSwapped(
611 uint64 surface_handle, 612 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params);
612 int32 route_id,
613 const gfx::Size& size,
614 int32 gpu_process_host_id);
615 bool OnSwapCompositorFrame(const IPC::Message& message); 613 bool OnSwapCompositorFrame(const IPC::Message& message);
616 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 614 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
617 gfx::Vector2dF current_fling_velocity); 615 gfx::Vector2dF current_fling_velocity);
618 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 616 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
619 void OnUpdateIsDelayed(); 617 void OnUpdateIsDelayed();
620 void OnInputEventAck(WebKit::WebInputEvent::Type event_type, 618 void OnInputEventAck(WebKit::WebInputEvent::Type event_type,
621 InputEventAckState ack_result); 619 InputEventAckState ack_result);
622 void OnBeginSmoothScroll( 620 void OnBeginSmoothScroll(
623 const ViewHostMsg_BeginSmoothScroll_Params& params); 621 const ViewHostMsg_BeginSmoothScroll_Params& params);
624 void OnSelectRangeAck(); 622 void OnSelectRangeAck();
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; 905 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_;
908 906
909 int64 last_input_number_; 907 int64 last_input_number_;
910 908
911 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 909 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
912 }; 910 };
913 911
914 } // namespace content 912 } // namespace content
915 913
916 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 914 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698