| 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/passwords/manage_passwords_view_controller.h" | 5 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 10 #include "chrome/browser/ui/chrome_style.h" | 10 #include "chrome/browser/ui/chrome_style.h" |
| 11 #import "chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h" | 11 #import "chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h" |
| 12 #import "chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.h" | 12 #import "chrome/browser/ui/cocoa/passwords/passwords_list_view_controller.h" |
| 13 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" | 13 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
| 14 #include "grit/components_strings.h" | 14 #include "components/strings/grit/components_strings.h" |
| 15 #include "grit/generated_resources.h" | 15 #include "grit/generated_resources.h" |
| 16 #include "skia/ext/skia_utils_mac.h" | 16 #include "skia/ext/skia_utils_mac.h" |
| 17 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw
eaker.h" | 17 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw
eaker.h" |
| 18 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" | 18 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" |
| 19 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
| 20 | 20 |
| 21 @implementation NoPasswordsView | 21 @implementation NoPasswordsView |
| 22 - (id)initWithWidth:(CGFloat)width { | 22 - (id)initWithWidth:(CGFloat)width { |
| 23 if ((self = [super initWithFrame:NSZeroRect])) { | 23 if ((self = [super initWithFrame:NSZeroRect])) { |
| 24 [self setEditable:NO]; | 24 [self setEditable:NO]; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 - (NoPasswordsView*)noPasswordsView { | 175 - (NoPasswordsView*)noPasswordsView { |
| 176 return noPasswordsView_.get(); | 176 return noPasswordsView_.get(); |
| 177 } | 177 } |
| 178 | 178 |
| 179 - (PasswordsListViewController*)passwordsListController { | 179 - (PasswordsListViewController*)passwordsListController { |
| 180 return passwordsListController_.get(); | 180 return passwordsListController_.get(); |
| 181 } | 181 } |
| 182 | 182 |
| 183 @end | 183 @end |
| OLD | NEW |