| 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 // static | 9 // static |
| 10 SkColor ConstrainedWindow::GetBackgroundColor() { | 10 SkColor ConstrainedWindow::GetBackgroundColor() { |
| 11 return SkColorSetRGB(0xfb, 0xfb, 0xfb); | 11 return SkColorSetRGB(0xfb, 0xfb, 0xfb); |
| 12 } | 12 } |
| 13 | 13 |
| 14 // static | 14 // static |
| 15 SkColor ConstrainedWindow::GetTextColor() { | 15 SkColor ConstrainedWindow::GetTextColor() { |
| 16 return SkColorSetRGB(0x33, 0x33, 0x33); | 16 return SkColorSetRGB(0x33, 0x33, 0x33); |
| 17 } | 17 } |
| 18 | 18 |
| 19 void ConstrainedWindow::FocusConstrainedWindow() { | 19 void ConstrainedWindow::FocusConstrainedWindow() { |
| 20 } | 20 } |
| 21 | 21 |
| 22 bool ConstrainedWindow::CanShowConstrainedWindow() { |
| 23 return true; |
| 24 } |
| 25 |
| 22 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { | 26 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { |
| 23 NOTREACHED(); | 27 NOTREACHED(); |
| 24 return NULL; | 28 return NULL; |
| 25 } | 29 } |
| OLD | NEW |