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

Side by Side Diff: cc/layers/layer.cc

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile. Created 7 years, 3 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 | « cc/layers/layer.h ('k') | cc/layers/layer_impl.h » ('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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #include "cc/layers/layer.h" 5 #include "cc/layers/layer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 LayerAnimationEventObserver* animation_observer) { 1053 LayerAnimationEventObserver* animation_observer) {
1054 layer_animation_controller_->RemoveEventObserver(animation_observer); 1054 layer_animation_controller_->RemoveEventObserver(animation_observer);
1055 } 1055 }
1056 1056
1057 Region Layer::VisibleContentOpaqueRegion() const { 1057 Region Layer::VisibleContentOpaqueRegion() const {
1058 if (contents_opaque()) 1058 if (contents_opaque())
1059 return visible_content_rect(); 1059 return visible_content_rect();
1060 return Region(); 1060 return Region();
1061 } 1061 }
1062 1062
1063 PaintedScrollbarLayer* Layer::ToScrollbarLayer() { 1063 ScrollbarLayerInterface* Layer::ToScrollbarLayer() {
1064 return NULL; 1064 return NULL;
1065 } 1065 }
1066 1066
1067 RenderingStatsInstrumentation* Layer::rendering_stats_instrumentation() const { 1067 RenderingStatsInstrumentation* Layer::rendering_stats_instrumentation() const {
1068 return layer_tree_host_->rendering_stats_instrumentation(); 1068 return layer_tree_host_->rendering_stats_instrumentation();
1069 } 1069 }
1070 1070
1071 bool Layer::SupportsLCDText() const { 1071 bool Layer::SupportsLCDText() const {
1072 return false; 1072 return false;
1073 } 1073 }
(...skipping 18 matching lines...) Expand all
1092 (*it)->clip_parent_ = NULL; 1092 (*it)->clip_parent_ = NULL;
1093 } 1093 }
1094 1094
1095 if (clip_parent_) 1095 if (clip_parent_)
1096 clip_parent_->RemoveClipChild(this); 1096 clip_parent_->RemoveClipChild(this);
1097 1097
1098 clip_parent_ = NULL; 1098 clip_parent_ = NULL;
1099 } 1099 }
1100 1100
1101 } // namespace cc 1101 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698