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

Side by Side Diff: ui/views/widget/default_theme_provider.cc

Issue 10783015: Add ability to store hidpi theme images in data pack (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « ui/views/widget/default_theme_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/views/widget/default_theme_provider.h" 5 #include "ui/views/widget/default_theme_provider.h"
6 6
7 #include "ui/base/resource/resource_bundle.h" 7 #include "ui/base/resource/resource_bundle.h"
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 9
10 #if defined(OS_WIN) && !defined(USE_AURA) 10 #if defined(OS_WIN) && !defined(USE_AURA)
(...skipping 28 matching lines...) Expand all
39 return NativeWidgetWin::IsAeroGlassEnabled(); 39 return NativeWidgetWin::IsAeroGlassEnabled();
40 #else 40 #else
41 return false; 41 return false;
42 #endif 42 #endif
43 } 43 }
44 44
45 bool DefaultThemeProvider::HasCustomImage(int id) const { 45 bool DefaultThemeProvider::HasCustomImage(int id) const {
46 return false; 46 return false;
47 } 47 }
48 48
49 base::RefCountedMemory* DefaultThemeProvider::GetRawData(int id) const { 49 base::RefCountedMemory* DefaultThemeProvider::GetRawData(
50 int id,
51 ui::ScaleFactor scale_factor) const {
50 return NULL; 52 return NULL;
51 } 53 }
52 54
53 } // namespace views 55 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/default_theme_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698