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

Side by Side Diff: cc/resources/priority_calculator.h

Issue 13051003: cpplint.py pass on cc/(base|debug|quads|resources)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix prioritized_resource_unittest Created 7 years, 9 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/resources/prioritized_resource_unittest.cc ('k') | cc/resources/priority_calculator.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 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 #ifndef CC_RESOURCES_PRIORITY_CALCULATOR_H_ 5 #ifndef CC_RESOURCES_PRIORITY_CALCULATOR_H_
6 #define CC_RESOURCES_PRIORITY_CALCULATOR_H_ 6 #define CC_RESOURCES_PRIORITY_CALCULATOR_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 9
10 namespace gfx { class Rect; } 10 namespace gfx { class Rect; }
(...skipping 18 matching lines...) Expand all
29 static inline int max_priority(int a, int b) { 29 static inline int max_priority(int a, int b) {
30 return priority_is_higher(a, b) ? a : b; 30 return priority_is_higher(a, b) ? a : b;
31 } 31 }
32 32
33 static int AllowNothingCutoff(); 33 static int AllowNothingCutoff();
34 static int AllowVisibleOnlyCutoff(); 34 static int AllowVisibleOnlyCutoff();
35 static int AllowVisibleAndNearbyCutoff(); 35 static int AllowVisibleAndNearbyCutoff();
36 static int AllowEverythingCutoff(); 36 static int AllowEverythingCutoff();
37 }; 37 };
38 38
39 } 39 } // namespace cc
40 40
41 #endif // CC_RESOURCES_PRIORITY_CALCULATOR_H_ 41 #endif // CC_RESOURCES_PRIORITY_CALCULATOR_H_
OLDNEW
« no previous file with comments | « cc/resources/prioritized_resource_unittest.cc ('k') | cc/resources/priority_calculator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698