| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CHROME_BROWSER_ANDROID_APP_HOOKS_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_APP_HOOKS_H_ |
| 6 #define CHROME_BROWSER_ANDROID_APP_HOOKS_H_ | 6 #define CHROME_BROWSER_ANDROID_APP_HOOKS_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include "base/android/scoped_java_ref.h" |
| 9 #include "base/macros.h" | 10 #include "base/macros.h" |
| 10 | 11 |
| 11 namespace chrome { | 12 namespace chrome { |
| 12 namespace android { | 13 namespace android { |
| 13 | 14 |
| 14 class AppHooks { | 15 class AppHooks { |
| 15 public: | 16 public: |
| 16 static bool ShouldDetectVideoFullscreen(); | 17 static bool ShouldDetectVideoFullscreen(); |
| 18 static base::android::ScopedJavaLocalRef<jobject> |
| 19 GetOfflinePagesCCTRequestDoneCallback(); |
| 17 | 20 |
| 18 private: | 21 private: |
| 19 AppHooks(); | 22 AppHooks(); |
| 20 ~AppHooks(); | 23 ~AppHooks(); |
| 21 | 24 |
| 22 DISALLOW_COPY_AND_ASSIGN(AppHooks); | 25 DISALLOW_COPY_AND_ASSIGN(AppHooks); |
| 23 }; | 26 }; |
| 24 | 27 |
| 25 } // namespace android | 28 } // namespace android |
| 26 } // namespace chrome | 29 } // namespace chrome |
| 27 | 30 |
| 28 #endif // CHROME_BROWSER_ANDROID_APP_HOOKS_H_ | 31 #endif // CHROME_BROWSER_ANDROID_APP_HOOKS_H_ |
| OLD | NEW |