| OLD | NEW | 
|    1 // Copyright 2013 The Chromium Authors. All rights reserved. |    1 // Copyright 2013 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |    5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 
|    6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |    6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 
|    7  |    7  | 
|    8 #include "base/memory/scoped_vector.h" |  | 
|    9 #include "base/strings/string16.h" |    8 #include "base/strings/string16.h" | 
|   10 #include "content/public/browser/invalidate_type.h" |    9 #include "content/public/browser/invalidate_type.h" | 
|   11 #include "content/public/browser/navigation_controller.h" |   10 #include "content/public/browser/navigation_controller.h" | 
|   12 #include "content/public/browser/navigation_throttle.h" |   11 #include "content/public/browser/navigation_throttle.h" | 
|   13 #include "content/public/browser/navigation_ui_data.h" |   12 #include "content/public/browser/navigation_ui_data.h" | 
|   14 #include "content/public/browser/reload_type.h" |   13 #include "content/public/browser/reload_type.h" | 
|   15 #include "ui/base/page_transition_types.h" |   14 #include "ui/base/page_transition_types.h" | 
|   16 #include "ui/base/window_open_disposition.h" |   15 #include "ui/base/window_open_disposition.h" | 
|   17  |   16  | 
|   18 class GURL; |   17 class GURL; | 
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  129   // A document stopped loading. This corresponds to Blink's notion of the |  128   // A document stopped loading. This corresponds to Blink's notion of the | 
|  130   // throbber stopping. |  129   // throbber stopping. | 
|  131   virtual void DidStopLoading() {} |  130   virtual void DidStopLoading() {} | 
|  132  |  131  | 
|  133   // The load progress was changed. |  132   // The load progress was changed. | 
|  134   virtual void DidChangeLoadProgress() {} |  133   virtual void DidChangeLoadProgress() {} | 
|  135  |  134  | 
|  136   // Returns the NavigationThrottles to add to this navigation. Normally these |  135   // Returns the NavigationThrottles to add to this navigation. Normally these | 
|  137   // are defined by the content/ embedder, except in the case of interstitials |  136   // are defined by the content/ embedder, except in the case of interstitials | 
|  138   // where no NavigationThrottles are added to the navigation. |  137   // where no NavigationThrottles are added to the navigation. | 
|  139   virtual ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( |  138   virtual std::vector<std::unique_ptr<NavigationThrottle>> | 
|  140       NavigationHandle* navigation_handle); |  139   CreateThrottlesForNavigation(NavigationHandle* navigation_handle); | 
|  141  |  140  | 
|  142   // PlzNavigate |  141   // PlzNavigate | 
|  143   // Called at the start of the navigation to get opaque data the embedder |  142   // Called at the start of the navigation to get opaque data the embedder | 
|  144   // wants to see passed to the corresponding URLRequest on the IO thread. |  143   // wants to see passed to the corresponding URLRequest on the IO thread. | 
|  145   // In the case of a navigation to an interstitial, no call will be made to the |  144   // In the case of a navigation to an interstitial, no call will be made to the | 
|  146   // embedder and |nullptr| is returned. |  145   // embedder and |nullptr| is returned. | 
|  147   virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( |  146   virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( | 
|  148       NavigationHandle* navigation_handle); |  147       NavigationHandle* navigation_handle); | 
|  149 }; |  148 }; | 
|  150  |  149  | 
|  151 }  // namspace content |  150 }  // namspace content | 
|  152  |  151  | 
|  153 #endif  // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |  152 #endif  // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 
| OLD | NEW |