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

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

Issue 12077046: Plumb an overscroll callback form the compositor to the Android UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 14 matching lines...) Expand all
25 #include "content/port/common/input_event_ack_state.h" 25 #include "content/port/common/input_event_ack_state.h"
26 #include "content/public/browser/render_widget_host.h" 26 #include "content/public/browser/render_widget_host.h"
27 #include "content/public/common/page_zoom.h" 27 #include "content/public/common/page_zoom.h"
28 #include "ipc/ipc_listener.h" 28 #include "ipc/ipc_listener.h"
29 #include "ui/base/ime/text_input_type.h" 29 #include "ui/base/ime/text_input_type.h"
30 #include "ui/gfx/native_widget_types.h" 30 #include "ui/gfx/native_widget_types.h"
31 31
32 class WebCursor; 32 class WebCursor;
33 struct AcceleratedSurfaceMsg_BufferPresented_Params; 33 struct AcceleratedSurfaceMsg_BufferPresented_Params;
34 struct ViewHostMsg_UpdateRect_Params; 34 struct ViewHostMsg_UpdateRect_Params;
35 struct ViewHostMsg_UpdateFrameInfo_Params;
35 struct ViewHostMsg_TextInputState_Params; 36 struct ViewHostMsg_TextInputState_Params;
36 struct ViewHostMsg_BeginSmoothScroll_Params; 37 struct ViewHostMsg_BeginSmoothScroll_Params;
37 38
38 namespace base { 39 namespace base {
39 class TimeTicks; 40 class TimeTicks;
40 } 41 }
41 42
42 namespace cc { 43 namespace cc {
43 class CompositorFrame; 44 class CompositorFrame;
44 } 45 }
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 int32 height, 597 int32 height,
597 uint64 mach_port); 598 uint64 mach_port);
598 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, 599 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window,
599 int32 width, 600 int32 width,
600 int32 height, 601 int32 height,
601 TransportDIB::Handle transport_dib); 602 TransportDIB::Handle transport_dib);
602 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, 603 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window,
603 uint64 surface_handle); 604 uint64 surface_handle);
604 #endif 605 #endif
605 #if defined(OS_ANDROID) 606 #if defined(OS_ANDROID)
606 void OnUpdateFrameInfo(const gfx::Vector2d& scroll_offset, 607 void OnUpdateFrameInfo(const ViewHostMsg_UpdateFrameInfo_Params& params);
607 float page_scale_factor,
608 float min_page_scale_factor,
609 float max_page_scale_factor,
610 const gfx::Size& content_size);
611 #endif 608 #endif
612 #if defined(TOOLKIT_GTK) 609 #if defined(TOOLKIT_GTK)
613 void OnCreatePluginContainer(gfx::PluginWindowHandle id); 610 void OnCreatePluginContainer(gfx::PluginWindowHandle id);
614 void OnDestroyPluginContainer(gfx::PluginWindowHandle id); 611 void OnDestroyPluginContainer(gfx::PluginWindowHandle id);
615 #endif 612 #endif
616 #if defined(OS_WIN) 613 #if defined(OS_WIN)
617 void OnWindowlessPluginDummyWindowCreated( 614 void OnWindowlessPluginDummyWindowCreated(
618 gfx::NativeViewId dummy_activation_window); 615 gfx::NativeViewId dummy_activation_window);
619 void OnWindowlessPluginDummyWindowDestroyed( 616 void OnWindowlessPluginDummyWindowDestroyed(
620 gfx::NativeViewId dummy_activation_window); 617 gfx::NativeViewId dummy_activation_window);
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 #if defined(OS_WIN) 871 #if defined(OS_WIN)
875 std::list<HWND> dummy_windows_for_activation_; 872 std::list<HWND> dummy_windows_for_activation_;
876 #endif 873 #endif
877 874
878 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 875 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
879 }; 876 };
880 877
881 } // namespace content 878 } // namespace content
882 879
883 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 880 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698