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

Side by Side Diff: chrome/browser/ui/constrained_window.cc

Issue 10852015: Initial constants for new ConstrainedWindow style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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) 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 }
OLDNEW
« chrome/browser/ui/constrained_window.h ('K') | « chrome/browser/ui/constrained_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698