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

Side by Side Diff: blimp/client/core/contents/blimp_contents_impl.h

Issue 2233023002: Adding BlimpNavigationController to Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nav_handler_remove
Patch Set: @nyquist feedback Created 4 years, 4 months 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
OLDNEW
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_CONTENTS_IMPL_H_ 5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_IMPL_H_
6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_IMPL_H_ 6 #define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "blimp/client/core/contents/blimp_navigation_controller_delegate.h" 10 #include "blimp/client/core/contents/blimp_navigation_controller_delegate.h"
(...skipping 15 matching lines...) Expand all
26 class BlimpContentsObserver; 26 class BlimpContentsObserver;
27 class BlimpNavigationController; 27 class BlimpNavigationController;
28 28
29 class BlimpContentsImpl : public BlimpContents, 29 class BlimpContentsImpl : public BlimpContents,
30 public BlimpNavigationControllerDelegate { 30 public BlimpNavigationControllerDelegate {
31 public: 31 public:
32 explicit BlimpContentsImpl(int id); 32 explicit BlimpContentsImpl(int id);
33 ~BlimpContentsImpl() override; 33 ~BlimpContentsImpl() override;
34 34
35 #if defined(OS_ANDROID) 35 #if defined(OS_ANDROID)
36 base::android::ScopedJavaLocalRef<jobject> GetJavaBlimpContentsImpl(); 36 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override;
37 BlimpContentsImplAndroid* GetBlimpContentsImplAndroid(); 37 BlimpContentsImplAndroid* GetBlimpContentsImplAndroid();
38 #endif // defined(OS_ANDROID) 38 #endif // defined(OS_ANDROID)
39 39
40 // BlimpContents implementation. 40 // BlimpContents implementation.
41 BlimpNavigationControllerImpl& GetNavigationController() override; 41 BlimpNavigationControllerImpl& GetNavigationController() override;
42 void AddObserver(BlimpContentsObserver* observer) override; 42 void AddObserver(BlimpContentsObserver* observer) override;
43 void RemoveObserver(BlimpContentsObserver* observer) override; 43 void RemoveObserver(BlimpContentsObserver* observer) override;
44 44
45 // Check if some observer is in the observer list. 45 // Check if some observer is in the observer list.
46 bool HasObserver(BlimpContentsObserver* observer); 46 bool HasObserver(BlimpContentsObserver* observer);
(...skipping 14 matching lines...) Expand all
61 // BlimpContentsManager to control the life time of the its observer. 61 // BlimpContentsManager to control the life time of the its observer.
62 int id_; 62 int id_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(BlimpContentsImpl); 64 DISALLOW_COPY_AND_ASSIGN(BlimpContentsImpl);
65 }; 65 };
66 66
67 } // namespace client 67 } // namespace client
68 } // namespace blimp 68 } // namespace blimp
69 69
70 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_IMPL_H_ 70 #endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698