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

Side by Side Diff: chrome/browser/ui/android/infobars/infobar_android.h

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix components/OWNERS Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_helper.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "chrome/browser/infobars/infobar.h" 14 #include "components/infobars/core/infobar.h"
15 15
16 class InfoBarDelegate; 16 class InfoBarDelegate;
17 class InfoBarService; 17 class InfoBarService;
18 18
19 class InfoBarAndroid : public InfoBar { 19 class InfoBarAndroid : public InfoBar {
20 public: 20 public:
21 21
22 // Make sure this set of values is aligned with the java constants defined in 22 // Make sure this set of values is aligned with the java constants defined in
23 // InfoBar.java! 23 // InfoBar.java!
24 enum ActionType { 24 enum ActionType {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 private: 72 private:
73 base::android::ScopedJavaGlobalRef<jobject> java_info_bar_; 73 base::android::ScopedJavaGlobalRef<jobject> java_info_bar_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(InfoBarAndroid); 75 DISALLOW_COPY_AND_ASSIGN(InfoBarAndroid);
76 }; 76 };
77 77
78 // Registers the NativeInfoBar's native methods through JNI. 78 // Registers the NativeInfoBar's native methods through JNI.
79 bool RegisterNativeInfoBar(JNIEnv* env); 79 bool RegisterNativeInfoBar(JNIEnv* env);
80 80
81 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ 81 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698