| 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_NAVIGATION_CONTROLLER_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include "content/public/browser/invalidate_type.h" | 11 #include "content/public/browser/invalidate_type.h" |
| 12 #include "content/public/browser/navigation_controller.h" | 12 #include "content/public/browser/navigation_controller.h" |
| 13 #include "content/public/browser/navigation_details.h" | 13 #include "content/public/browser/navigation_details.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 struct LoadCommittedDetails; | 17 struct LoadCommittedDetails; |
| 18 struct LoadNotificationDetails; | |
| 19 struct NativeWebKeyboardEvent; | |
| 20 class FrameTree; | 18 class FrameTree; |
| 21 class InterstitialPage; | 19 class InterstitialPage; |
| 22 class InterstitialPageImpl; | 20 class InterstitialPageImpl; |
| 23 class RenderFrameHost; | 21 class RenderFrameHost; |
| 24 class RenderViewHost; | 22 class RenderViewHost; |
| 25 class SiteInstance; | |
| 26 class WebContents; | 23 class WebContents; |
| 27 class WebContentsDelegate; | |
| 28 | 24 |
| 29 // Interface for objects embedding a NavigationController to provide the | 25 // Interface for objects embedding a NavigationController to provide the |
| 30 // functionality NavigationController needs. | 26 // functionality NavigationController needs. |
| 31 // TODO(nasko): This interface should exist for short amount of time, while | 27 // TODO(nasko): This interface should exist for short amount of time, while |
| 32 // we transition navigation code from WebContents to Navigator. | 28 // we transition navigation code from WebContents to Navigator. |
| 33 class NavigationControllerDelegate { | 29 class NavigationControllerDelegate { |
| 34 public: | 30 public: |
| 35 virtual ~NavigationControllerDelegate() {} | 31 virtual ~NavigationControllerDelegate() {} |
| 36 | 32 |
| 37 // Duplicates of WebContents methods. | 33 // Duplicates of WebContents methods. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 66 InterstitialPageImpl* interstitial_page) = 0; | 62 InterstitialPageImpl* interstitial_page) = 0; |
| 67 virtual void DidProceedOnInterstitial() = 0; | 63 virtual void DidProceedOnInterstitial() = 0; |
| 68 virtual void DetachInterstitialPage() = 0; | 64 virtual void DetachInterstitialPage() = 0; |
| 69 | 65 |
| 70 virtual void UpdateOverridingUserAgent() = 0; | 66 virtual void UpdateOverridingUserAgent() = 0; |
| 71 }; | 67 }; |
| 72 | 68 |
| 73 } // namespace content | 69 } // namespace content |
| 74 | 70 |
| 75 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_ | 71 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_ |
| OLD | NEW |