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

Side by Side Diff: android_webview/renderer/aw_content_renderer_client.h

Issue 1932893004: Revert of Convert Widevine and Android platform key systems to KeySystemProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | android_webview/renderer/aw_content_renderer_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include "content/public/renderer/content_renderer_client.h" 8 #include "content/public/renderer/content_renderer_client.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 18 matching lines...) Expand all
29 void RenderViewCreated(content::RenderView* render_view) override; 29 void RenderViewCreated(content::RenderView* render_view) override;
30 bool HasErrorPage(int http_status_code, std::string* error_domain) override; 30 bool HasErrorPage(int http_status_code, std::string* error_domain) override;
31 void GetNavigationErrorStrings(content::RenderFrame* render_frame, 31 void GetNavigationErrorStrings(content::RenderFrame* render_frame,
32 const blink::WebURLRequest& failed_request, 32 const blink::WebURLRequest& failed_request,
33 const blink::WebURLError& error, 33 const blink::WebURLError& error,
34 std::string* error_html, 34 std::string* error_html,
35 base::string16* error_description) override; 35 base::string16* error_description) override;
36 unsigned long long VisitedLinkHash(const char* canonical_url, 36 unsigned long long VisitedLinkHash(const char* canonical_url,
37 size_t length) override; 37 size_t length) override;
38 bool IsLinkVisited(unsigned long long link_hash) override; 38 bool IsLinkVisited(unsigned long long link_hash) override;
39 void AddSupportedKeySystems( 39 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override;
40 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems)
41 override;
42 40
43 bool HandleNavigation(content::RenderFrame* render_frame, 41 bool HandleNavigation(content::RenderFrame* render_frame,
44 bool is_content_initiated, 42 bool is_content_initiated,
45 int opener_id, 43 int opener_id,
46 blink::WebFrame* frame, 44 blink::WebFrame* frame,
47 const blink::WebURLRequest& request, 45 const blink::WebURLRequest& request,
48 blink::WebNavigationType type, 46 blink::WebNavigationType type,
49 blink::WebNavigationPolicy default_policy, 47 blink::WebNavigationPolicy default_policy,
50 bool is_redirect) override; 48 bool is_redirect) override;
51 bool ShouldUseMediaPlayerForURL(const GURL& url) override; 49 bool ShouldUseMediaPlayerForURL(const GURL& url) override;
52 50
53 private: 51 private:
54 std::unique_ptr<AwRenderThreadObserver> aw_render_thread_observer_; 52 std::unique_ptr<AwRenderThreadObserver> aw_render_thread_observer_;
55 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 53 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
56 }; 54 };
57 55
58 } // namespace android_webview 56 } // namespace android_webview
59 57
60 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 58 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/renderer/aw_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698