diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 18:36:12 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 18:36:12 +0000 |
commit | 53ee4e180c8481c8054e5f8997376f1c79544b1f (patch) | |
tree | 0e87181b12dc6777aa26533cbc6716ce3409cff1 /chrome/browser/cocoa/themed_window.mm | |
parent | a05c2ef0084fecfdfe297abeb2a6268b73abfce5 (diff) | |
download | chromium_src-53ee4e180c8481c8054e5f8997376f1c79544b1f.zip chromium_src-53ee4e180c8481c8054e5f8997376f1c79544b1f.tar.gz chromium_src-53ee4e180c8481c8054e5f8997376f1c79544b1f.tar.bz2 |
Another pass at removal of GTMTheme. Also fixes unreadability of bookmark bar/status bubble in unthemed incognito mode.
BUG=http://crbug.com/35554 ; http://crbug.com/29845
TEST=no visible change in normal mode; themed incognito windows should look ugly still but in a different way
Review URL: http://codereview.chromium.org/650092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39749 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/themed_window.mm')
-rw-r--r-- | chrome/browser/cocoa/themed_window.mm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/themed_window.mm b/chrome/browser/cocoa/themed_window.mm new file mode 100644 index 0000000..c110cac --- /dev/null +++ b/chrome/browser/cocoa/themed_window.mm @@ -0,0 +1,19 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#import "chrome/browser/cocoa/themed_window.h" + +// Default implementations; used mostly for tests so that the hosting windows +// don't needs to know about the theming machinery. +@implementation NSWindow (ThemeProvider) + +- (ThemeProvider*)themeProvider { + return NULL; +} + +- (NSPoint)themePatternPhase { + return NSZeroPoint; +} + +@end |