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

Side by Side Diff: android_webview/browser/aw_content_browser_client.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
« no previous file with comments | « android_webview/BUILD.gn ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "android_webview/browser/aw_web_preferences_populater.h"
13 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
14 #include "base/macros.h" 13 #include "base/macros.h"
15 #include "content/public/browser/content_browser_client.h" 14 #include "content/public/browser/content_browser_client.h"
16 15
17 namespace android_webview { 16 namespace android_webview {
18 17
19 class AwBrowserContext; 18 class AwBrowserContext;
20 class JniDependencyFactory; 19 class JniDependencyFactory;
21 20
22 class AwContentBrowserClient : public content::ContentBrowserClient { 21 class AwContentBrowserClient : public content::ContentBrowserClient {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 std::unique_ptr<base::Value> GetServiceManifestOverlay( 132 std::unique_ptr<base::Value> GetServiceManifestOverlay(
134 base::StringPiece name) override; 133 base::StringPiece name) override;
135 void ExposeInterfacesToFrame( 134 void ExposeInterfacesToFrame(
136 service_manager::BinderRegistry* registry, 135 service_manager::BinderRegistry* registry,
137 content::RenderFrameHost* render_frame_host) override; 136 content::RenderFrameHost* render_frame_host) override;
138 137
139 private: 138 private:
140 // Android WebView currently has a single global (non-off-the-record) browser 139 // Android WebView currently has a single global (non-off-the-record) browser
141 // context. 140 // context.
142 std::unique_ptr<AwBrowserContext> browser_context_; 141 std::unique_ptr<AwBrowserContext> browser_context_;
143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
144 142
145 JniDependencyFactory* native_factory_; 143 JniDependencyFactory* native_factory_;
146 144
147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 145 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
148 }; 146 };
149 147
150 } // namespace android_webview 148 } // namespace android_webview
151 149
152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 150 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/BUILD.gn ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698