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

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

Issue 2299883007: Remove video overlay support from WebView (Closed)
Patch Set: Removed another external_video_surface reference Created 4 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
« 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>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 content::TracingDelegate* GetTracingDelegate() override; 128 content::TracingDelegate* GetTracingDelegate() override;
129 void GetAdditionalMappedFilesForChildProcess( 129 void GetAdditionalMappedFilesForChildProcess(
130 const base::CommandLine& command_line, 130 const base::CommandLine& command_line,
131 int child_process_id, 131 int child_process_id,
132 content::FileDescriptorInfo* mappings, 132 content::FileDescriptorInfo* mappings,
133 std::map<int, base::MemoryMappedFile::Region>* regions) override; 133 std::map<int, base::MemoryMappedFile::Region>* regions) override;
134 void OverrideWebkitPrefs(content::RenderViewHost* rvh, 134 void OverrideWebkitPrefs(content::RenderViewHost* rvh,
135 content::WebPreferences* web_prefs) override; 135 content::WebPreferences* web_prefs) override;
136 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( 136 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
137 content::NavigationHandle* navigation_handle) override; 137 content::NavigationHandle* navigation_handle) override;
138 #if defined(VIDEO_HOLE)
139 content::ExternalVideoSurfaceContainer*
140 OverrideCreateExternalVideoSurfaceContainer(
141 content::WebContents* web_contents) override;
142 #endif
143 138
144 private: 139 private:
145 // 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
146 // context. 141 // context.
147 std::unique_ptr<AwBrowserContext> browser_context_; 142 std::unique_ptr<AwBrowserContext> browser_context_;
148 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
149 144
150 JniDependencyFactory* native_factory_; 145 JniDependencyFactory* native_factory_;
151 146
152 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
153 }; 148 };
154 149
155 } // namespace android_webview 150 } // namespace android_webview
156 151
157 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 152 #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