| OLD | NEW |
| 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_button_cell.h" | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/sys_string_conversions.h" | 8 #include "base/sys_string_conversions.h" |
| 9 #import "chrome/browser/bookmarks/bookmark_model.h" | 9 #import "chrome/browser/bookmarks/bookmark_model.h" |
| 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" | 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" |
| 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu.h" | 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu.h" |
| 12 #include "content/public/browser/user_metrics.h" | 12 #include "content/public/browser/user_metrics.h" |
| 13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 14 #include "grit/ui_resources.h" | 14 #include "grit/ui_resources.h" |
| 15 #include "ui/base/l10n/l10n_util_mac.h" | 15 #include "ui/base/l10n/l10n_util_mac.h" |
| 16 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
| 17 #include "ui/gfx/mac/nsimage_cache.h" | |
| 18 | 17 |
| 19 using content::UserMetricsAction; | 18 using content::UserMetricsAction; |
| 20 | 19 |
| 21 const int kHierarchyButtonXMargin = 4; | 20 const int kHierarchyButtonXMargin = 4; |
| 22 | 21 |
| 23 @interface BookmarkButtonCell(Private) | 22 @interface BookmarkButtonCell(Private) |
| 24 - (void)configureBookmarkButtonCell; | 23 - (void)configureBookmarkButtonCell; |
| 25 - (void)applyTextColor; | 24 - (void)applyTextColor; |
| 26 @end | 25 @end |
| 27 | 26 |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 respectFlipped:YES | 267 respectFlipped:YES |
| 269 hints:nil]; | 268 hints:nil]; |
| 270 } | 269 } |
| 271 } | 270 } |
| 272 | 271 |
| 273 - (int)verticalTextOffset { | 272 - (int)verticalTextOffset { |
| 274 return 0; | 273 return 0; |
| 275 } | 274 } |
| 276 | 275 |
| 277 @end | 276 @end |
| OLD | NEW |