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

Unified Diff: content/browser/web_contents/web_contents_android.cc

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 2 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 | « content/browser/web_contents/web_contents_android.h ('k') | content/common/layer_tree_settings_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index d9a6e2bb803a2b5bdab22fdbf191694268a65cba..02cc13c14e81deb0bbc436e239cf96898e523949 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -429,7 +429,7 @@ void WebContentsAndroid::ExitFullscreen(JNIEnv* env,
web_contents_->ExitFullscreen(/*will_cause_resize=*/false);
}
-void WebContentsAndroid::UpdateTopControlsState(
+void WebContentsAndroid::UpdateBrowserControlsState(
JNIEnv* env,
const JavaParamRef<jobject>& obj,
bool enable_hiding,
@@ -438,10 +438,8 @@ void WebContentsAndroid::UpdateTopControlsState(
RenderViewHost* host = web_contents_->GetRenderViewHost();
if (!host)
return;
- host->Send(new ViewMsg_UpdateTopControlsState(host->GetRoutingID(),
- enable_hiding,
- enable_showing,
- animate));
+ host->Send(new ViewMsg_UpdateBrowserControlsState(
+ host->GetRoutingID(), enable_hiding, enable_showing, animate));
}
void WebContentsAndroid::ShowImeIfNeeded(JNIEnv* env,
« no previous file with comments | « content/browser/web_contents/web_contents_android.h ('k') | content/common/layer_tree_settings_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698