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

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

Issue 10536066: android content shell bringup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and merge Created 8 years, 6 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/content_view_client.cc ('k') | content/browser/android/content_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_impl.h
diff --git a/content/browser/android/content_view_impl.h b/content/browser/android/content_view_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..330d58447541640f243313b3a981b204da8e080c
--- /dev/null
+++ b/content/browser/android/content_view_impl.h
@@ -0,0 +1,47 @@
+// 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_VIEW_IMPL_H_
+#define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
+#pragma once
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "content/public/browser/android/content_view.h"
+#include "content/public/browser/notification_observer.h"
+
+class ContentViewClient;
+
+namespace content {
+
+// TODO(jrg): this is a shell. Upstream the rest.
+class ContentViewImpl : public ContentView,
+ public NotificationObserver {
+ public:
+ ContentViewImpl(JNIEnv* env,
+ jobject obj);
+ virtual void Destroy(JNIEnv* env, jobject obj);
+
+ private:
+ // NotificationObserver implementation.
+ virtual void Observe(int type,
+ const NotificationSource& source,
+ const NotificationDetails& details) OVERRIDE;
+
+ // --------------------------------------------------------------------------
+ // Private methods that call to Java via JNI
+ // --------------------------------------------------------------------------
+ virtual ~ContentViewImpl();
+
+ // --------------------------------------------------------------------------
+ // Other private methods and data
+ // --------------------------------------------------------------------------
+ DISALLOW_COPY_AND_ASSIGN(ContentViewImpl);
+};
+
+bool RegisterContentView(JNIEnv* env);
+
+}; // namespace content
+
+#endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
« no previous file with comments | « content/browser/android/content_view_client.cc ('k') | content/browser/android/content_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698