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

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/browser/ui/webui/inspect_ui.cc ('k') | chrome/browser/ui/webui/ntp/most_visited_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
index 255188df5eb61ac59c96e8e2660489ec5d619aed..a76e5490dd1d6c72fd9ec605de2b326ade1fe446 100644
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
@@ -36,12 +36,12 @@
#include "components/signin/core/browser/signin_manager_base.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_ui.h"
-#include "content/public/common/page_transition_types.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_util.h"
#include "net/base/url_util.h"
#include "net/http/http_status_code.h"
#include "ui/base/l10n/l10n_util.h"
+#include "ui/base/page_transition_types.h"
#if defined(ENABLE_FULL_PRINTING) && !defined(OS_CHROMEOS)
#define CLOUD_PRINT_CONNECTOR_UI_AVAILABLE
@@ -291,7 +291,7 @@ void LocalDiscoveryUIHandler::HandleOpenCloudPrintURL(
chrome::AddSelectedTabWithURL(browser,
cloud_devices::GetCloudPrintManageDeviceURL(id),
- content::PAGE_TRANSITION_FROM_API);
+ ui::PAGE_TRANSITION_FROM_API);
}
void LocalDiscoveryUIHandler::HandleShowSyncUI(
@@ -305,7 +305,7 @@ void LocalDiscoveryUIHandler::HandleShowSyncUI(
browser->OpenURL(
content::OpenURLParams(url, content::Referrer(), SINGLETON_TAB,
- content::PAGE_TRANSITION_AUTO_BOOKMARK, false));
+ ui::PAGE_TRANSITION_AUTO_BOOKMARK, false));
}
void LocalDiscoveryUIHandler::StartRegisterHTTP(
@@ -686,7 +686,7 @@ void LocalDiscoveryUIHandler::ShowCloudPrintSetupDialog(
CloudPrintProxyServiceFactory::GetForProfile(profile)->proxy_id()),
content::Referrer(),
CURRENT_TAB,
- content::PAGE_TRANSITION_LINK,
+ ui::PAGE_TRANSITION_LINK,
false);
web_ui()->GetWebContents()->OpenURL(params);
}
« no previous file with comments | « chrome/browser/ui/webui/inspect_ui.cc ('k') | chrome/browser/ui/webui/ntp/most_visited_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698