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

Unified 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 nib name on mac 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/infobar_container_android.h
diff --git a/chrome/browser/ui/android/infobars/infobar_container_android.h b/chrome/browser/ui/android/infobars/infobar_container_android.h
index f64e3585732931be157b8ea2314bc0f3780d3477..9e629a49b2e4aa98e0da745a8c9055c1cbf12bc1 100644
--- a/chrome/browser/ui/android/infobars/infobar_container_android.h
+++ b/chrome/browser/ui/android/infobars/infobar_container_android.h
@@ -12,7 +12,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "chrome/browser/infobars/infobar_container.h"
+#include "components/infobars/core/infobar_container.h"
class InfoBarAndroid;
@@ -20,7 +20,7 @@ namespace content {
class WebContents;
}
-class InfoBarContainerAndroid : public InfoBarContainer {
+class InfoBarContainerAndroid : public infobars::InfoBarContainer {
public:
InfoBarContainerAndroid(JNIEnv* env,
jobject infobar_container,
@@ -39,11 +39,13 @@ class InfoBarContainerAndroid : public InfoBarContainer {
virtual ~InfoBarContainerAndroid() OVERRIDE;
// InfobarContainer:
- virtual void PlatformSpecificAddInfoBar(InfoBar* infobar,
+ virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
size_t position) OVERRIDE;
- virtual void PlatformSpecificRemoveInfoBar(InfoBar* infobar) OVERRIDE;
- virtual void PlatformSpecificReplaceInfoBar(InfoBar* old_infobar,
- InfoBar* new_infobar) OVERRIDE;
+ virtual void PlatformSpecificRemoveInfoBar(infobars::InfoBar* infobar)
+ OVERRIDE;
+ virtual void PlatformSpecificReplaceInfoBar(
+ infobars::InfoBar* old_infobar,
+ infobars::InfoBar* new_infobar) OVERRIDE;
// Create the Java equivalent of |android_bar| and add it to the java
// container.
« no previous file with comments | « chrome/browser/ui/android/infobars/infobar_android.cc ('k') | chrome/browser/ui/android/infobars/infobar_container_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698