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

Side by Side Diff: content/public/browser/android/content_view.h

Issue 10536066: android content shell bringup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more jam feedback 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_
7 #pragma once
8
9 #include <jni.h>
10 #include <vector>
11
12 #include "base/android/jni_helper.h"
13 #include "base/memory/weak_ptr.h"
14
15 namespace content {
16 class JavaScriptDialogCreator;
jam 2012/06/14 01:31:41 nit: get rid of all the includes and forward decla
jam 2012/06/14 16:11:10 looks like this isn't done yet?
John Grabowski 2012/06/14 17:56:31 Sorry... I was editing content/public/browser/cont
17 }
18
19 namespace content {
20 // Native side of the ContentView.java, the primary FrameLayout of
21 // Chromium on Android. This is a public interface used by native
22 // code outside of the content module.
23 //
24 // TODO(jrg): this is a shell. Upstream the rest.
25 class ContentView : public base::SupportsWeakPtr<ContentView> {
26 public:
27 virtual void Destroy(JNIEnv* env, jobject obj) = 0;
28
29 static ContentView* Create(JNIEnv* env, jobject obj);
30 static ContentView* GetNativeContentView(JNIEnv* env, jobject obj);
31
32 protected:
33 virtual ~ContentView() {};
34 };
35
36 }; // namespace content
37
38 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698