| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 : public NON_EXPORTED_BASE(NavigationController) { | 35 : public NON_EXPORTED_BASE(NavigationController) { |
| 36 public: | 36 public: |
| 37 NavigationControllerImpl( | 37 NavigationControllerImpl( |
| 38 NavigationControllerDelegate* delegate, | 38 NavigationControllerDelegate* delegate, |
| 39 BrowserContext* browser_context); | 39 BrowserContext* browser_context); |
| 40 ~NavigationControllerImpl() override; | 40 ~NavigationControllerImpl() override; |
| 41 | 41 |
| 42 // NavigationController implementation: | 42 // NavigationController implementation: |
| 43 WebContents* GetWebContents() const override; | 43 WebContents* GetWebContents() const override; |
| 44 BrowserContext* GetBrowserContext() const override; | 44 BrowserContext* GetBrowserContext() const override; |
| 45 void SetBrowserContext(BrowserContext* browser_context) override; | |
| 46 void Restore(int selected_navigation, | 45 void Restore(int selected_navigation, |
| 47 RestoreType type, | 46 RestoreType type, |
| 48 std::vector<std::unique_ptr<NavigationEntry>>* entries) override; | 47 std::vector<std::unique_ptr<NavigationEntry>>* entries) override; |
| 49 NavigationEntryImpl* GetActiveEntry() const override; | 48 NavigationEntryImpl* GetActiveEntry() const override; |
| 50 NavigationEntryImpl* GetVisibleEntry() const override; | 49 NavigationEntryImpl* GetVisibleEntry() const override; |
| 51 int GetCurrentEntryIndex() const override; | 50 int GetCurrentEntryIndex() const override; |
| 52 NavigationEntryImpl* GetLastCommittedEntry() const override; | 51 NavigationEntryImpl* GetLastCommittedEntry() const override; |
| 53 int GetLastCommittedEntryIndex() const override; | 52 int GetLastCommittedEntryIndex() const override; |
| 54 bool CanViewSource() const override; | 53 bool CanViewSource() const override; |
| 55 int GetEntryCount() const override; | 54 int GetEntryCount() const override; |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 TimeSmoother time_smoother_; | 448 TimeSmoother time_smoother_; |
| 450 | 449 |
| 451 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; | 450 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; |
| 452 | 451 |
| 453 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); | 452 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); |
| 454 }; | 453 }; |
| 455 | 454 |
| 456 } // namespace content | 455 } // namespace content |
| 457 | 456 |
| 458 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 457 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
| OLD | NEW |