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

Side by Side Diff: content/browser/frame_host/navigation_controller_delegate.h

Issue 30323002: [DRAFT] Create RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Misc fixes Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string> 8 #include <string>
9 #include "content/public/browser/navigation_controller.h" 9 #include "content/public/browser/navigation_controller.h"
10 #include "content/public/browser/navigation_details.h" 10 #include "content/public/browser/navigation_details.h"
(...skipping 18 matching lines...) Expand all
29 class NavigationControllerDelegate { 29 class NavigationControllerDelegate {
30 public: 30 public:
31 virtual ~NavigationControllerDelegate() {} 31 virtual ~NavigationControllerDelegate() {}
32 32
33 // Duplicates of WebContents methods. 33 // Duplicates of WebContents methods.
34 virtual RenderViewHost* GetRenderViewHost() const = 0; 34 virtual RenderViewHost* GetRenderViewHost() const = 0;
35 virtual InterstitialPage* GetInterstitialPage() const = 0; 35 virtual InterstitialPage* GetInterstitialPage() const = 0;
36 virtual const std::string& GetContentsMimeType() const = 0; 36 virtual const std::string& GetContentsMimeType() const = 0;
37 virtual void NotifyNavigationStateChanged(unsigned changed_flags) = 0; 37 virtual void NotifyNavigationStateChanged(unsigned changed_flags) = 0;
38 virtual void Stop() = 0; 38 virtual void Stop() = 0;
39 virtual SiteInstance* GetSiteInstance() const = 0;
40 virtual SiteInstance* GetPendingSiteInstance() const = 0; 39 virtual SiteInstance* GetPendingSiteInstance() const = 0;
41 virtual int32 GetMaxPageID() = 0; 40 virtual int32 GetMaxPageID() = 0;
42 virtual int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) = 0; 41 virtual int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) = 0;
43 virtual bool IsLoading() const = 0; 42 virtual bool IsLoading() const = 0;
44 43
45 // Methods from WebContentsImpl that NavigationControllerImpl needs to 44 // Methods from WebContentsImpl that NavigationControllerImpl needs to
46 // call. 45 // call.
47 virtual void NotifyBeforeFormRepostWarningShow() = 0; 46 virtual void NotifyBeforeFormRepostWarningShow() = 0;
48 virtual void NotifyNavigationEntryCommitted( 47 virtual void NotifyNavigationEntryCommitted(
49 const LoadCommittedDetails& load_details) = 0; 48 const LoadCommittedDetails& load_details) = 0;
(...skipping 21 matching lines...) Expand all
71 InterstitialPageImpl* interstitial_page) = 0; 70 InterstitialPageImpl* interstitial_page) = 0;
72 virtual void DetachInterstitialPage() = 0; 71 virtual void DetachInterstitialPage() = 0;
73 virtual void SetIsLoading(RenderViewHost* render_view_host, 72 virtual void SetIsLoading(RenderViewHost* render_view_host,
74 bool is_loading, 73 bool is_loading,
75 LoadNotificationDetails* details) = 0; 74 LoadNotificationDetails* details) = 0;
76 }; 75 };
77 76
78 } // namespace content 77 } // namespace content
79 78
80 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_ 79 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/frame_host/navigation_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698