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

Side by Side Diff: chrome/browser/ui/android/infobars/infobar_container_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_CONTAINER_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/android/jni_helper.h" 11 #include "base/android/jni_helper.h"
12 #include "base/android/scoped_java_ref.h" 12 #include "base/android/scoped_java_ref.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "chrome/browser/infobars/infobar_container.h" 15 #include "components/infobars/core/infobar_container.h"
16 16
17 class InfoBarAndroid; 17 class InfoBarAndroid;
18 18
19 namespace content { 19 namespace content {
20 class WebContents; 20 class WebContents;
21 } 21 }
22 22
23 class InfoBarContainerAndroid : public InfoBarContainer { 23 class InfoBarContainerAndroid : public InfoBarContainer {
24 public: 24 public:
25 InfoBarContainerAndroid(JNIEnv* env, 25 InfoBarContainerAndroid(JNIEnv* env,
(...skipping 28 matching lines...) Expand all
54 JavaObjectWeakGlobalRef weak_java_infobar_container_; 54 JavaObjectWeakGlobalRef weak_java_infobar_container_;
55 JavaObjectWeakGlobalRef weak_java_auto_login_delegate_; 55 JavaObjectWeakGlobalRef weak_java_auto_login_delegate_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerAndroid); 57 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerAndroid);
58 }; 58 };
59 59
60 // Registers the InfoBarContainer's native methods through JNI. 60 // Registers the InfoBarContainer's native methods through JNI.
61 bool RegisterInfoBarContainer(JNIEnv* env); 61 bool RegisterInfoBarContainer(JNIEnv* env);
62 62
63 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ 63 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698