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

Side by Side Diff: chrome/browser/ui/views/tab_icon_view.cc

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 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) 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 "chrome/browser/ui/views/tab_icon_view.h" 5 #include "chrome/browser/ui/views/tab_icon_view.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif 10 #endif
11 11
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "chrome/app/chrome_command_ids.h" 15 #include "chrome/app/chrome_command_ids.h"
16 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
17 #include "grit/theme_resources_standard.h"
18 #include "grit/ui_resources.h" 17 #include "grit/ui_resources.h"
19 #include "grit/ui_resources_standard.h"
20 #include "ui/base/resource/resource_bundle.h" 18 #include "ui/base/resource/resource_bundle.h"
21 #include "ui/base/theme_provider.h" 19 #include "ui/base/theme_provider.h"
22 #include "ui/gfx/canvas.h" 20 #include "ui/gfx/canvas.h"
23 #include "ui/gfx/favicon_size.h" 21 #include "ui/gfx/favicon_size.h"
24 22
25 #if defined(OS_WIN) 23 #if defined(OS_WIN)
26 #include "chrome/browser/app_icon_win.h" 24 #include "chrome/browser/app_icon_win.h"
27 #include "ui/gfx/icon_util.h" 25 #include "ui/gfx/icon_util.h"
28 #endif 26 #endif
29 27
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 148 }
151 } 149 }
152 150
153 if (!rendered) 151 if (!rendered)
154 PaintFavicon(canvas, *g_default_favicon); 152 PaintFavicon(canvas, *g_default_favicon);
155 } 153 }
156 154
157 gfx::Size TabIconView::GetPreferredSize() { 155 gfx::Size TabIconView::GetPreferredSize() {
158 return gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); 156 return gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize);
159 } 157 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/speech_recognition_bubble_views.cc ('k') | chrome/browser/ui/views/tabs/base_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698