Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/constrained_window.h" | 5 #include "chrome/browser/ui/constrained_window.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 void ConstrainedWindow::FocusConstrainedWindow() { | 9 void ConstrainedWindow::FocusConstrainedWindow() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { | 12 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { |
| 13 NOTREACHED(); | 13 NOTREACHED(); |
| 14 return NULL; | 14 return NULL; |
| 15 } | 15 } |
| 16 | |
| 17 namespace ConstrainedWindowStyle { | |
| 18 | |
| 19 const SkColor kBackgroundColor = SkColorSetRGB(0xfb, 0xfb, 0xfb); | |
| 20 const SkColor kTextColor = SkColorSetRGB(3, 3, 3); | |
| 21 | |
| 22 #if defined(OS_WIN) | |
| 23 const char kFont[] = "Segoe UI"; | |
|
Ben Goodger (Google)
2012/08/03 23:09:07
you should be using the default font. this will be
groby-ooo-7-16
2012/08/03 23:18:20
Have a request open with ui-leads to clarify. The
groby-ooo-7-16
2012/08/13 22:17:30
Unified across platforms
Done.
On 2012/08/03 23:1
| |
| 24 #elif defined(OS_MAC) | |
| 25 const char kFont[] = "Lucida Grande"; | |
|
Ben Goodger (Google)
2012/08/03 23:09:07
same comment applies to other platforms.
if you c
groby-ooo-7-16
2012/08/03 23:18:20
Yep. Will change as soon as I have clarity on name
groby-ooo-7-16
2012/08/13 22:17:30
Done.
| |
| 26 #else | |
| 27 const char kFont[] = "Chrome Droid Sans"; | |
| 28 #endif | |
| 29 | |
| 30 } | |
| OLD | NEW |