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

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 2491103003: [Autofill]Enable mojo AutofillDriver for android_webview. (Closed)
Patch Set: Created 4 years, 1 month 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_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>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int child_process_id, 125 int child_process_id,
126 content::FileDescriptorInfo* mappings, 126 content::FileDescriptorInfo* mappings,
127 std::map<int, base::MemoryMappedFile::Region>* regions) override; 127 std::map<int, base::MemoryMappedFile::Region>* regions) override;
128 void OverrideWebkitPrefs(content::RenderViewHost* rvh, 128 void OverrideWebkitPrefs(content::RenderViewHost* rvh,
129 content::WebPreferences* web_prefs) override; 129 content::WebPreferences* web_prefs) override;
130 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( 130 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
131 content::NavigationHandle* navigation_handle) override; 131 content::NavigationHandle* navigation_handle) override;
132 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 132 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
133 std::unique_ptr<base::Value> GetServiceManifestOverlay( 133 std::unique_ptr<base::Value> GetServiceManifestOverlay(
134 const std::string& name) override; 134 const std::string& name) override;
135 void RegisterRenderFrameMojoInterfaces(
136 service_manager::InterfaceRegistry* registry,
137 content::RenderFrameHost* render_frame_host) override;
135 138
136 private: 139 private:
137 // Android WebView currently has a single global (non-off-the-record) browser 140 // Android WebView currently has a single global (non-off-the-record) browser
138 // context. 141 // context.
139 std::unique_ptr<AwBrowserContext> browser_context_; 142 std::unique_ptr<AwBrowserContext> browser_context_;
140 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
141 144
142 JniDependencyFactory* native_factory_; 145 JniDependencyFactory* native_factory_;
143 146
144 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
145 }; 148 };
146 149
147 } // namespace android_webview 150 } // namespace android_webview
148 151
149 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698