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

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

Issue 10907166: Upstream chromium side of modal dialogs for webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_AW_BROWSER_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_AW_BROWSER_DELEGATE_H_
6 #define ANDROID_WEBVIEW_AW_BROWSER_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_AW_BROWSER_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 29 matching lines...) Expand all
40 virtual content::BrowserContext* GetBrowserContext(bool incognito) = 0; 40 virtual content::BrowserContext* GetBrowserContext(bool incognito) = 0;
41 41
42 // Constructs and returns ownership of a WebContents instance. 42 // Constructs and returns ownership of a WebContents instance.
43 virtual content::WebContents* CreateWebContents(bool incognito) = 0; 43 virtual content::WebContents* CreateWebContents(bool incognito) = 0;
44 44
45 // Creates and returns ownership of a new content container instance. That 45 // Creates and returns ownership of a new content container instance. That
46 // instance will take ownership of the passed |contents|. 46 // instance will take ownership of the passed |contents|.
47 virtual AwContentsContainer* CreateContentsContainer( 47 virtual AwContentsContainer* CreateContentsContainer(
48 content::WebContents* contents) = 0; 48 content::WebContents* contents) = 0;
49 49
50 // As per the WebContentsDelegate method of the same name. Ownership is NOT
51 // returned; the instance must be long-lived.
52 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator() = 0;
53
54 protected: 50 protected:
55 AwBrowserDependencyFactory(); 51 AwBrowserDependencyFactory();
56 52
57 private: 53 private:
58 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactory); 54 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactory);
59 }; 55 };
60 56
61 } // namespace android_webview 57 } // namespace android_webview
62 58
63 #endif // ANDROID_WEBVIEW_AW_BROWSER_DELEGATE_H_ 59 #endif // ANDROID_WEBVIEW_AW_BROWSER_DELEGATE_H_
64
OLDNEW
« no previous file with comments | « android_webview/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698