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

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

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 667
668 // Provides delegated frame updates to the cc::DelegatedRendererLayer. 668 // Provides delegated frame updates to the cc::DelegatedRendererLayer.
669 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; 669 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_;
670 670
671 // The size of the last frame that was swapped (even if we skipped it). 671 // The size of the last frame that was swapped (even if we skipped it).
672 // Used to determine when the skipped_damage_ needs to be reset due to 672 // Used to determine when the skipped_damage_ needs to be reset due to
673 // size changes between front- and backbuffer. 673 // size changes between front- and backbuffer.
674 gfx::Size last_swapped_surface_size_; 674 gfx::Size last_swapped_surface_size_;
675 float last_swapped_surface_scale_factor_; 675 float last_swapped_surface_scale_factor_;
676 676
677 gfx::GLSurfaceHandle shared_surface_handle_;
678
679 // If non-NULL we're in OnPaint() and this is the supplied canvas. 677 // If non-NULL we're in OnPaint() and this is the supplied canvas.
680 gfx::Canvas* paint_canvas_; 678 gfx::Canvas* paint_canvas_;
681 679
682 // Used to record the last position of the mouse. 680 // Used to record the last position of the mouse.
683 // While the mouse is locked, they store the last known position just as mouse 681 // While the mouse is locked, they store the last known position just as mouse
684 // lock was entered. 682 // lock was entered.
685 // Relative to the upper-left corner of the view. 683 // Relative to the upper-left corner of the view.
686 gfx::Point unlocked_mouse_position_; 684 gfx::Point unlocked_mouse_position_;
687 // Relative to the upper-left corner of the screen. 685 // Relative to the upper-left corner of the screen.
688 gfx::Point unlocked_global_mouse_position_; 686 gfx::Point unlocked_global_mouse_position_;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 // passed to windowless plugins like Flash/Silverlight, etc as the 783 // passed to windowless plugins like Flash/Silverlight, etc as the
786 // container window. 784 // container window.
787 HWND plugin_parent_window_; 785 HWND plugin_parent_window_;
788 #endif 786 #endif
789 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 787 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
790 }; 788 };
791 789
792 } // namespace content 790 } // namespace content
793 791
794 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 792 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698