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

Side by Side Diff: cc/layers/heads_up_display_layer_impl.h

Issue 14925009: Run all LayerTreeHost tests with a delegating renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uber-unittests: for landing2 Created 7 years, 7 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
« no previous file with comments | « no previous file | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 virtual ~HeadsUpDisplayLayerImpl(); 34 virtual ~HeadsUpDisplayLayerImpl();
35 35
36 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) 36 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl)
37 OVERRIDE; 37 OVERRIDE;
38 38
39 virtual void WillDraw(ResourceProvider* resource_provider) OVERRIDE; 39 virtual void WillDraw(ResourceProvider* resource_provider) OVERRIDE;
40 virtual void AppendQuads(QuadSink* quad_sink, 40 virtual void AppendQuads(QuadSink* quad_sink,
41 AppendQuadsData* append_quads_data) OVERRIDE; 41 AppendQuadsData* append_quads_data) OVERRIDE;
42 void UpdateHudTexture(ResourceProvider* resource_provider); 42 void UpdateHudTexture(ResourceProvider* resource_provider);
43 virtual void DidDraw(ResourceProvider* resource_provider) OVERRIDE;
44 43
45 virtual void DidLoseOutputSurface() OVERRIDE; 44 virtual void DidLoseOutputSurface() OVERRIDE;
46 45
47 virtual bool LayerIsAlwaysDamaged() const OVERRIDE; 46 virtual bool LayerIsAlwaysDamaged() const OVERRIDE;
48 47
49 private: 48 private:
50 class Graph { 49 class Graph {
51 public: 50 public:
52 Graph(double indicator_value, double start_upper_bound); 51 Graph(double indicator_value, double start_upper_bound);
53 52
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 MemoryHistory::Entry memory_entry_; 118 MemoryHistory::Entry memory_entry_;
120 119
121 base::TimeTicks time_of_last_graph_update_; 120 base::TimeTicks time_of_last_graph_update_;
122 121
123 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); 122 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl);
124 }; 123 };
125 124
126 } // namespace cc 125 } // namespace cc
127 126
128 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 127 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698