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

Side by Side Diff: views/controls/scrollbar/bitmap_scroll_bar.cc

Issue 7210060: Rename app_strings to ui_strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "views/controls/scrollbar/bitmap_scroll_bar.h" 5 #include "views/controls/scrollbar/bitmap_scroll_bar.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include "views/screen.h" 8 #include "views/screen.h"
9 #endif 9 #endif
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "grit/app_strings.h" 16 #include "grit/ui_strings.h"
17 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "third_party/skia/include/core/SkBitmap.h"
18 #include "ui/base/keycodes/keyboard_codes.h" 18 #include "ui/base/keycodes/keyboard_codes.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 #include "ui/gfx/canvas.h" 20 #include "ui/gfx/canvas.h"
21 #include "views/controls/menu/menu.h" 21 #include "views/controls/menu/menu.h"
22 #include "views/controls/scroll_view.h" 22 #include "views/controls/scroll_view.h"
23 #include "views/widget/widget.h" 23 #include "views/widget/widget.h"
24 24
25 #undef min 25 #undef min
26 #undef max 26 #undef max
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 thumb_position = thumb_position - (thumb_->GetSize() / 2); 726 thumb_position = thumb_position - (thumb_->GetSize() / 2);
727 return (thumb_position * contents_size_) / GetTrackSize(); 727 return (thumb_position * contents_size_) / GetTrackSize();
728 } 728 }
729 729
730 void BitmapScrollBar::SetThumbTrackState(CustomButton::ButtonState state) { 730 void BitmapScrollBar::SetThumbTrackState(CustomButton::ButtonState state) {
731 thumb_track_state_ = state; 731 thumb_track_state_ = state;
732 SchedulePaint(); 732 SchedulePaint();
733 } 733 }
734 734
735 } // namespace views 735 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/menu/menu_item_view_win.cc ('k') | views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698