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

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

Issue 1095993002: Fallback to RGBA_8888 if readback format is not supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void OnDetachCompositor() override; 198 void OnDetachCompositor() override;
199 void OnVSync(base::TimeTicks frame_time, 199 void OnVSync(base::TimeTicks frame_time,
200 base::TimeDelta vsync_period) override; 200 base::TimeDelta vsync_period) override;
201 void OnAnimate(base::TimeTicks begin_frame_time) override; 201 void OnAnimate(base::TimeTicks begin_frame_time) override;
202 void OnActivityPaused() override; 202 void OnActivityPaused() override;
203 void OnActivityResumed() override; 203 void OnActivityResumed() override;
204 204
205 // DelegatedFrameEvictor implementation 205 // DelegatedFrameEvictor implementation
206 void EvictDelegatedFrame() override; 206 void EvictDelegatedFrame() override;
207 207
208 SkColorType PreferredReadbackFormat() override;
209
210 // StylusTextSelectorClient implementation. 208 // StylusTextSelectorClient implementation.
211 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override; 209 void OnStylusSelectBegin(float x0, float y0, float x1, float y1) override;
212 void OnStylusSelectUpdate(float x, float y) override; 210 void OnStylusSelectUpdate(float x, float y) override;
213 void OnStylusSelectEnd() override; 211 void OnStylusSelectEnd() override;
214 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; 212 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override;
215 213
216 // ui::TouchSelectionControllerClient implementation. 214 // ui::TouchSelectionControllerClient implementation.
217 bool SupportsAnimation() const override; 215 bool SupportsAnimation() const override;
218 void SetNeedsAnimate() override; 216 void SetNeedsAnimate() override;
219 void MoveCaret(const gfx::PointF& position) override; 217 void MoveCaret(const gfx::PointF& position) override;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 gfx::Vector2dF last_scroll_offset_; 430 gfx::Vector2dF last_scroll_offset_;
433 431
434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
435 433
436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
437 }; 435 };
438 436
439 } // namespace content 437 } // namespace content
440 438
441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 439 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698