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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_login_handler.cc

Issue 769593003: Move ZoomObserver, ZoomController and ZoomEventManager to components/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make it static_library, ditch export macros. Created 6 years 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/webui/ntp/ntp_login_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
index 16ff75ac73bc22470c52c986a028ec0524a7976f..07d7dcb32052ba4da7ac24234c95f6693208fbf9 100644
--- a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
@@ -158,7 +158,7 @@ void NTPLoginHandler::HandleShowSyncLoginUI(const base::ListValue* args) {
DCHECK(success);
double zoom = content::ZoomLevelToZoomFactor(
- ZoomController::FromWebContents(web_contents)->GetZoomLevel());
+ ui_zoom::ZoomController::FromWebContents(web_contents)->GetZoomLevel());
gfx::Rect rect(x * zoom, y * zoom, width * zoom, height * zoom);
browser->window()->ShowAvatarBubble(web_ui()->GetWebContents(), rect);

Powered by Google App Engine
This is Rietveld 408576698