#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/layout.h"
+#include "ui/base/page_transition_types.h"
class GURL;
// Returns the device scale factor of the monitor that the renderer is on.
// Whenever possible, WebUI should push resources with this scale factor to
// Javascript.
- virtual ui::ScaleFactor GetDeviceScaleFactor() const = 0;
+ virtual float GetDeviceScaleFactor() const = 0;
// Gets a custom tab title provided by the Web UI. If there is no title
// override, the string will be empty which should trigger the default title
// 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.