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

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

Issue 11195033: Upstream hooks for javascript touch handlers on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ProcessTouchAck(bool processed) OVERRIDE;
110 virtual void SetHasHorizontalScrollbar( 110 virtual void SetHasHorizontalScrollbar(
111 bool has_horizontal_scrollbar) OVERRIDE; 111 bool has_horizontal_scrollbar) OVERRIDE;
112 virtual void SetScrollOffsetPinning( 112 virtual void SetScrollOffsetPinning(
113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
114 virtual bool LockMouse() OVERRIDE; 114 virtual bool LockMouse() OVERRIDE;
115 virtual void UnlockMouse() OVERRIDE; 115 virtual void UnlockMouse() OVERRIDE;
116 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; 116 virtual void StartContentIntent(const GURL& content_url) OVERRIDE;
117 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; 117 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
118 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; 118 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
119 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, 119 virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
120 float maximum_scale) OVERRIDE; 120 float maximum_scale) OVERRIDE;
121 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset, 121 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset,
122 float page_scale_factor, 122 float page_scale_factor,
123 const gfx::Size& content_size) OVERRIDE; 123 const gfx::Size& content_size) OVERRIDE;
124 124
125 // Non-virtual methods 125 // Non-virtual methods
126 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 126 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
127 SkColor GetCachedBackgroundColor() const; 127 SkColor GetCachedBackgroundColor() const;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // The handle for the transport surface (between renderer and browser-side 161 // The handle for the transport surface (between renderer and browser-side
162 // compositor) for this view. 162 // compositor) for this view.
163 gfx::GLSurfaceHandle shared_surface_; 163 gfx::GLSurfaceHandle shared_surface_;
164 164
165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
166 }; 166 };
167 167
168 } // namespace content 168 } // namespace content
169 169
170 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 170 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698