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/strings/sys_string_conversions.h" | 8 #include "base/strings/sys_string_conversions.h" |
9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" | 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" |
10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controlle
r.h" | 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controlle
r.h" |
11 #import "components/bookmarks/core/browser/bookmark_model.h" | 11 #import "components/bookmarks/browser/bookmark_model.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 | 17 |
18 using base::UserMetricsAction; | 18 using base::UserMetricsAction; |
19 | 19 |
20 const int kHierarchyButtonXMargin = 4; | 20 const int kHierarchyButtonXMargin = 4; |
21 | 21 |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 respectFlipped:YES | 297 respectFlipped:YES |
298 hints:nil]; | 298 hints:nil]; |
299 } | 299 } |
300 } | 300 } |
301 | 301 |
302 - (int)verticalTextOffset { | 302 - (int)verticalTextOffset { |
303 return 0; | 303 return 0; |
304 } | 304 } |
305 | 305 |
306 @end | 306 @end |
OLD | NEW |