| 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_CORE_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_ | 5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_ |
| 6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_ | 6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "blimp/client/core/contents/navigation_feature.h" | 9 #include "blimp/client/core/contents/navigation_feature.h" |
| 10 #include "blimp/client/public/contents/blimp_navigation_controller.h" | 10 #include "blimp/client/public/contents/blimp_navigation_controller.h" |
| 11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 12 | 12 |
| 13 class SkBitmap; | 13 class SkBitmap; |
| 14 | 14 |
| 15 namespace blimp { | 15 namespace blimp { |
| 16 namespace client { | 16 namespace client { |
| 17 | 17 |
| 18 class BlimpContentsObserver; | |
| 19 class BlimpNavigationControllerDelegate; | 18 class BlimpNavigationControllerDelegate; |
| 20 | 19 |
| 21 class BlimpNavigationControllerImpl | 20 class BlimpNavigationControllerImpl |
| 22 : public BlimpNavigationController, | 21 : public BlimpNavigationController, |
| 23 public NavigationFeature::NavigationFeatureDelegate { | 22 public NavigationFeature::NavigationFeatureDelegate { |
| 24 public: | 23 public: |
| 25 // The life time of |feature| must remain valid throughout |this|. | 24 // The life time of |feature| must remain valid throughout |this|. |
| 26 BlimpNavigationControllerImpl(int blimp_contents_id, | 25 BlimpNavigationControllerImpl(int blimp_contents_id, |
| 27 BlimpNavigationControllerDelegate* delegate, | 26 BlimpNavigationControllerDelegate* delegate, |
| 28 NavigationFeature* feature); | 27 NavigationFeature* feature); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // Title of the currently active page. | 63 // Title of the currently active page. |
| 65 std::string current_title_; | 64 std::string current_title_; |
| 66 | 65 |
| 67 DISALLOW_COPY_AND_ASSIGN(BlimpNavigationControllerImpl); | 66 DISALLOW_COPY_AND_ASSIGN(BlimpNavigationControllerImpl); |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace client | 69 } // namespace client |
| 71 } // namespace blimp | 70 } // namespace blimp |
| 72 | 71 |
| 73 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_ | 72 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_ |
| OLD | NEW |