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

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: Removed empty namespace 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 SkColor ConstrainedWindow::GetBackgroundColor() {
10 return SkColorSetRGB(0xfb, 0xfb, 0xfb);
Ben Goodger (Google) 2012/08/14 23:53:57 I believe these are macros so you don't need to do
groby-ooo-7-16 2012/08/15 21:55:42 Yes and no :) They're macros in NDEBUG, but funct
11 }
12
13 SkColor ConstrainedWindow::GetTextColor() {
14 return SkColorSetRGB(0x33, 0x33, 0x33);
15 }
16
9 void ConstrainedWindow::FocusConstrainedWindow() { 17 void ConstrainedWindow::FocusConstrainedWindow() {
10 } 18 }
11 19
12 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { 20 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() {
13 NOTREACHED(); 21 NOTREACHED();
14 return NULL; 22 return NULL;
15 } 23 }
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