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

Side by Side Diff: content/renderer/render_widget.h

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 bool is_threaded_compositing_enabled_; 716 bool is_threaded_compositing_enabled_;
717 717
718 // The last set of rendering stats received from the browser. This is only 718 // The last set of rendering stats received from the browser. This is only
719 // received when using the --enable-gpu-benchmarking flag. 719 // received when using the --enable-gpu-benchmarking flag.
720 BrowserRenderingStats browser_rendering_stats_; 720 BrowserRenderingStats browser_rendering_stats_;
721 721
722 // The latency information for any current non-accelerated-compositing 722 // The latency information for any current non-accelerated-compositing
723 // frame. 723 // frame.
724 ui::LatencyInfo latency_info_; 724 ui::LatencyInfo latency_info_;
725 725
726 uint32 next_output_surface_id_;
727
726 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 728 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
727 729
728 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 730 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
729 }; 731 };
730 732
731 } // namespace content 733 } // namespace content
732 734
733 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 735 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698