OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_TOOLBAR_H_ | 5 #ifndef BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_ |
6 #define BLIMP_CLIENT_ANDROID_TOOLBAR_H_ | 6 #define BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_ |
| 7 |
| 8 #include <string> |
7 | 9 |
8 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "blimp/client/session/navigation_feature.h" | 12 #include "blimp/client/feature/navigation_feature.h" |
11 | 13 |
12 class GURL; | 14 class GURL; |
13 class SkBitmap; | 15 class SkBitmap; |
14 | 16 |
15 namespace blimp { | 17 namespace blimp { |
16 namespace client { | 18 namespace client { |
17 | 19 |
18 // The native component of org.chromium.blimp.toolbar.Toolbar. This handles | 20 // The native component of org.chromium.blimp.toolbar.Toolbar. This handles |
19 // marshalling calls between Java and native. Specifically, this passes calls | 21 // marshalling calls between Java and native. Specifically, this passes calls |
20 // between Toolbar.java <=> NavigationFeature. | 22 // between Toolbar.java <=> NavigationFeature. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 56 |
55 // Reference to the Java object which owns this class. | 57 // Reference to the Java object which owns this class. |
56 base::android::ScopedJavaGlobalRef<jobject> java_obj_; | 58 base::android::ScopedJavaGlobalRef<jobject> java_obj_; |
57 | 59 |
58 DISALLOW_COPY_AND_ASSIGN(Toolbar); | 60 DISALLOW_COPY_AND_ASSIGN(Toolbar); |
59 }; | 61 }; |
60 | 62 |
61 } // namespace client | 63 } // namespace client |
62 } // namespace blimp | 64 } // namespace blimp |
63 | 65 |
64 #endif // BLIMP_CLIENT_ANDROID_TOOLBAR_H_ | 66 #endif // BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_ |
OLD | NEW |