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

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

Issue 2498463002: RenderWidget/RenderView: encapsulate ViewHostMsg_Show, etc, in a callback (Closed)
Patch Set: Remove RenderWidgetFullscreen 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
« 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 base::string16* error_description) override; 42 base::string16* error_description) override;
43 unsigned long long VisitedLinkHash(const char* canonical_url, 43 unsigned long long VisitedLinkHash(const char* canonical_url,
44 size_t length) override; 44 size_t length) override;
45 bool IsLinkVisited(unsigned long long link_hash) override; 45 bool IsLinkVisited(unsigned long long link_hash) override;
46 void AddSupportedKeySystems( 46 void AddSupportedKeySystems(
47 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) 47 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems)
48 override; 48 override;
49 49
50 bool HandleNavigation(content::RenderFrame* render_frame, 50 bool HandleNavigation(content::RenderFrame* render_frame,
51 bool is_content_initiated, 51 bool is_content_initiated,
52 int opener_id, 52 bool render_view_was_created_by_renderer,
53 blink::WebFrame* frame, 53 blink::WebFrame* frame,
54 const blink::WebURLRequest& request, 54 const blink::WebURLRequest& request,
55 blink::WebNavigationType type, 55 blink::WebNavigationType type,
56 blink::WebNavigationPolicy default_policy, 56 blink::WebNavigationPolicy default_policy,
57 bool is_redirect) override; 57 bool is_redirect) override;
58 bool ShouldUseMediaPlayerForURL(const GURL& url) override; 58 bool ShouldUseMediaPlayerForURL(const GURL& url) override;
59 59
60 private: 60 private:
61 std::unique_ptr<AwRenderThreadObserver> aw_render_thread_observer_; 61 std::unique_ptr<AwRenderThreadObserver> aw_render_thread_observer_;
62 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 62 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
63 web_restrictions::mojom::WebRestrictionsPtr web_restrictions_service_; 63 web_restrictions::mojom::WebRestrictionsPtr web_restrictions_service_;
64 64
65 #if defined(ENABLE_SPELLCHECK) 65 #if defined(ENABLE_SPELLCHECK)
66 std::unique_ptr<SpellCheck> spellcheck_; 66 std::unique_ptr<SpellCheck> spellcheck_;
67 #endif 67 #endif
68 68
69 DISALLOW_COPY_AND_ASSIGN(AwContentRendererClient); 69 DISALLOW_COPY_AND_ASSIGN(AwContentRendererClient);
70 }; 70 };
71 71
72 } // namespace android_webview 72 } // namespace android_webview
73 73
74 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 74 #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