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

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: 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 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 "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "content/public/browser/android/content_view.h"
12 #include "content/public/browser/notification_observer.h"
13
14 class ContentViewClient;
15
16 namespace content {
17
18 // TODO(jrg): this is a shell. Upstream the rest.
19 class ContentViewImpl : public ContentView,
20 public NotificationObserver {
21 public:
22 ContentViewImpl(JNIEnv* env,
23 jobject obj);
24 virtual void Destroy(JNIEnv* env, jobject obj);
25
26 private:
27 // NotificationObserver implementation.
28 virtual void Observe(int type,
29 const NotificationSource& source,
30 const NotificationDetails& details) OVERRIDE;
31
32 // --------------------------------------------------------------------------
33 // Private methods that call to Java via JNI
34 // --------------------------------------------------------------------------
35 virtual ~ContentViewImpl();
36
37 // --------------------------------------------------------------------------
38 // Other private methods and data
39 // --------------------------------------------------------------------------
40 DISALLOW_COPY_AND_ASSIGN(ContentViewImpl);
41 };
42
43 bool RegisterContentView(JNIEnv* env);
44
45 }; // namespace content
46
47 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
OLDNEW
« 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