OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TRANSLATE_INFOBAR_BASE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TRANSLATE_INFOBAR_BASE_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TRANSLATE_INFOBAR_BASE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TRANSLATE_INFOBAR_BASE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 #import "chrome/browser/ui/cocoa/infobar_controller.h" | 10 #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h" |
11 | 11 |
12 #import "base/mac/cocoa_protocols.h" | 12 #import "base/mac/cocoa_protocols.h" |
13 #import "base/scoped_nsobject.h" | 13 #import "base/scoped_nsobject.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "chrome/browser/translate/languages_menu_model.h" | 15 #include "chrome/browser/translate/languages_menu_model.h" |
16 #include "chrome/browser/translate/options_menu_model.h" | 16 #include "chrome/browser/translate/options_menu_model.h" |
17 #include "chrome/browser/translate/translate_infobar_delegate.h" | 17 #include "chrome/browser/translate/translate_infobar_delegate.h" |
18 #include "chrome/common/translate_errors.h" | 18 #include "chrome/common/translate_errors.h" |
19 | 19 |
20 class TranslateInfoBarMenuModel; | 20 class TranslateInfoBarMenuModel; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 - (NSMenu*)optionsMenu; | 154 - (NSMenu*)optionsMenu; |
155 | 155 |
156 // Returns |translateMessageButton_|, see declaration of member | 156 // Returns |translateMessageButton_|, see declaration of member |
157 // variable for a full description. | 157 // variable for a full description. |
158 - (NSButton*)translateMessageButton; | 158 - (NSButton*)translateMessageButton; |
159 | 159 |
160 @end // TranslateInfoBarControllerBase (TestingAPI) | 160 @end // TranslateInfoBarControllerBase (TestingAPI) |
161 | 161 |
162 | 162 |
163 #endif // CHROME_BROWSER_UI_COCOA_TRANSLATE_INFOBAR_BASE_H_ | 163 #endif // CHROME_BROWSER_UI_COCOA_TRANSLATE_INFOBAR_BASE_H_ |
OLD | NEW |