Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / apps / titlebar_background_view.h
blobc37079799ba251c9052d4930aedf0a54ccbae5ee
1 // Copyright 2015 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 #ifndef CHROME_BROWSER_UI_COCOA_APPS_TITLEBAR_BACKGROUND_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_APPS_TITLEBAR_BACKGROUND_VIEW_H_
8 #import <Cocoa/Cocoa.h>
10 #import "base/mac/scoped_nsobject.h"
11 #include "third_party/skia/include/core/SkColor.h"
13 // A view that paints a solid color. Used to change the title bar background.
14 @interface TitlebarBackgroundView : NSView {
15 @private
16 base::scoped_nsobject<NSColor> color_;
17 base::scoped_nsobject<NSColor> inactiveColor_;
20 // Adds a TitlebarBackgroundView to the [[window contentView] superView].
21 + (TitlebarBackgroundView*)addToNSWindow:(NSWindow*)window
22 activeColor:(SkColor)activeColor
23 inactiveColor:(SkColor)inactiveColor;
24 @end
26 #endif // CHROME_BROWSER_UI_COCOA_APPS_TITLEBAR_BACKGROUND_VIEW_H_