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

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

Issue 11415227: Telemtry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove inline virtual dtor Created 8 years 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 <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; 132 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
133 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, 133 virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
134 float maximum_scale) OVERRIDE; 134 float maximum_scale) OVERRIDE;
135 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, 135 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset,
136 float page_scale_factor, 136 float page_scale_factor,
137 float min_page_scale_factor, 137 float min_page_scale_factor,
138 float max_page_scale_factor, 138 float max_page_scale_factor,
139 const gfx::Size& content_size) OVERRIDE; 139 const gfx::Size& content_size) OVERRIDE;
140 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 140 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
141 const SkBitmap& zoomed_bitmap) OVERRIDE; 141 const SkBitmap& zoomed_bitmap) OVERRIDE;
142 virtual SmoothScrollGesture* CreateSmoothScrollGesture(
143 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
144 int mouse_event_y) OVERRIDE;
142 145
143 // Non-virtual methods 146 // Non-virtual methods
144 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 147 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
145 SkColor GetCachedBackgroundColor() const; 148 SkColor GetCachedBackgroundColor() const;
146 void SendKeyEvent(const NativeWebKeyboardEvent& event); 149 void SendKeyEvent(const NativeWebKeyboardEvent& event);
147 void SendTouchEvent(const WebKit::WebTouchEvent& event); 150 void SendTouchEvent(const WebKit::WebTouchEvent& event);
148 void SendMouseEvent(const WebKit::WebMouseEvent& event); 151 void SendMouseEvent(const WebKit::WebMouseEvent& event);
149 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); 152 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event);
150 void SendGestureEvent(const WebKit::WebGestureEvent& event); 153 void SendGestureEvent(const WebKit::WebGestureEvent& event);
151 154
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 202
200 // The identifier of the previously received frame 203 // The identifier of the previously received frame
201 uint64 current_buffer_id_; 204 uint64 current_buffer_id_;
202 205
203 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 206 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
204 }; 207 };
205 208
206 } // namespace content 209 } // namespace content
207 210
208 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 211 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698