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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 2019423005: Move //components/ui/zoom to top-level under //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index cd06a907fbd2f11d2da8c7f15a567cd5eb8ef2a3..985acdb418dc872f3e87aece005387748b406f15 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -61,8 +61,8 @@
#include "components/search_engines/template_url_service.h"
#include "components/toolbar/toolbar_model.h"
#include "components/translate/core/browser/language_state.h"
-#include "components/ui/zoom/zoom_controller.h"
-#include "components/ui/zoom/zoom_event_manager.h"
+#include "components/zoom/zoom_controller.h"
+#include "components/zoom/zoom_event_manager.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "extensions/browser/extension_registry.h"
@@ -153,7 +153,7 @@ LocationBarView::LocationBarView(Browser* browser,
base::Bind(&LocationBarView::UpdateWithoutTabRestore,
base::Unretained(this)));
- ui_zoom::ZoomEventManager::GetForBrowserContext(profile)
+ zoom::ZoomEventManager::GetForBrowserContext(profile)
->AddZoomEventManagerObserver(this);
}
@@ -161,7 +161,7 @@ LocationBarView::~LocationBarView() {
if (template_url_service_)
template_url_service_->RemoveObserver(this);
- ui_zoom::ZoomEventManager::GetForBrowserContext(profile())
+ zoom::ZoomEventManager::GetForBrowserContext(profile())
->RemoveZoomEventManagerObserver(this);
}
@@ -974,7 +974,7 @@ bool LocationBarView::RefreshZoomView() {
if (!web_contents)
return false;
const bool was_visible = zoom_view_->visible();
- zoom_view_->Update(ui_zoom::ZoomController::FromWebContents(web_contents));
+ zoom_view_->Update(zoom::ZoomController::FromWebContents(web_contents));
if (!zoom_view_->visible())
ZoomBubbleView::CloseCurrentBubble();
return was_visible != zoom_view_->visible();
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.h ('k') | chrome/browser/ui/views/location_bar/zoom_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698