| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 void OnDidChangeBodyBackgroundColor(SkColor color); | 207 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 208 void OnStartContentIntent(const GURL& content_url); | 208 void OnStartContentIntent(const GURL& content_url); |
| 209 void OnSetNeedsBeginFrame(bool enabled); | 209 void OnSetNeedsBeginFrame(bool enabled); |
| 210 | 210 |
| 211 int GetNativeImeAdapter(); | 211 int GetNativeImeAdapter(); |
| 212 | 212 |
| 213 void WasResized(); | 213 void WasResized(); |
| 214 | 214 |
| 215 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); | 215 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); |
| 216 bool PopulateBitmapWithContents(jobject jbitmap); | 216 bool PopulateBitmapWithContents(jobject jbitmap); |
| 217 bool PopulateBitmapWithContents(const gfx::Size& size, SkBitmap* bitmap); |
| 217 | 218 |
| 218 bool HasValidFrame() const; | 219 bool HasValidFrame() const; |
| 219 | 220 |
| 220 // Select all text between the given coordinates. | 221 // Select all text between the given coordinates. |
| 221 void SelectRange(const gfx::Point& start, const gfx::Point& end); | 222 void SelectRange(const gfx::Point& start, const gfx::Point& end); |
| 222 | 223 |
| 223 void MoveCaret(const gfx::Point& point); | 224 void MoveCaret(const gfx::Point& point); |
| 224 | 225 |
| 225 void RequestContentClipping(const gfx::Rect& clipping, | 226 void RequestContentClipping(const gfx::Rect& clipping, |
| 226 const gfx::Size& content_size); | 227 const gfx::Size& content_size); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 // Used to render overscroll overlays. | 310 // Used to render overscroll overlays. |
| 310 bool overscroll_effect_enabled_; | 311 bool overscroll_effect_enabled_; |
| 311 scoped_ptr<OverscrollGlow> overscroll_effect_; | 312 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 312 | 313 |
| 313 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 314 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 314 }; | 315 }; |
| 315 | 316 |
| 316 } // namespace content | 317 } // namespace content |
| 317 | 318 |
| 318 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 319 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |