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

Unified Diff: chrome/views/bitmap_scroll_bar.h

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/profiles/generate_profile.cc ('k') | chrome/views/bitmap_scroll_bar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/bitmap_scroll_bar.h
===================================================================
--- chrome/views/bitmap_scroll_bar.h (revision 11293)
+++ chrome/views/bitmap_scroll_bar.h (working copy)
@@ -45,15 +45,22 @@
// A list of parts that the user may supply bitmaps for.
enum ScrollBarPart {
- PREV_BUTTON = 0, // The button used to represent scrolling up/left by 1 line.
- NEXT_BUTTON, // The button used to represent scrolling down/right by 1 line.
- // IMPORTANT: The code assumes the prev and next
- // buttons have equal width and equal height.
- THUMB_START_CAP, // The top/left segment of the thumb on the scrollbar.
- THUMB_MIDDLE, // The tiled background image of the thumb.
- THUMB_END_CAP, // The bottom/right segment of the thumb on the scrollbar.
- THUMB_GRIPPY, // The grippy that is rendered in the center of the thumb.
- THUMB_TRACK, // The tiled background image of the thumb track.
+ // The button used to represent scrolling up/left by 1 line.
+ PREV_BUTTON = 0,
+ // The button used to represent scrolling down/right by 1 line.
+ // IMPORTANT: The code assumes the prev and next
+ // buttons have equal width and equal height.
+ NEXT_BUTTON,
+ // The top/left segment of the thumb on the scrollbar.
+ THUMB_START_CAP,
+ // The tiled background image of the thumb.
+ THUMB_MIDDLE,
+ // The bottom/right segment of the thumb on the scrollbar.
+ THUMB_END_CAP,
+ // The grippy that is rendered in the center of the thumb.
+ THUMB_GRIPPY,
+ // The tiled background image of the thumb track.
+ THUMB_TRACK,
PART_COUNT
};
« no previous file with comments | « chrome/tools/profiles/generate_profile.cc ('k') | chrome/views/bitmap_scroll_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698