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

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

Issue 2884353003: [WebView] Remove more redundant classes (Closed)
Patch Set: add missing header Created 3 years, 7 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
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 <memory> 8 #include <memory>
9 9
10 #include "android_webview/browser/jni_dependency_factory.h" 10 #include "android_webview/browser/jni_dependency_factory.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void ProcessExiting(const std::string& process_type) override; 47 void ProcessExiting(const std::string& process_type) override;
48 content::ContentBrowserClient* CreateContentBrowserClient() override; 48 content::ContentBrowserClient* CreateContentBrowserClient() override;
49 content::ContentGpuClient* CreateContentGpuClient() override; 49 content::ContentGpuClient* CreateContentGpuClient() override;
50 content::ContentRendererClient* CreateContentRendererClient() override; 50 content::ContentRendererClient* CreateContentRendererClient() override;
51 51
52 // JniDependencyFactory implementation. 52 // JniDependencyFactory implementation.
53 scoped_refptr<AwQuotaManagerBridge> CreateAwQuotaManagerBridge( 53 scoped_refptr<AwQuotaManagerBridge> CreateAwQuotaManagerBridge(
54 AwBrowserContext* browser_context) override; 54 AwBrowserContext* browser_context) override;
55 content::WebContentsViewDelegate* CreateViewDelegate( 55 content::WebContentsViewDelegate* CreateViewDelegate(
56 content::WebContents* web_contents) override; 56 content::WebContents* web_contents) override;
57 AwWebPreferencesPopulater* CreateWebPreferencesPopulater() override;
58 AwLocaleManager* CreateAwLocaleManager() override;
59 57
60 std::unique_ptr<content::BrowserMainRunner> browser_runner_; 58 std::unique_ptr<content::BrowserMainRunner> browser_runner_;
61 AwContentClient content_client_; 59 AwContentClient content_client_;
62 std::unique_ptr<AwContentBrowserClient> content_browser_client_; 60 std::unique_ptr<AwContentBrowserClient> content_browser_client_;
63 std::unique_ptr<AwContentGpuClient> content_gpu_client_; 61 std::unique_ptr<AwContentGpuClient> content_gpu_client_;
64 std::unique_ptr<AwContentRendererClient> content_renderer_client_; 62 std::unique_ptr<AwContentRendererClient> content_renderer_client_;
65 std::unique_ptr<safe_browsing::SafeBrowsingApiHandler> 63 std::unique_ptr<safe_browsing::SafeBrowsingApiHandler>
66 safe_browsing_api_handler_; 64 safe_browsing_api_handler_;
67 65
68 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate); 66 DISALLOW_COPY_AND_ASSIGN(AwMainDelegate);
69 }; 67 };
70 68
71 } // namespace android_webview 69 } // namespace android_webview
72 70
73 #endif // ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_ 71 #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