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 3 // found in the LICENSE file. 4 5 #import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h" 6 7 @interface BeforeTranslateInfobarController : TranslateInfoBarControllerBase { 8 base::scoped_nsobject<NSButton> alwaysTranslateButton_; 9 base::scoped_nsobject<NSButton> neverTranslateButton_; 10 } 11 12 // Creates and initializes the alwaysTranslate and neverTranslate buttons. 13 - (void)initializeExtraControls; 14 15 @end 16 17 @interface BeforeTranslateInfobarController (TestingAPI) 18 19 - (NSButton*)alwaysTranslateButton; 20 - (NSButton*)neverTranslateButton; 21 22 @end 23