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

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

Issue 10871082: Constrained Windows Cocoa: Part 4 Refactor ConstrainedWindowSupport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 3 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 // 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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/constrained_window.h ('k') | chrome/browser/ui/constrained_window_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698