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

Side by Side Diff: chrome/browser/views/sad_tab_view.h

Issue 113441: ChromeFont->gfx::Font... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/views/page_info_window.cc ('k') | chrome/browser/views/sad_tab_view.cc » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_VIEWS_SAD_TAB_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_SAD_TAB_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_SAD_TAB_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_SAD_TAB_VIEW_H_
7 7
8 #include "app/gfx/chrome_font.h" 8 #include "app/gfx/chrome_font.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "views/view.h" 10 #include "views/view.h"
(...skipping 22 matching lines...) Expand all
33 33
34 // Overridden from views::View: 34 // Overridden from views::View:
35 virtual void Paint(ChromeCanvas* canvas); 35 virtual void Paint(ChromeCanvas* canvas);
36 virtual void Layout(); 36 virtual void Layout();
37 37
38 private: 38 private:
39 static void InitClass(); 39 static void InitClass();
40 40
41 // Assorted resources for display. 41 // Assorted resources for display.
42 static SkBitmap* sad_tab_bitmap_; 42 static SkBitmap* sad_tab_bitmap_;
43 static ChromeFont* title_font_; 43 static gfx::Font* title_font_;
44 static ChromeFont* message_font_; 44 static gfx::Font* message_font_;
45 static std::wstring title_; 45 static std::wstring title_;
46 static std::wstring message_; 46 static std::wstring message_;
47 static int title_width_; 47 static int title_width_;
48 48
49 // Regions within the display for different components, populated by 49 // Regions within the display for different components, populated by
50 // Layout(). 50 // Layout().
51 gfx::Rect icon_bounds_; 51 gfx::Rect icon_bounds_;
52 gfx::Rect title_bounds_; 52 gfx::Rect title_bounds_;
53 gfx::Rect message_bounds_; 53 gfx::Rect message_bounds_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(SadTabView); 55 DISALLOW_COPY_AND_ASSIGN(SadTabView);
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_VIEWS_SAD_TAB_VIEW_H__ 58 #endif // CHROME_BROWSER_VIEWS_SAD_TAB_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/views/page_info_window.cc ('k') | chrome/browser/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698