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

Side by Side Diff: cc/math_util.h

Issue 11368063: cc: Fix header include guards of our header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/managed_memory_policy.h ('k') | cc/occlusion_tracker.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 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 CCMathUtil_h 5 #ifndef CC_MATH_UTIL_H_
6 #define CCMathUtil_h 6 #define CC_MATH_UTIL_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "ui/gfx/point_f.h" 10 #include "ui/gfx/point_f.h"
11 #include "ui/gfx/point3_f.h" 11 #include "ui/gfx/point3_f.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebTransformationMatrix; 14 class WebTransformationMatrix;
15 } 15 }
16 16
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Returns the smallest angle between the given two vectors in degrees. Neit her vector is 105 // Returns the smallest angle between the given two vectors in degrees. Neit her vector is
106 // assumed to be normalized. 106 // assumed to be normalized.
107 static float smallestAngleBetweenVectors(const FloatSize&, const FloatSize&) ; 107 static float smallestAngleBetweenVectors(const FloatSize&, const FloatSize&) ;
108 108
109 // Projects the |source| vector onto |destination|. Neither vector is assume d to be normalized. 109 // Projects the |source| vector onto |destination|. Neither vector is assume d to be normalized.
110 static FloatSize projectVector(const FloatSize& source, const FloatSize& des tination); 110 static FloatSize projectVector(const FloatSize& source, const FloatSize& des tination);
111 }; 111 };
112 112
113 } // namespace cc 113 } // namespace cc
114 114
115 #endif // #define CCMathUtil_h 115 #endif // CC_MATH_UTIL_H_
OLDNEW
« no previous file with comments | « cc/managed_memory_policy.h ('k') | cc/occlusion_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698