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

Unified Diff: content/public/browser/web_ui.h

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 | « content/public/browser/web_contents_observer.h ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_ui.h
diff --git a/content/public/browser/web_ui.h b/content/public/browser/web_ui.h
index 52ce114dcf37928c3eec47c5621a5112ef0234ca..8568530c7dbe779d678de6f0c89e52ef8cef5647 100644
--- a/content/public/browser/web_ui.h
+++ b/content/public/browser/web_ui.h
@@ -11,7 +11,7 @@
#include "base/callback.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
-#include "content/public/common/page_transition_types.h"
+#include "ui/base/page_transition_types.h"
class GURL;
@@ -64,8 +64,8 @@ class CONTENT_EXPORT WebUI {
// Returns the transition type that should be used for link clicks on this
// Web UI. This will default to LINK but may be overridden.
- virtual PageTransition GetLinkTransitionType() const = 0;
- virtual void SetLinkTransitionType(PageTransition type) = 0;
+ virtual ui::PageTransition GetLinkTransitionType() const = 0;
+ virtual void SetLinkTransitionType(ui::PageTransition type) = 0;
// Allows a controller to override the BindingsPolicy that should be enabled
// for this page.
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698