Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: chrome/browser/platform_util.h

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // whether the view has the visible attribute set. 91 // whether the view has the visible attribute set.
92 bool IsVisible(gfx::NativeView view); 92 bool IsVisible(gfx::NativeView view);
93 93
94 #if defined(OS_MACOSX) 94 #if defined(OS_MACOSX)
95 // On 10.7+, back and forward swipe gestures can be triggered using a scroll 95 // On 10.7+, back and forward swipe gestures can be triggered using a scroll
96 // gesture, if enabled in System Preferences. This function returns true if 96 // gesture, if enabled in System Preferences. This function returns true if
97 // the feature is supported and enabled, and false otherwise. 97 // the feature is supported and enabled, and false otherwise.
98 bool IsSwipeTrackingFromScrollEventsEnabled(); 98 bool IsSwipeTrackingFromScrollEventsEnabled();
99 #endif 99 #endif
100 100
101 #if defined(OS_ANDROID) 101 #if defined(ANDROID_JAVA_UI)
102 bool RegisterPlatformUtil(JNIEnv* env); 102 bool RegisterPlatformUtil(JNIEnv* env);
103 #endif 103 #endif
104 } // namespace platform_util 104 } // namespace platform_util
105 105
106 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_ 106 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698