OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SHORTCUT_HELPER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ |
6 #define CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ | 6 #define CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ |
7 | 7 |
8 #include "base/android/jni_helper.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/task/cancelable_task_tracker.h" | 11 #include "base/task/cancelable_task_tracker.h" |
12 #include "chrome/browser/android/tab_android.h" | 12 #include "chrome/browser/android/tab_android.h" |
13 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
14 | 14 |
15 namespace favicon_base { | 15 namespace favicon_base { |
16 struct FaviconBitmapResult; | 16 struct FaviconBitmapResult; |
17 } // namespace favicon_base | 17 } // namespace favicon_base |
18 | 18 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const favicon_base::FaviconBitmapResult& bitmap_result); | 88 const favicon_base::FaviconBitmapResult& bitmap_result); |
89 | 89 |
90 // Registers JNI hooks. | 90 // Registers JNI hooks. |
91 static bool RegisterShortcutHelper(JNIEnv* env); | 91 static bool RegisterShortcutHelper(JNIEnv* env); |
92 | 92 |
93 private: | 93 private: |
94 DISALLOW_COPY_AND_ASSIGN(ShortcutHelper); | 94 DISALLOW_COPY_AND_ASSIGN(ShortcutHelper); |
95 }; | 95 }; |
96 | 96 |
97 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ | 97 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ |
OLD | NEW |