| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_ | 5 #ifndef BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_ |
| 6 #define BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_ | 6 #define BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 namespace blimp { | 11 namespace blimp { |
| 12 namespace client { | 12 namespace client { |
| 13 | 13 |
| 14 class BlimpContentsObserver; | |
| 15 | |
| 16 // The BlimpNavigationController maintains the back-forward list for a | 14 // The BlimpNavigationController maintains the back-forward list for a |
| 17 // BlimpContents and manages all navigation within that list. | 15 // BlimpContents and manages all navigation within that list. |
| 18 // | 16 // |
| 19 // Each BlimpNavigationController belongs to one BlimpContents, and each | 17 // Each BlimpNavigationController belongs to one BlimpContents, and each |
| 20 // BlimpContents has exactly one BlimpNavigationController. | 18 // BlimpContents has exactly one BlimpNavigationController. |
| 21 class BlimpNavigationController { | 19 class BlimpNavigationController { |
| 22 public: | 20 public: |
| 23 virtual ~BlimpNavigationController() = default; | 21 virtual ~BlimpNavigationController() = default; |
| 24 | 22 |
| 25 // Calls to LoadURL informs the engine that it should start navigating to the | 23 // Calls to LoadURL informs the engine that it should start navigating to the |
| (...skipping 19 matching lines...) Expand all Loading... |
| 45 BlimpNavigationController() {} | 43 BlimpNavigationController() {} |
| 46 | 44 |
| 47 private: | 45 private: |
| 48 DISALLOW_COPY_AND_ASSIGN(BlimpNavigationController); | 46 DISALLOW_COPY_AND_ASSIGN(BlimpNavigationController); |
| 49 }; | 47 }; |
| 50 | 48 |
| 51 } // namespace client | 49 } // namespace client |
| 52 } // namespace blimp | 50 } // namespace blimp |
| 53 | 51 |
| 54 #endif // BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_ | 52 #endif // BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |