| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PLATFORM_UTIL_H_ | 5 #ifndef CHROME_BROWSER_PLATFORM_UTIL_H_ |
| 6 #define CHROME_BROWSER_PLATFORM_UTIL_H_ | 6 #define CHROME_BROWSER_PLATFORM_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "build/build_config.h" |
| 12 #include "chrome/common/features.h" | 13 #include "chrome/common/features.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
| 14 | 15 |
| 15 class GURL; | 16 class GURL; |
| 16 class Profile; | 17 class Profile; |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| 19 class FilePath; | 20 class FilePath; |
| 20 } | 21 } |
| 21 | 22 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // the feature is supported and enabled, and false otherwise. | 99 // the feature is supported and enabled, and false otherwise. |
| 99 bool IsSwipeTrackingFromScrollEventsEnabled(); | 100 bool IsSwipeTrackingFromScrollEventsEnabled(); |
| 100 #endif | 101 #endif |
| 101 | 102 |
| 102 #if BUILDFLAG(ANDROID_JAVA_UI) | 103 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 103 bool RegisterPlatformUtil(JNIEnv* env); | 104 bool RegisterPlatformUtil(JNIEnv* env); |
| 104 #endif | 105 #endif |
| 105 } // namespace platform_util | 106 } // namespace platform_util |
| 106 | 107 |
| 107 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_ | 108 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_ |
| OLD | NEW |