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_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/macros.h" |
10 #include "chrome/browser/android/shortcut_info.h" | 11 #include "chrome/browser/android/shortcut_info.h" |
11 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class WebContents; | 15 class WebContents; |
15 } // namespace content | 16 } // namespace content |
16 | 17 |
17 // ShortcutHelper is the C++ counterpart of org.chromium.chrome.browser's | 18 // ShortcutHelper is the C++ counterpart of org.chromium.chrome.browser's |
18 // ShortcutHelper in Java. | 19 // ShortcutHelper in Java. |
19 class ShortcutHelper { | 20 class ShortcutHelper { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool* is_generated); | 62 bool* is_generated); |
62 | 63 |
63 private: | 64 private: |
64 ShortcutHelper() = delete; | 65 ShortcutHelper() = delete; |
65 ~ShortcutHelper() = delete; | 66 ~ShortcutHelper() = delete; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(ShortcutHelper); | 68 DISALLOW_COPY_AND_ASSIGN(ShortcutHelper); |
68 }; | 69 }; |
69 | 70 |
70 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ | 71 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_HELPER_H_ |
OLD | NEW |