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

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

Issue 11793003: Relands: Telemetry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 7 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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual void OnAccessibilityNotifications( 142 virtual void OnAccessibilityNotifications(
143 const std::vector<AccessibilityHostMsg_NotificationParams>& 143 const std::vector<AccessibilityHostMsg_NotificationParams>&
144 params) OVERRIDE; 144 params) OVERRIDE;
145 virtual bool LockMouse() OVERRIDE; 145 virtual bool LockMouse() OVERRIDE;
146 virtual void UnlockMouse() OVERRIDE; 146 virtual void UnlockMouse() OVERRIDE;
147 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 147 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
148 virtual void OnSwapCompositorFrame( 148 virtual void OnSwapCompositorFrame(
149 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 149 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
150 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 150 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
151 const SkBitmap& zoomed_bitmap) OVERRIDE; 151 const SkBitmap& zoomed_bitmap) OVERRIDE;
152 virtual SmoothScrollGesture* CreateSmoothScrollGesture(
153 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
154 int mouse_event_y) OVERRIDE;
152 155
153 // cc::TextureLayerClient implementation. 156 // cc::TextureLayerClient implementation.
154 virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE; 157 virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE;
155 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 158 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
156 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE; 159 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE;
157 160
158 // Non-virtual methods 161 // Non-virtual methods
159 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 162 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
160 SkColor GetCachedBackgroundColor() const; 163 SkColor GetCachedBackgroundColor() const;
161 void SendKeyEvent(const NativeWebKeyboardEvent& event); 164 void SendKeyEvent(const NativeWebKeyboardEvent& event);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 gpu::Mailbox last_mailbox_; 245 gpu::Mailbox last_mailbox_;
243 246
244 std::queue<base::Closure> ack_callbacks_; 247 std::queue<base::Closure> ack_callbacks_;
245 248
246 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 249 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
247 }; 250 };
248 251
249 } // namespace content 252 } // namespace content
250 253
251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 254 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698