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

Side by Side Diff: android_webview/native/aw_contents_container.h

Issue 10855171: Add a test runner for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address feedback Created 8 years, 4 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CONTAINER_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CONTAINER_H_
7
8 namespace content {
9 class WebContents;
10 }
11
12 namespace android_webview {
13
14 // Abstraction that contains and owns the components that we assemble to
15 // make a working WebView instance. This holds a role analogous to the
16 // TabContents class in the chrome module, but at a higher level of abstraction.
17 class AwContentsContainer {
18 public:
19 // Destroying the container will tear down the sub-components of this content.
20 virtual ~AwContentsContainer() {}
21
22 // Ownership remains with this container.
23 virtual content::WebContents* GetWebContents() = 0;
24
25 protected:
26 AwContentsContainer() {}
27 };
28
29 } // namespace android_webview
30
31 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CONTAINER_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/intercepted_request_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698