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

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

Issue 21777003: DevTools: [Android] implement RenderWidgetHostViewAndroid::CopyFromCompositingSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang bots. Created 7 years, 4 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698