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

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: 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 void ResetGestureDetection(); 204 void ResetGestureDetection();
205 void SetDoubleTapSupportEnabled(bool enabled); 205 void SetDoubleTapSupportEnabled(bool enabled);
206 void SetMultiTouchZoomSupportEnabled(bool enabled); 206 void SetMultiTouchZoomSupportEnabled(bool enabled);
207 207
208 long GetNativeImeAdapter(); 208 long GetNativeImeAdapter();
209 209
210 void WasResized(); 210 void WasResized();
211 211
212 void GetScaledContentBitmap(float scale, 212 void GetScaledContentBitmap(float scale,
213 SkColorType preferred_color_type, 213 SkColorType preferred_color_type,
214 gfx::Rect src_subrect, 214 gfx::Rect src_subrect_in_pixel,
215 const ReadbackRequestCallback& result_callback); 215 const ReadbackRequestCallback& result_callback);
216 216
217 bool HasValidFrame() const; 217 bool HasValidFrame() const;
218 218
219 void MoveCaret(const gfx::Point& point); 219 void MoveCaret(const gfx::Point& point);
220 void DismissTextHandles(); 220 void DismissTextHandles();
221 void SetTextHandlesTemporarilyHidden(bool hidden); 221 void SetTextHandlesTemporarilyHidden(bool hidden);
222 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 222 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
223 223
224 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); 224 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 float prev_bottom_shown_pix_; 377 float prev_bottom_shown_pix_;
378 378
379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
380 380
381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
382 }; 382 };
383 383
384 } // namespace content 384 } // namespace content
385 385
386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698