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

Unified Diff: android_webview/native/aw_contents.cc

Issue 17291010: Clean up AwContents calls to change visibility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | « android_webview/native/aw_contents.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 89c1cf9a33141dce6bcf7bc663d8a637fc994528..f281e8840aa437dc81d659cf4718dde655dce09b 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -590,10 +590,8 @@ void AwContents::OnSizeChanged(JNIEnv* env, jobject obj,
browser_view_renderer_->OnSizeChanged(w, h);
}
-void AwContents::SetWindowViewVisibility(JNIEnv* env, jobject obj,
- bool window_visible,
- bool view_visible) {
- browser_view_renderer_->OnVisibilityChanged(window_visible, view_visible);
+void AwContents::SetVisibility(JNIEnv* env, jobject obj, bool visible) {
+ browser_view_renderer_->OnVisibilityChanged(visible);
}
void AwContents::OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h) {
« no previous file with comments | « android_webview/native/aw_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698