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

Side by Side Diff: android_webview/lib/main/aw_main_delegate.h

Issue 330143002: Simplify geolocation permission request in the Content API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
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_LIB_MAIN_AW_MAIN_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
6 #define ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
7 7
8 #include "android_webview/browser/jni_dependency_factory.h" 8 #include "android_webview/browser/jni_dependency_factory.h"
9 #include "android_webview/common/aw_content_client.h" 9 #include "android_webview/common/aw_content_client.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 27 matching lines...) Expand all
38 const std::string& process_type, 38 const std::string& process_type,
39 const content::MainFunctionParams& main_function_params) OVERRIDE; 39 const content::MainFunctionParams& main_function_params) OVERRIDE;
40 virtual void ProcessExiting(const std::string& process_type) OVERRIDE; 40 virtual void ProcessExiting(const std::string& process_type) OVERRIDE;
41 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; 41 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
42 virtual content::ContentRendererClient* 42 virtual content::ContentRendererClient*
43 CreateContentRendererClient() OVERRIDE; 43 CreateContentRendererClient() OVERRIDE;
44 44
45 // JniDependencyFactory implementation. 45 // JniDependencyFactory implementation.
46 virtual scoped_refptr<AwQuotaManagerBridge> CreateAwQuotaManagerBridge( 46 virtual scoped_refptr<AwQuotaManagerBridge> CreateAwQuotaManagerBridge(
47 AwBrowserContext* browser_context) OVERRIDE; 47 AwBrowserContext* browser_context) OVERRIDE;
48 virtual content::GeolocationPermissionContext* CreateGeolocationPermission(
49 AwBrowserContext* browser_context) OVERRIDE;
50 virtual content::WebContentsViewDelegate* CreateViewDelegate( 48 virtual content::WebContentsViewDelegate* CreateViewDelegate(
51 content::WebContents* web_contents) OVERRIDE; 49 content::WebContents* web_contents) OVERRIDE;
52 virtual AwWebPreferencesPopulater* CreateWebPreferencesPopulater() OVERRIDE; 50 virtual AwWebPreferencesPopulater* CreateWebPreferencesPopulater() OVERRIDE;
53 #if defined(VIDEO_HOLE) 51 #if defined(VIDEO_HOLE)
54 virtual content::ExternalVideoSurfaceContainer* 52 virtual content::ExternalVideoSurfaceContainer*
55 CreateExternalVideoSurfaceContainer( 53 CreateExternalVideoSurfaceContainer(
56 content::WebContents* web_contents) OVERRIDE; 54 content::WebContents* web_contents) OVERRIDE;
57 #endif 55 #endif
58 56
59 scoped_ptr<content::BrowserMainRunner> browser_runner_; 57 scoped_ptr<content::BrowserMainRunner> browser_runner_;
60 AwContentClient content_client_; 58 AwContentClient content_client_;
61 scoped_ptr<AwContentBrowserClient> content_browser_client_; 59 scoped_ptr<AwContentBrowserClient> content_browser_client_;
62 scoped_ptr<AwContentRendererClient> content_renderer_client_; 60 scoped_ptr<AwContentRendererClient> content_renderer_client_;
63 scoped_ptr<GpuMemoryBufferFactoryImpl> gpu_memory_buffer_factory_; 61 scoped_ptr<GpuMemoryBufferFactoryImpl> gpu_memory_buffer_factory_;
64 62
65 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate); 63 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate);
66 }; 64 };
67 65
68 } // namespace android_webview 66 } // namespace android_webview
69 67
70 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ 68 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/jni_dependency_factory.h ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698