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

Unified Diff: ui/android/java/src/org/chromium/ui/UiUtils.java

Issue 2232943002: Revert of [Android] Make it possible to show Infobar in native pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/tab/TabContentViewParent.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/UiUtils.java
diff --git a/ui/android/java/src/org/chromium/ui/UiUtils.java b/ui/android/java/src/org/chromium/ui/UiUtils.java
index 4522ec45677710936c72f75d01c1bc13776c7cff..b81b994c9941fdfd4fb1bdf5d6bb91d59574cf1e 100644
--- a/ui/android/java/src/org/chromium/ui/UiUtils.java
+++ b/ui/android/java/src/org/chromium/ui/UiUtils.java
@@ -333,16 +333,4 @@
? ContentUriUtils.getContentUriFromFile(context, file)
: Uri.fromFile(file);
}
-
- /**
- * Removes the view from its parent {@link ViewGroup}. No-op if the {@link View} is not yet
- * attached to the view hierarchy.
- *
- * @param view The view to be removed from the parent.
- */
- public static void removeViewFromParent(View view) {
- ViewGroup parent = (ViewGroup) view.getParent();
- if (parent == null) return;
- parent.removeView(view);
- }
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698