| Index: ios/web/public/web_state/navigation_context.h
|
| diff --git a/ios/web/public/web_state/navigation_context.h b/ios/web/public/web_state/navigation_context.h
|
| index 95e07c0b37226f580f04ab3a10ab989c4906822d..61c4d3e0a862dad6d1bda074b174165ec92c74fc 100644
|
| --- a/ios/web/public/web_state/navigation_context.h
|
| +++ b/ios/web/public/web_state/navigation_context.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef IOS_WEB_PUBLIC_WEB_STATE_NAVIGATION_CONTEXT_H_
|
| #define IOS_WEB_PUBLIC_WEB_STATE_NAVIGATION_CONTEXT_H_
|
|
|
| +#include "ui/base/page_transition_types.h"
|
| +
|
| class GURL;
|
|
|
| namespace net {
|
| @@ -28,6 +30,9 @@ class NavigationContext {
|
| // The URL the WebState is navigating to.
|
| virtual const GURL& GetUrl() const = 0;
|
|
|
| + // Returns the page transition type for this navigation.
|
| + virtual ui::PageTransition GetPageTransition() const = 0;
|
| +
|
| // Whether the navigation happened within the same document. Examples of same
|
| // document navigations are:
|
| // * reference fragment navigations
|
|
|