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

Unified Diff: content/browser/android/content_settings.h

Issue 920693003: Revert "Revert of [Android] Migrate javascript settings to a content setting from a pref. (patchset… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove jni registration 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 | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_settings.h
diff --git a/content/browser/android/content_settings.h b/content/browser/android/content_settings.h
deleted file mode 100644
index bbf492b4bce889a5e2f95cb6061fbdf71da87ea5..0000000000000000000000000000000000000000
--- a/content/browser/android/content_settings.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_
-#define CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_
-
-#include <jni.h>
-
-#include "base/android/jni_weak_ref.h"
-#include "content/public/browser/web_contents_observer.h"
-
-namespace content {
-
-class ContentSettings : public WebContentsObserver {
- public:
- ContentSettings(JNIEnv* env, jobject obj,
- WebContents* contents);
-
- static bool RegisterContentSettings(JNIEnv* env);
-
- bool GetJavaScriptEnabled(JNIEnv* env, jobject obj);
-
- private:
- // Self-deletes when the underlying WebContents is destroyed.
- ~ContentSettings() override;
-
- // WebContentsObserver overrides:
- void WebContentsDestroyed() override;
-
- // The Java counterpart to this class.
- JavaObjectWeakGlobalRef content_settings_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698