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

Side by Side 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: add comments 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_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_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"
jam 2012/06/08 23:45:09 nit: don't need these 4 includes since content_vie
jam 2012/06/12 17:44:02 ?
John Grabowski 2012/06/13 22:12:29 Wouldn't IWYU mean I should keep jni_helper.h and
jam 2012/06/14 01:31:40 as far as i can tell, jni.h and jni_helper.h are u
14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/content_view.h"
16
17 class ContentViewClient;
18
19 namespace content {
20 class JavaScriptDialogCreator;
jam 2012/06/08 23:45:09 nit: not used
jam 2012/06/12 17:44:02 ?
John Grabowski 2012/06/13 22:12:29 Removed
21 }
22
23 namespace content {
24
25 // TODO(jrg): this is a shell. Upstream the rest.
26 class ContentViewImpl : public ContentView,
27 public content::NotificationObserver {
28 public:
29 ContentViewImpl(JNIEnv* env,
30 jobject obj);
jam 2012/06/08 23:45:09 nit: tabbing
jam 2012/06/12 17:44:02 ?
John Grabowski 2012/06/13 22:12:29 fixed
31 virtual void Destroy(JNIEnv* env, jobject obj);
32
33 private:
34 // NotificationObserver implementation.
35 virtual void Observe(int type,
36 const content::NotificationSource& source,
37 const content::NotificationDetails& details) OVERRIDE;
38
39 // --------------------------------------------------------------------------
40 // Private methods that call to Java via JNI
41 // --------------------------------------------------------------------------
42 virtual ~ContentViewImpl();
43
44 // --------------------------------------------------------------------------
45 // Other private methods and data
46 // --------------------------------------------------------------------------
47 DISALLOW_COPY_AND_ASSIGN(ContentViewImpl);
48 };
49
50 }; // namespace content
51
52 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698