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

Unified Diff: content/public/browser/android/navigation_controller_webview.h

Issue 10830144: Consolidate all NavigationController::LoadURL and family functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto TOT. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/navigation_controller_webview.h
diff --git a/content/public/browser/android/navigation_controller_webview.h b/content/public/browser/android/navigation_controller_webview.h
deleted file mode 100644
index 67498b6ae77de3f34913ffc11c197eff0c55c5ba..0000000000000000000000000000000000000000
--- a/content/public/browser/android/navigation_controller_webview.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_
-#define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_
-
-#include "base/memory/ref_counted_memory.h"
-
-class GURL;
-
-namespace content {
-
-struct Referrer;
-
-// An addition to NavigationController with methods required to implement
-// Android WebView.
-//
-// For the details, please consult the Android developer reference of
-// the WebView API:
-// http://developer.android.com/reference/android/webkit/WebView.html
-class NavigationControllerWebView {
- public:
- // Loads a 'data:' scheme URL with specified base URL and a history entry URL.
- // This is only safe to be used for browser-initiated data: URL navigations,
- // since it shows arbitrary content as if it comes from |history_url|.
- virtual void LoadDataWithBaseURL(const GURL& data_url,
- const Referrer& referrer,
- const GURL& base_url,
- const GURL& history_url,
- bool is_overriding_user_agent) = 0;
-
- // Used to directly send a http post request with a raw http body provided.
- virtual void PostURL(const GURL& url,
- const content::Referrer& referrer,
- const base::RefCountedMemory& http_body,
- bool is_overriding_user_agent) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_WEBVIEW_H_
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698