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

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

Issue 11148008: touch-event queue: Add a touch-event queue for all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 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_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 const gfx::Rect& src_subrect, 99 const gfx::Rect& src_subrect,
100 const gfx::Size& dst_size, 100 const gfx::Size& dst_size,
101 const base::Callback<void(bool)>& callback, 101 const base::Callback<void(bool)>& callback,
102 skia::PlatformBitmap* output) OVERRIDE; 102 skia::PlatformBitmap* output) OVERRIDE;
103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
104 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 104 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
105 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 105 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
106 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 106 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
107 virtual void UnhandledWheelEvent( 107 virtual void UnhandledWheelEvent(
108 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 108 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
109 virtual void ProcessTouchAck(bool processed) OVERRIDE; 109 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch,
110 bool processed) OVERRIDE;
110 virtual void SetHasHorizontalScrollbar( 111 virtual void SetHasHorizontalScrollbar(
111 bool has_horizontal_scrollbar) OVERRIDE; 112 bool has_horizontal_scrollbar) OVERRIDE;
112 virtual void SetScrollOffsetPinning( 113 virtual void SetScrollOffsetPinning(
113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 114 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
114 virtual bool LockMouse() OVERRIDE; 115 virtual bool LockMouse() OVERRIDE;
115 virtual void UnlockMouse() OVERRIDE; 116 virtual void UnlockMouse() OVERRIDE;
116 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; 117 virtual void StartContentIntent(const GURL& content_url) OVERRIDE;
117 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; 118 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE;
118 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; 119 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
119 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, 120 virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // The handle for the transport surface (between renderer and browser-side 162 // The handle for the transport surface (between renderer and browser-side
162 // compositor) for this view. 163 // compositor) for this view.
163 gfx::GLSurfaceHandle shared_surface_; 164 gfx::GLSurfaceHandle shared_surface_;
164 165
165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
166 }; 167 };
167 168
168 } // namespace content 169 } // namespace content
169 170
170 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 171 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698