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

Unified Diff: ui/base/resource/resource_handle.cc

Issue 10151025: Add scale factor tag to data packs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 8 years, 8 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
Index: ui/base/resource/resource_handle.cc
diff --git a/ui/base/resource/resource_handle.cc b/ui/base/resource/resource_handle.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d0d7645bee4e29f58151732c12b0c4217874214b
--- /dev/null
+++ b/ui/base/resource/resource_handle.cc
@@ -0,0 +1,12 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/base/resource/resource_handle.h"
+
+namespace ui {
+
+const float ResourceHandle::kScaleFactor1x = 1.0;
+const float ResourceHandle::kScaleFactor2x = 2.0;
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698