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

Side by Side Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_separator_view.h

Issue 1821823004: [Mac][Material Design] Update Omnibox dropdown on Mac to MD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up for review. Created 4 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_SEPARATOR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_SEPARATOR_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_SEPARATOR_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_SEPARATOR_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "chrome/browser/ui/cocoa/background_gradient_view.h" 10 #include "chrome/browser/ui/cocoa/background_gradient_view.h"
11 11
12 // A view used to draw a separator above omnibox popup. 12 // A view used to draw a separator above omnibox popup.
13 @interface OmniboxPopupTopSeparatorView : BackgroundGradientView { 13 @interface OmniboxPopupTopSeparatorView : BackgroundGradientView {
14 } 14 }
15 15
16 + (CGFloat)preferredHeight; 16 + (CGFloat)preferredHeight;
17 17
18 @end 18 @end
19 19
20 // A view used to draw a drop shadow beneath the omnibox popup. 20 // A view used to draw a drop shadow beneath the omnibox popup.
21 @interface OmniboxPopupBottomSeparatorView : NSView { 21 @interface OmniboxPopupBottomSeparatorView : NSView {
22 @private
23 BOOL isDarkTheme_;
22 } 24 }
23 25
24 + (CGFloat)preferredHeight; 26 + (CGFloat)preferredHeight;
27 - (instancetype)initWithFrame:(NSRect)frame forDarkTheme:(BOOL)isDarkTheme;
25 28
26 @end 29 @end
27 30
28 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_SEPARATOR_VIEW_H_ 31 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_SEPARATOR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698