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

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

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected indentation. Created 6 years, 11 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_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 virtual bool CanSubscribeFrame() const OVERRIDE; 200 virtual bool CanSubscribeFrame() const OVERRIDE;
201 201
202 // called by WebContentsImpl before DestroyWindow 202 // called by WebContentsImpl before DestroyWindow
203 virtual void WillWmDestroy() OVERRIDE; 203 virtual void WillWmDestroy() OVERRIDE;
204 virtual void Destroy() OVERRIDE; 204 virtual void Destroy() OVERRIDE;
205 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 205 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
206 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 206 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
207 virtual void CopyFromCompositingSurface( 207 virtual void CopyFromCompositingSurface(
208 const gfx::Rect& src_subrect, 208 const gfx::Rect& src_subrect,
209 const gfx::Size& dst_size, 209 const gfx::Size& dst_size,
210 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 210 const base::Callback<void(bool, const SkBitmap&)>& callback,
211 bool readback_config_rgb565) OVERRIDE;
211 virtual void CopyFromCompositingSurfaceToVideoFrame( 212 virtual void CopyFromCompositingSurfaceToVideoFrame(
212 const gfx::Rect& src_subrect, 213 const gfx::Rect& src_subrect,
213 const scoped_refptr<media::VideoFrame>& target, 214 const scoped_refptr<media::VideoFrame>& target,
214 const base::Callback<void(bool)>& callback) OVERRIDE; 215 const base::Callback<void(bool)>& callback) OVERRIDE;
215 virtual bool CanCopyToVideoFrame() const OVERRIDE; 216 virtual bool CanCopyToVideoFrame() const OVERRIDE;
216 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 217 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
217 virtual void AcceleratedSurfaceInitialized(int host_id, 218 virtual void AcceleratedSurfaceInitialized(int host_id,
218 int route_id) OVERRIDE; 219 int route_id) OVERRIDE;
219 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 220 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
220 InputEventAckState ack_result) OVERRIDE; 221 InputEventAckState ack_result) OVERRIDE;
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 base::win::ScopedComPtr<IAccessible> window_iaccessible_; 602 base::win::ScopedComPtr<IAccessible> window_iaccessible_;
602 603
603 std::vector<ui::LatencyInfo> software_latency_info_; 604 std::vector<ui::LatencyInfo> software_latency_info_;
604 605
605 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 606 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
606 }; 607 };
607 608
608 } // namespace content 609 } // namespace content
609 610
610 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 611 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698