summaryrefslogtreecommitdiffstats
path: root/views/widget/default_theme_provider.cc
blob: be348a966cc68e6c6c0cdfe42fb162131bdd4678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2009 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 "views/widget/default_theme_provider.h"

#include "app/resource_bundle.h"

namespace views {

SkBitmap* DefaultThemeProvider::GetBitmapNamed(int id) {
  return ResourceBundle::GetSharedInstance().GetBitmapNamed(id);
}

SkColor DefaultThemeProvider::GetColor(int id)  {
  // Return debugging-blue.
  return 0xff0000ff;
}

}  // namespace views