| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/translate_infobar_base.h" | 5 #import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h" |
| 6 | 6 |
| 7 @interface BeforeTranslateInfobarController : TranslateInfoBarControllerBase { | 7 @interface BeforeTranslateInfobarController : TranslateInfoBarControllerBase { |
| 8 scoped_nsobject<NSButton> alwaysTranslateButton_; | 8 base::scoped_nsobject<NSButton> alwaysTranslateButton_; |
| 9 scoped_nsobject<NSButton> neverTranslateButton_; | 9 base::scoped_nsobject<NSButton> neverTranslateButton_; |
| 10 } | 10 } |
| 11 | 11 |
| 12 // Creates and initializes the alwaysTranslate and neverTranslate buttons. | 12 // Creates and initializes the alwaysTranslate and neverTranslate buttons. |
| 13 - (void)initializeExtraControls; | 13 - (void)initializeExtraControls; |
| 14 | 14 |
| 15 @end | 15 @end |
| 16 | 16 |
| 17 @interface BeforeTranslateInfobarController (TestingAPI) | 17 @interface BeforeTranslateInfobarController (TestingAPI) |
| 18 | 18 |
| 19 - (NSButton*)alwaysTranslateButton; | 19 - (NSButton*)alwaysTranslateButton; |
| 20 - (NSButton*)neverTranslateButton; | 20 - (NSButton*)neverTranslateButton; |
| 21 | 21 |
| 22 @end | 22 @end |
| OLD | NEW |