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

Unified Diff: ui/base/android/view_android.h

Issue 929903002: Remove cc dependency from ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes in ui/PRESUBMIT.py Created 5 years, 10 months 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
« no previous file with comments | « ui/base/android/ui_base_jni_registrar.cc ('k') | ui/base/android/view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/android/view_android.h
diff --git a/ui/base/android/view_android.h b/ui/base/android/view_android.h
deleted file mode 100644
index 0205fdf14147af032dd4db26c0b094fb52a328ca..0000000000000000000000000000000000000000
--- a/ui/base/android/view_android.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_BASE_ANDROID_VIEW_ANDROID_H_
-#define UI_BASE_ANDROID_VIEW_ANDROID_H_
-
-#include <jni.h>
-#include "base/android/jni_weak_ref.h"
-#include "base/android/scoped_java_ref.h"
-#include "ui/base/ui_base_export.h"
-
-namespace ui {
-
-class WindowAndroid;
-
-// This class is the native counterpart for ViewAndroid. It is owned by the
-// Java ViewAndroid object.
-class UI_BASE_EXPORT ViewAndroid {
- public:
- ViewAndroid(JNIEnv* env, jobject obj, WindowAndroid* window);
-
- void Destroy(JNIEnv* env, jobject obj);
-
- WindowAndroid* GetWindowAndroid();
-
- base::android::ScopedJavaLocalRef<jobject> GetJavaObject();
-
- static bool RegisterViewAndroid(JNIEnv* env);
-
- private:
- ~ViewAndroid();
- JavaObjectWeakGlobalRef weak_java_view_;
- WindowAndroid* window_android_;
-
- DISALLOW_COPY_AND_ASSIGN(ViewAndroid);
-};
-
-} // namespace ui
-
-#endif // UI_BASE_ANDROID_VIEW_ANDROID_H_
« no previous file with comments | « ui/base/android/ui_base_jni_registrar.cc ('k') | ui/base/android/view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698