OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/one_click_signin_view_controller.h" | 5 #import "chrome/browser/ui/cocoa/one_click_signin_view_controller.h" |
6 | 6 |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/mac/bundle_locations.h" | 9 #include "base/mac/bundle_locations.h" |
10 #import "chrome/browser/ui/cocoa/chrome_style.h" | 10 #import "chrome/browser/ui/cocoa/chrome_style.h" |
11 #include "chrome/common/url_constants.h" | 11 #include "chrome/common/url_constants.h" |
12 #include "chrome/grit/chromium_strings.h" | 12 #include "chrome/grit/chromium_strings.h" |
13 #include "chrome/grit/generated_resources.h" | |
14 #include "components/signin/core/browser/signin_metrics.h" | 13 #include "components/signin/core/browser/signin_metrics.h" |
15 #include "components/strings/grit/components_strings.h" | 14 #include "components/strings/grit/components_strings.h" |
16 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
17 #include "skia/ext/skia_utils_mac.h" | 16 #include "skia/ext/skia_utils_mac.h" |
18 #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" |
19 #import "ui/base/cocoa/controls/hyperlink_text_view.h" | 18 #import "ui/base/cocoa/controls/hyperlink_text_view.h" |
20 #include "ui/base/l10n/l10n_util_mac.h" | 19 #include "ui/base/l10n/l10n_util_mac.h" |
21 | 20 |
22 namespace { | 21 namespace { |
23 | 22 |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 | 303 |
305 @end | 304 @end |
306 | 305 |
307 @implementation OneClickSigninViewController (TestingAPI) | 306 @implementation OneClickSigninViewController (TestingAPI) |
308 | 307 |
309 - (NSTextView*)linkViewForTesting { | 308 - (NSTextView*)linkViewForTesting { |
310 return informativeTextView_.get(); | 309 return informativeTextView_.get(); |
311 } | 310 } |
312 | 311 |
313 @end | 312 @end |
OLD | NEW |