| 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 CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DIALOG_HELPER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DIALOG_HELPER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DIALOG_HELPER_H_ | 6 #define CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DIALOG_HELPER_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/scoped_java_ref.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "chrome/browser/android/shortcut_info.h" | 11 #include "chrome/browser/android/shortcut_info.h" |
| 12 #include "chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h" | 12 #include "chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h" |
| 13 #include "content/public/common/manifest.h" | 13 #include "content/public/common/manifest.h" |
| 14 #include "third_party/skia/include/core/SkBitmap.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 class WebContents; | 17 class WebContents; |
| 17 } // namespace content | 18 } // namespace content |
| 18 | 19 |
| 19 namespace IPC { | 20 namespace IPC { |
| 20 class Message; | 21 class Message; |
| 21 } | 22 } |
| 22 | 23 |
| 23 class GURL; | 24 class GURL; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // in progress. | 68 // in progress. |
| 68 bool add_shortcut_pending_; | 69 bool add_shortcut_pending_; |
| 69 | 70 |
| 70 // Fetches data required to add a shortcut. | 71 // Fetches data required to add a shortcut. |
| 71 scoped_refptr<AddToHomescreenDataFetcher> data_fetcher_; | 72 scoped_refptr<AddToHomescreenDataFetcher> data_fetcher_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(AddToHomescreenDialogHelper); | 74 DISALLOW_COPY_AND_ASSIGN(AddToHomescreenDialogHelper); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DIALOG_HELPER_H_ | 77 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_DIALOG_HELPER_H_ |
| OLD | NEW |