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

Side by Side Diff: views/window/custom_frame_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 | « views/widget/tooltip_manager.cc ('k') | views/window/custom_frame_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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ 5 #ifndef VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_
6 #define VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ 6 #define VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_
7 7
8 #include "views/controls/button/image_button.h" 8 #include "views/controls/button/image_button.h"
9 #include "views/window/non_client_view.h" 9 #include "views/window/non_client_view.h"
10 #include "views/window/window.h" 10 #include "views/window/window.h"
11 #include "views/window/window_resources.h" 11 #include "views/window/window_resources.h"
12 12
13 namespace gfx{ 13 namespace gfx{
14 class Font;
14 class Size; 15 class Size;
15 class Path; 16 class Path;
16 class Point; 17 class Point;
17 } 18 }
18 class ChromeCanvas; 19 class ChromeCanvas;
19 class ChromeFont;
20 20
21 namespace views { 21 namespace views {
22 22
23 /////////////////////////////////////////////////////////////////////////////// 23 ///////////////////////////////////////////////////////////////////////////////
24 // 24 //
25 // CustomFrameView 25 // CustomFrameView
26 // 26 //
27 // A ChromeView that provides the non client frame for Windows. This means 27 // A ChromeView that provides the non client frame for Windows. This means
28 // rendering the non-standard window caption, border, and controls. 28 // rendering the non-standard window caption, border, and controls.
29 // 29 //
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 ImageButton* maximize_button_; 97 ImageButton* maximize_button_;
98 ImageButton* minimize_button_; 98 ImageButton* minimize_button_;
99 ImageButton* system_menu_button_; // Uses the window icon if visible. 99 ImageButton* system_menu_button_; // Uses the window icon if visible.
100 bool should_show_minmax_buttons_; 100 bool should_show_minmax_buttons_;
101 101
102 // The window that owns this view. 102 // The window that owns this view.
103 Window* frame_; 103 Window* frame_;
104 104
105 // Initialize various static resources. 105 // Initialize various static resources.
106 static void InitClass(); 106 static void InitClass();
107 static ChromeFont* title_font_; 107 static gfx::Font* title_font_;
108 108
109 DISALLOW_EVIL_CONSTRUCTORS(CustomFrameView); 109 DISALLOW_EVIL_CONSTRUCTORS(CustomFrameView);
110 }; 110 };
111 111
112 } // namespace views 112 } // namespace views
113 113
114 #endif // #ifndef VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_ 114 #endif // #ifndef VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « views/widget/tooltip_manager.cc ('k') | views/window/custom_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698