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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/before_translate_infobar_controller.h

Issue 2747693003: Add missing include guards in Cocoa code. (Closed)
Patch Set: Fix nit Created 3 years, 9 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) 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 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_BEFORE_TRANSLATE_INFOBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_BEFORE_TRANSLATE_INFOBAR_CONTROLLER_H_
7
5 #import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h" 8 #import "chrome/browser/ui/cocoa/infobars/translate_infobar_base.h"
6 9
7 @interface BeforeTranslateInfobarController : TranslateInfoBarControllerBase { 10 @interface BeforeTranslateInfobarController : TranslateInfoBarControllerBase {
8 base::scoped_nsobject<NSButton> alwaysTranslateButton_; 11 base::scoped_nsobject<NSButton> alwaysTranslateButton_;
9 base::scoped_nsobject<NSButton> neverTranslateButton_; 12 base::scoped_nsobject<NSButton> neverTranslateButton_;
10 } 13 }
11 14
12 // Creates and initializes the alwaysTranslate and neverTranslate buttons. 15 // Creates and initializes the alwaysTranslate and neverTranslate buttons.
13 - (void)initializeExtraControls; 16 - (void)initializeExtraControls;
14 17
15 @end 18 @end
16 19
17 @interface BeforeTranslateInfobarController (TestingAPI) 20 @interface BeforeTranslateInfobarController (TestingAPI)
18 21
19 - (NSButton*)alwaysTranslateButton; 22 - (NSButton*)alwaysTranslateButton;
20 - (NSButton*)neverTranslateButton; 23 - (NSButton*)neverTranslateButton;
21 24
22 @end 25 @end
26
27 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_BEFORE_TRANSLATE_INFOBAR_CONTROLLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698