Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Side by Side Diff: chrome/browser/ui/cocoa/one_click_signin_view_controller.mm

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/chrome_style.h" 10 #import "chrome/browser/ui/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" 13 #include "chrome/grit/generated_resources.h"
14 #include "components/signin/core/browser/signin_metrics.h" 14 #include "components/signin/core/browser/signin_metrics.h"
15 #include "components/strings/grit/components_strings.h"
15 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
16 #include "grit/components_strings.h"
17 #include "skia/ext/skia_utils_mac.h" 17 #include "skia/ext/skia_utils_mac.h"
18 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h" 18 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h"
19 #import "ui/base/cocoa/controls/hyperlink_text_view.h" 19 #import "ui/base/cocoa/controls/hyperlink_text_view.h"
20 #include "ui/base/l10n/l10n_util_mac.h" 20 #include "ui/base/l10n/l10n_util_mac.h"
21 21
22 namespace { 22 namespace {
23 23
24 // The margin between the top edge of the border and the error message text in 24 // The margin between the top edge of the border and the error message text in
25 // the sign-in bubble, in the case of an error. 25 // the sign-in bubble, in the case of an error.
26 const CGFloat kTopErrorMessageMargin = 12; 26 const CGFloat kTopErrorMessageMargin = 12;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 @end 304 @end
305 305
306 @implementation OneClickSigninViewController (TestingAPI) 306 @implementation OneClickSigninViewController (TestingAPI)
307 307
308 - (NSTextView*)linkViewForTesting { 308 - (NSTextView*)linkViewForTesting {
309 return informativeTextView_.get(); 309 return informativeTextView_.get();
310 } 310 }
311 311
312 @end 312 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698