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

Unified Diff: chrome/browser/cocoa/translate/translate_message_infobar_controller.h

Issue 2815013: Refactor the translate infobars on mac to match the new windows code. (Closed)
Patch Set: Move unittest stuff back to class files Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/translate/translate_message_infobar_controller.h
diff --git a/chrome/browser/cocoa/translate/translate_message_infobar_controller.h b/chrome/browser/cocoa/translate/translate_message_infobar_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..9461d00428fb0dd6b39d7449277391ad60963a49
--- /dev/null
+++ b/chrome/browser/cocoa/translate/translate_message_infobar_controller.h
@@ -0,0 +1,13 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "chrome/browser/cocoa/translate/translate_infobar_base.h"
+
+@interface TranslateMessageInfobarController : TranslateInfoBarControllerBase {
+ // This keeps track of whether the infobar is displaying a message or an
+ // error. If it is an error it should have a try again button.
+ TranslateInfoBarDelegate2::Type state_;
+}
+
+@end

Powered by Google App Engine
This is Rietveld 408576698