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

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

Issue 2734043003: Fix Android tab navigation "stretch" regression. (Closed)
Patch Set: REBASE Created 3 years, 9 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 bool OnTouchEvent(const ui::MotionEvent& event); 220 bool OnTouchEvent(const ui::MotionEvent& event);
221 bool OnTouchHandleEvent(const ui::MotionEvent& event); 221 bool OnTouchHandleEvent(const ui::MotionEvent& event);
222 void ResetGestureDetection(); 222 void ResetGestureDetection();
223 void SetDoubleTapSupportEnabled(bool enabled); 223 void SetDoubleTapSupportEnabled(bool enabled);
224 void SetMultiTouchZoomSupportEnabled(bool enabled); 224 void SetMultiTouchZoomSupportEnabled(bool enabled);
225 225
226 long GetNativeImeAdapter(); 226 long GetNativeImeAdapter();
227 227
228 void WasResized(); 228 void WasResized();
229 229
230 void GetScaledContentBitmap(float scale,
231 SkColorType preferred_color_type,
232 gfx::Rect src_subrect,
233 const ReadbackRequestCallback& result_callback);
234
235 bool HasValidFrame() const; 230 bool HasValidFrame() const;
236 231
237 void MoveCaret(const gfx::Point& point); 232 void MoveCaret(const gfx::Point& point);
238 void DismissTextHandles(); 233 void DismissTextHandles();
239 void SetTextHandlesTemporarilyHidden(bool hidden); 234 void SetTextHandlesTemporarilyHidden(bool hidden);
240 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 235 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
241 236
242 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); 237 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata);
243 238
244 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); 239 void SetSynchronousCompositorClient(SynchronousCompositorClient* client);
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 float prev_bottom_shown_pix_; 393 float prev_bottom_shown_pix_;
399 394
400 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 395 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
401 396
402 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 397 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
403 }; 398 };
404 399
405 } // namespace content 400 } // namespace content
406 401
407 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 402 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698