| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BANNERS_APP_BANNER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ | 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
| 9 #include "base/android/jni_weak_ref.h" | 9 #include "base/android/jni_weak_ref.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/android/meta_tag_observer.h" | 11 #include "chrome/browser/android/meta_tag_observer.h" |
| 12 #include "chrome/browser/bitmap_fetcher.h" | 12 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 struct FrameNavigateParams; | 15 struct FrameNavigateParams; |
| 16 struct LoadCommittedDetails; | 16 struct LoadCommittedDetails; |
| 17 } // namespace content | 17 } // namespace content |
| 18 | 18 |
| 19 /** | 19 /** |
| 20 * Manages when an app banner is created or dismissed. | 20 * Manages when an app banner is created or dismissed. |
| 21 * | 21 * |
| 22 * Hooks the wiring together for getting the data for a particular app. | 22 * Hooks the wiring together for getting the data for a particular app. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(AppBannerManager); | 102 DISALLOW_COPY_AND_ASSIGN(AppBannerManager); |
| 103 }; // class AppBannerManager | 103 }; // class AppBannerManager |
| 104 | 104 |
| 105 // Register native methods | 105 // Register native methods |
| 106 bool RegisterAppBannerManager(JNIEnv* env); | 106 bool RegisterAppBannerManager(JNIEnv* env); |
| 107 | 107 |
| 108 } // namespace banners | 108 } // namespace banners |
| 109 | 109 |
| 110 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ | 110 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ |
| OLD | NEW |