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

Side by Side Diff: ui/base/resource/resource_handle.cc

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert ptr to bool for win compile. Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "ui/base/resource/resource_handle.h" 5 #include "ui/base/resource/resource_handle.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 const float ResourceHandle::kScaleFactor100x = 1.0; 9 const float ResourceHandle::kScaleFactor100x = 1.0;
10 const float ResourceHandle::kScaleFactor200x = 2.0; 10 const float ResourceHandle::kScaleFactor200x = 2.0;
11 const float ResourceHandle::kScaleFactorNone = 1.0;
11 12
12 } // namespace ui 13 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698