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

Unified Diff: content/public/common/page_transition_types.h

Issue 10827107: Allow transitions to WebUI pages which are extension urls (new tab page is the relevant example). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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: content/public/common/page_transition_types.h
===================================================================
--- content/public/common/page_transition_types.h (revision 150475)
+++ content/public/common/page_transition_types.h (working copy)
@@ -149,6 +149,10 @@
// Return the qualifier
CONTENT_EXPORT int32 PageTransitionGetQualifier(PageTransition type);
+// Returns true if the transition can be triggered by the web instead of
+// through UI or similar.
+CONTENT_EXPORT bool PageTransitionIsWebTriggerable(PageTransition type);
+
// Return a string version of the core type values.
CONTENT_EXPORT const char* PageTransitionGetCoreTransitionString(
PageTransition type);

Powered by Google App Engine
This is Rietveld 408576698