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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.mm

Issue 2394523002: cocoa browser: remove non-MD bookmark bar support (Closed)
Patch Set: Created 4 years, 2 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 (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 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h" 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h"
6 6
7 #include "ui/base/material_design/material_design_controller.h" 7 #include "ui/base/material_design/material_design_controller.h"
8 8
9 using bookmarks::BookmarkNode; 9 using bookmarks::BookmarkNode;
10 10
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 - (BOOL)isFolderButtonCell { 26 - (BOOL)isFolderButtonCell {
27 return YES; 27 return YES;
28 } 28 }
29 29
30 - (void)setMouseInside:(BOOL)flag animate:(BOOL)animated { 30 - (void)setMouseInside:(BOOL)flag animate:(BOOL)animated {
31 } 31 }
32 32
33 - (int)verticalTextOffset { 33 - (int)verticalTextOffset {
34 if (!ui::MaterialDesignController::IsModeMaterial()) {
35 return [super verticalTextOffset];
36 }
37 return -3; 34 return -3;
38 } 35 }
39 36
40 @end 37 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698