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

Unified 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: rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/platform_util.h
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
index 651ae89611e9fa13f5d51142a3965b4a13a46c38..7a9494d98cc01e2442540e7f9f95acc02d356c41 100644
--- a/chrome/browser/platform_util.h
+++ b/chrome/browser/platform_util.h
@@ -9,6 +9,7 @@
#include "base/callback_forward.h"
#include "base/strings/string16.h"
+#include "chrome/common/features.h"
#include "ui/gfx/native_widget_types.h"
class GURL;
@@ -98,7 +99,7 @@ bool IsVisible(gfx::NativeView view);
bool IsSwipeTrackingFromScrollEventsEnabled();
#endif
-#if defined(OS_ANDROID) && !defined(USE_AURA)
+#if BUILDFLAG(ANDROID_JAVA_UI)
bool RegisterPlatformUtil(JNIEnv* env);
#endif
} // namespace platform_util

Powered by Google App Engine
This is Rietveld 408576698