OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_ | |
7 #pragma once | |
8 | |
9 class GURL; | |
10 | |
11 namespace content { | |
12 | |
13 struct Referrer; | |
14 | |
15 // An extension of NavigationController adding methods required to implement | |
Charlie Reis
2012/07/10 20:54:19
nit: Let's use a different word than "extension,"
mnaganov (inactive)
2012/07/23 14:02:30
Done.
| |
16 // Android WebView. | |
17 class NavigationControllerWebView { | |
18 public: | |
19 // Loads a 'data:' scheme URL with specified base URL and a history entry URL. | |
20 // This is only safe to be used for browser-initiated data: URL navigations, | |
21 // since it shows arbitrary content as if it comes from |history_url|. | |
Charlie Reis
2012/07/10 20:54:19
Is there any clean way to point to the Android Web
mnaganov (inactive)
2012/07/23 14:02:30
I've added a reference to the class-level comment.
| |
22 virtual void LoadDataWithBaseURL(const GURL& data_url, | |
23 const Referrer& referrer, | |
24 const GURL& base_url, | |
25 const GURL& history_url, | |
26 bool is_overriding_user_agent) = 0; | |
27 }; | |
28 | |
29 } // namespace content | |
30 | |
31 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_ | |
OLD | NEW |