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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Update CastBrowserContext Created 3 years, 7 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
Index: chrome/browser/ui/autofill/chrome_autofill_client.cc
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.cc b/chrome/browser/ui/autofill/chrome_autofill_client.cc
index 9c9e27f394a32dc77a2a47f4bb7144d2bd3f1f0f..8f1dbf76d8d60349957a8c52f299e61291872600 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.cc
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.cc
@@ -311,10 +311,12 @@ void ChromeAutofillClient::WebContentsDestroyed() {
HideAutofillPopup();
}
+#if !defined(OS_ANDROID)
void ChromeAutofillClient::OnZoomChanged(
const zoom::ZoomController::ZoomChangedEventData& data) {
HideAutofillPopup();
}
+#endif // !defined(OS_ANDROID)
void ChromeAutofillClient::PropagateAutofillPredictions(
content::RenderFrameHost* rfh,

Powered by Google App Engine
This is Rietveld 408576698