| 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 b8d5b468a80f2b7c002892595418eb94a4f53db2..ee7073b63b536424863b68a38991377ecb1da470 100644
|
| --- a/ios/web/public/web_state/navigation_context.h
|
| +++ b/ios/web/public/web_state/navigation_context.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| +#include "ui/base/page_transition_types.h"
|
| +
|
| class GURL;
|
|
|
| namespace net {
|
| @@ -30,6 +32,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
|
|
|