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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java

Issue 258123003: ContentView->ContentViewCore.getContainerView for SwipableOverlay's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReporter.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java b/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java
index e4e40d02e9ad2a6fed53703658521dad20c4e332..67c4dd8d128f9ab3436385c8c8d51fecffccedcc 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReportingView.java
@@ -13,7 +13,7 @@ import android.widget.ImageButton;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.banners.SwipableOverlayView;
-import org.chromium.content.browser.ContentView;
+import org.chromium.content.browser.ContentViewCore;
/**
* A view which displays a question to the user about the quality of distillation, where the user
@@ -50,20 +50,20 @@ public class DomDistillerFeedbackReportingView extends SwipableOverlayView {
}
/**
- * Creates a DomDistillerFeedbackReportingView and adds it to the given ContentView.
+ * Creates a DomDistillerFeedbackReportingView and adds it to the given ContentViewCore.
*
- * @param contentView ContentView to display the DomDistillerFeedbackReportingView for.
+ * @param contentView ContentViewCore to display the DomDistillerFeedbackReportingView for.
* @param feedbackObserver Class that is alerted for DomDistillerFeedbackReportingView events.
* @return The created banner.
*/
- public static DomDistillerFeedbackReportingView create(ContentView contentView,
+ public static DomDistillerFeedbackReportingView create(ContentViewCore contentViewCore,
FeedbackObserver feedbackObserver) {
- Context context = contentView.getContext().getApplicationContext();
+ Context context = contentViewCore.getContext().getApplicationContext();
DomDistillerFeedbackReportingView view =
(DomDistillerFeedbackReportingView) LayoutInflater.from(context)
.inflate(VIEW_LAYOUT, null);
view.initialize(feedbackObserver);
- view.addToView(contentView);
+ view.addToView(contentViewCore);
return view;
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerFeedbackReporter.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698