Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / themed_window.mm
blob4e5a2c3924e96206651a66754c2d5c275cd76d10
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #import "chrome/browser/ui/cocoa/themed_window.h"
7 // Default implementations; used mostly for tests so that the hosting windows
8 // don't needs to know about the theming machinery.
9 @implementation NSWindow (ThemeProvider)
11 - (ThemeProvider*)themeProvider {
12   return NULL;
15 - (ThemedWindowStyle)themedWindowStyle {
16   return THEMED_NORMAL;
19 - (NSPoint)themeImagePositionForAlignment:(ThemeImageAlignment)alignment {
20   return NSZeroPoint;
23 @end