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

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: rebased 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 108 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
109 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, 109 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch,
110 bool processed) OVERRIDE; 110 bool processed) OVERRIDE;
111 virtual void SetHasHorizontalScrollbar( 111 virtual void SetHasHorizontalScrollbar(
112 bool has_horizontal_scrollbar) OVERRIDE; 112 bool has_horizontal_scrollbar) OVERRIDE;
113 virtual void SetScrollOffsetPinning( 113 virtual void SetScrollOffsetPinning(
114 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 114 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
115 virtual bool LockMouse() OVERRIDE; 115 virtual bool LockMouse() OVERRIDE;
116 virtual void UnlockMouse() OVERRIDE; 116 virtual void UnlockMouse() OVERRIDE;
117 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; 117 virtual void StartContentIntent(const GURL& content_url) OVERRIDE;
118 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE; 118 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
119 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; 119 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
120 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, 120 virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
121 float maximum_scale) OVERRIDE; 121 float maximum_scale) OVERRIDE;
122 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset, 122 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset,
123 float page_scale_factor, 123 float page_scale_factor,
124 const gfx::Size& content_size) OVERRIDE; 124 const gfx::Size& content_size) OVERRIDE;
125 125
126 // Non-virtual methods 126 // Non-virtual methods
127 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 127 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
128 SkColor GetCachedBackgroundColor() const; 128 SkColor GetCachedBackgroundColor() const;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // The handle for the transport surface (between renderer and browser-side 162 // The handle for the transport surface (between renderer and browser-side
163 // compositor) for this view. 163 // compositor) for this view.
164 gfx::GLSurfaceHandle shared_surface_; 164 gfx::GLSurfaceHandle shared_surface_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
167 }; 167 };
168 168
169 } // namespace content 169 } // namespace content
170 170
171 #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