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

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

Issue 24228003: Upstream ShouldOverrideUrlLoading changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed a non-related line to keep chrome bots happy Created 7 years 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 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 "android_webview/renderer/aw_render_process_observer.h" 10 #include "android_webview/renderer/aw_render_process_observer.h"
(...skipping 22 matching lines...) Expand all
33 const blink::WebURLError& error, 33 const blink::WebURLError& error,
34 const std::string& accept_languages, 34 const std::string& accept_languages,
35 std::string* error_html, 35 std::string* error_html,
36 string16* error_description) OVERRIDE; 36 string16* error_description) OVERRIDE;
37 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 37 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
38 size_t length) OVERRIDE; 38 size_t length) OVERRIDE;
39 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 39 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
40 virtual void AddKeySystems( 40 virtual void AddKeySystems(
41 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; 41 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE;
42 42
43 virtual bool HandleNavigation(content::RenderView* view,
44 content::DocumentState* document_state,
45 int opener_id,
46 blink::WebFrame* frame,
47 const blink::WebURLRequest& request,
48 blink::WebNavigationType type,
49 blink::WebNavigationPolicy default_policy,
50 bool is_redirect) OVERRIDE;
51
43 private: 52 private:
44 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; 53 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_;
45 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 54 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
46 }; 55 };
47 56
48 } // namespace android_webview 57 } // namespace android_webview
49 58
50 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ 59 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_web_contents_delegate.cc ('k') | android_webview/renderer/aw_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698