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