| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/autofill/password_generation_popup_view_cocoa.h
" | 5 #import "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.h
" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| 11 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" | 11 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" |
| 12 #include "chrome/browser/ui/autofill/autofill_popup_view.h" | 12 #include "chrome/browser/ui/autofill/autofill_popup_view.h" |
| 13 #include "chrome/browser/ui/autofill/popup_constants.h" | 13 #include "chrome/browser/ui/autofill/popup_constants.h" |
| 14 #include "chrome/browser/ui/chrome_style.h" | 14 #include "chrome/browser/ui/chrome_style.h" |
| 15 #include "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge
.h" | 15 #include "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge
.h" |
| 16 #import "chrome/browser/ui/cocoa/hyperlink_text_view.h" | |
| 17 #import "chrome/browser/ui/cocoa/l10n_util.h" | 16 #import "chrome/browser/ui/cocoa/l10n_util.h" |
| 18 #include "components/autofill/core/browser/popup_item_ids.h" | 17 #include "components/autofill/core/browser/popup_item_ids.h" |
| 19 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
| 20 #include "skia/ext/skia_utils_mac.h" | 19 #include "skia/ext/skia_utils_mac.h" |
| 20 #import "ui/base/cocoa/controls/hyperlink_text_view.h" |
| 21 #include "ui/base/resource/resource_bundle.h" | 21 #include "ui/base/resource/resource_bundle.h" |
| 22 #include "ui/gfx/font_list.h" | 22 #include "ui/gfx/font_list.h" |
| 23 #include "ui/gfx/image/image.h" | 23 #include "ui/gfx/image/image.h" |
| 24 #include "ui/gfx/point.h" | 24 #include "ui/gfx/point.h" |
| 25 #include "ui/gfx/range/range.h" | 25 #include "ui/gfx/range/range.h" |
| 26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
| 27 #include "ui/gfx/text_constants.h" | 27 #include "ui/gfx/text_constants.h" |
| 28 | 28 |
| 29 using autofill::AutofillPopupView; | 29 using autofill::AutofillPopupView; |
| 30 using autofill::PasswordGenerationPopupController; | 30 using autofill::PasswordGenerationPopupController; |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 | 329 |
| 330 - (NSFont*)boldFont { | 330 - (NSFont*)boldFont { |
| 331 return [NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]]; | 331 return [NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]]; |
| 332 } | 332 } |
| 333 | 333 |
| 334 - (NSFont*)textFont { | 334 - (NSFont*)textFont { |
| 335 return [NSFont systemFontOfSize:[NSFont smallSystemFontSize]]; | 335 return [NSFont systemFontOfSize:[NSFont smallSystemFontSize]]; |
| 336 } | 336 } |
| 337 | 337 |
| 338 @end | 338 @end |
| OLD | NEW |