Chromium Code Reviews| Index: content/public/browser/navigation_controller.h |
| diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h |
| index 4829349e8930ebc4eb0eb4a4fe488833dcb57011..bfb9281dfabe218e8ea31d7d52fc1b10f8023f8f 100644 |
| --- a/content/public/browser/navigation_controller.h |
| +++ b/content/public/browser/navigation_controller.h |
| @@ -27,8 +27,8 @@ struct Referrer; |
| // A NavigationController maintains the back-forward list for a single tab and |
| // manages all navigation within that list. |
| // |
| -// The NavigationController also owns all WebContents for the tab. This is to |
| -// make sure that we have at most one WebContents instance per type. |
| +// Each NavigationController belongs to one WebContents; each WebContents has |
| +// exactly one NavigationController. |
| class NavigationController { |
| public: |
| enum ReloadType { |
| @@ -55,7 +55,7 @@ class NavigationController { |
| virtual ~NavigationController() {} |
| // Returns the web contents associated with this controller. Non-NULL except |
| - // during set-up of the tab. |
| + // during set-up. |
|
jochen (gone - plz use gerrit)
2012/05/24 21:38:55
is this true? I thought this is just implemented a
|
| virtual WebContents* GetWebContents() const = 0; |
| // Get/set the browser context for this controller. It can never be NULL. |