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

Side by Side Diff: cc/layer.cc

Issue 11275113: Remove most remaining references to IntRect and FloatRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compositor bindings Created 8 years, 1 month 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/gl_renderer_unittest.cc ('k') | cc/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 "config.h" 5 #include "config.h"
6 6
7 #include "cc/layer.h" 7 #include "cc/layer.h"
8 8
9 #include "cc/active_animation.h" 9 #include "cc/active_animation.h"
10 #include "cc/animation_events.h" 10 #include "cc/animation_events.h"
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 823
824 void Layer::notifyAnimationFinished(double wallClockTime) 824 void Layer::notifyAnimationFinished(double wallClockTime)
825 { 825 {
826 if (m_layerAnimationDelegate) 826 if (m_layerAnimationDelegate)
827 m_layerAnimationDelegate->notifyAnimationFinished(wallClockTime); 827 m_layerAnimationDelegate->notifyAnimationFinished(wallClockTime);
828 } 828 }
829 829
830 Region Layer::visibleContentOpaqueRegion() const 830 Region Layer::visibleContentOpaqueRegion() const
831 { 831 {
832 if (contentsOpaque()) 832 if (contentsOpaque())
833 return cc::IntRect(visibleContentRect()); 833 return visibleContentRect();
834 return Region(); 834 return Region();
835 } 835 }
836 836
837 ScrollbarLayer* Layer::toScrollbarLayer() 837 ScrollbarLayer* Layer::toScrollbarLayer()
838 { 838 {
839 return 0; 839 return 0;
840 } 840 }
841 841
842 void sortLayers(std::vector<scoped_refptr<Layer> >::iterator, std::vector<scoped _refptr<Layer> >::iterator, void*) 842 void sortLayers(std::vector<scoped_refptr<Layer> >::iterator, std::vector<scoped _refptr<Layer> >::iterator, void*)
843 { 843 {
844 // Currently we don't use z-order to decide what to paint, so there's no nee d to actually sort Layers. 844 // Currently we don't use z-order to decide what to paint, so there's no nee d to actually sort Layers.
845 } 845 }
846 846
847 } 847 }
OLDNEW
« no previous file with comments | « cc/gl_renderer_unittest.cc ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698