OLD | NEW |
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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 void LockResources(); | 220 void LockResources(); |
221 void UnlockResources(); | 221 void UnlockResources(); |
222 | 222 |
223 int GetNativeImeAdapter(); | 223 int GetNativeImeAdapter(); |
224 | 224 |
225 void WasResized(); | 225 void WasResized(); |
226 | 226 |
227 void GetScaledContentBitmap( | 227 void GetScaledContentBitmap( |
228 float scale, | 228 float scale, |
229 gfx::Size* out_size, | 229 gfx::Size* out_size, |
| 230 SkBitmap::Config bitmap_config, |
230 const base::Callback<void(bool, const SkBitmap&)>& result_callback); | 231 const base::Callback<void(bool, const SkBitmap&)>& result_callback); |
231 bool PopulateBitmapWithContents(jobject jbitmap); | 232 bool PopulateBitmapWithContents(jobject jbitmap); |
232 | 233 |
233 bool HasValidFrame() const; | 234 bool HasValidFrame() const; |
234 | 235 |
235 // Select all text between the given coordinates. | 236 // Select all text between the given coordinates. |
236 void SelectRange(const gfx::Point& start, const gfx::Point& end); | 237 void SelectRange(const gfx::Point& start, const gfx::Point& end); |
237 | 238 |
238 void MoveCaret(const gfx::Point& point); | 239 void MoveCaret(const gfx::Point& point); |
239 | 240 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 360 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
360 | 361 |
361 bool using_delegated_renderer_; | 362 bool using_delegated_renderer_; |
362 | 363 |
363 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 364 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
364 }; | 365 }; |
365 | 366 |
366 } // namespace content | 367 } // namespace content |
367 | 368 |
368 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 369 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |