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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/infobars/alternate_nav_infobar_controller.h" 5 #import "chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
9 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h" 11 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
10 #include "chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h" 12 #include "chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h"
11 #import "ui/base/cocoa/cocoa_base_utils.h" 13 #import "ui/base/cocoa/cocoa_base_utils.h"
12 #import "ui/base/cocoa/controls/hyperlink_text_view.h" 14 #import "ui/base/cocoa/controls/hyperlink_text_view.h"
13 #include "ui/base/window_open_disposition.h" 15 #include "ui/base/window_open_disposition.h"
14 16
15 @implementation AlternateNavInfoBarController 17 @implementation AlternateNavInfoBarController
16 18
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 62
61 // static 63 // static
62 scoped_ptr<infobars::InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar( 64 scoped_ptr<infobars::InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar(
63 scoped_ptr<AlternateNavInfoBarDelegate> delegate) { 65 scoped_ptr<AlternateNavInfoBarDelegate> delegate) {
64 scoped_ptr<InfoBarCocoa> infobar(new InfoBarCocoa(delegate.Pass())); 66 scoped_ptr<InfoBarCocoa> infobar(new InfoBarCocoa(delegate.Pass()));
65 base::scoped_nsobject<AlternateNavInfoBarController> controller( 67 base::scoped_nsobject<AlternateNavInfoBarController> controller(
66 [[AlternateNavInfoBarController alloc] initWithInfoBar:infobar.get()]); 68 [[AlternateNavInfoBarController alloc] initWithInfoBar:infobar.get()]);
67 infobar->set_controller(controller); 69 infobar->set_controller(controller);
68 return infobar.Pass(); 70 return infobar.Pass();
69 } 71 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/info_bubble_window.mm ('k') | chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698