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

Unified Diff: chrome/renderer/chrome_render_view_observer.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 | « chrome/renderer/chrome_render_view_observer.h ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_view_observer.cc
diff --git a/chrome/renderer/chrome_render_view_observer.cc b/chrome/renderer/chrome_render_view_observer.cc
index e78cbdde307b6ccaee5475c603b088f42d6557d7..ce76b98569ca10b290661b1a16aee3d92a47b810 100644
--- a/chrome/renderer/chrome_render_view_observer.cc
+++ b/chrome/renderer/chrome_render_view_observer.cc
@@ -60,8 +60,8 @@ bool ChromeRenderViewObserver::OnMessageReceived(const IPC::Message& message) {
OnSetVisuallyDeemphasized)
#endif
#if defined(OS_ANDROID)
- IPC_MESSAGE_HANDLER(ChromeViewMsg_UpdateTopControlsState,
- OnUpdateTopControlsState)
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_UpdateBrowserControlsState,
+ OnUpdateBrowserControlsState)
#endif
IPC_MESSAGE_HANDLER(ChromeViewMsg_GetWebApplicationInfo,
OnGetWebApplicationInfo)
@@ -80,11 +80,11 @@ void ChromeRenderViewObserver::OnWebUIJavaScript(
#endif
#if defined(OS_ANDROID)
-void ChromeRenderViewObserver::OnUpdateTopControlsState(
- content::TopControlsState constraints,
- content::TopControlsState current,
+void ChromeRenderViewObserver::OnUpdateBrowserControlsState(
+ content::BrowserControlsState constraints,
+ content::BrowserControlsState current,
bool animate) {
- render_view()->UpdateTopControlsState(constraints, current, animate);
+ render_view()->UpdateBrowserControlsState(constraints, current, animate);
}
#endif
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.h ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698