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 #include <algorithm> | 5 #include <algorithm> |
6 | 6 |
7 #import "chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_cont
roller.h" | 7 #import "chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_cont
roller.h" |
8 | 8 |
9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
10 #include "chrome/browser/ui/cocoa/chrome_style.h" | 10 #include "chrome/browser/ui/cocoa/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 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" | 12 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
13 #include "chrome/grit/generated_resources.h" | |
14 #include "components/strings/grit/components_strings.h" | 13 #include "components/strings/grit/components_strings.h" |
15 #include "skia/ext/skia_utils_mac.h" | 14 #include "skia/ext/skia_utils_mac.h" |
16 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw
eaker.h" | 15 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw
eaker.h" |
17 #import "ui/base/cocoa/controls/hyperlink_text_view.h" | 16 #import "ui/base/cocoa/controls/hyperlink_text_view.h" |
18 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
19 #include "ui/base/resource/resource_bundle.h" | 18 #include "ui/base/resource/resource_bundle.h" |
20 #include "ui/gfx/font_list.h" | 19 #include "ui/gfx/font_list.h" |
21 | 20 |
22 @interface ConfirmationPasswordSavedViewController () | 21 @interface ConfirmationPasswordSavedViewController () |
23 - (void)onOKClicked:(id)sender; | 22 - (void)onOKClicked:(id)sender; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 140 |
142 - (HyperlinkTextView*)confirmationText { | 141 - (HyperlinkTextView*)confirmationText { |
143 return confirmationText_.get(); | 142 return confirmationText_.get(); |
144 } | 143 } |
145 | 144 |
146 - (NSButton*)okButton { | 145 - (NSButton*)okButton { |
147 return okButton_.get(); | 146 return okButton_.get(); |
148 } | 147 } |
149 | 148 |
150 @end | 149 @end |
OLD | NEW |