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

Side by Side Diff: content/browser/web_contents/navigation_controller_impl.h

Issue 10544175: Add an ability to call WebKit's WebFrame::loadData via NavigationController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamings for clarity Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const content::Referrer& referrer, 63 const content::Referrer& referrer,
64 content::PageTransition type, 64 content::PageTransition type,
65 const std::string& extra_headers) OVERRIDE; 65 const std::string& extra_headers) OVERRIDE;
66 virtual void LoadURLWithUserAgentOverride( 66 virtual void LoadURLWithUserAgentOverride(
67 const GURL& url, 67 const GURL& url,
68 const content::Referrer& referrer, 68 const content::Referrer& referrer,
69 content::PageTransition type, 69 content::PageTransition type,
70 bool is_renderer_initiated, 70 bool is_renderer_initiated,
71 const std::string& extra_headers, 71 const std::string& extra_headers,
72 bool is_overriding_user_agent) OVERRIDE; 72 bool is_overriding_user_agent) OVERRIDE;
73 virtual void LoadDataWithBaseURL(
74 const GURL& data_url,
75 const content::Referrer& referrer,
76 const GURL& base_url,
77 const GURL& history_url,
78 bool is_overriding_user_agent) OVERRIDE;
73 virtual void TransferURL( 79 virtual void TransferURL(
74 const GURL& url, 80 const GURL& url,
75 const content::Referrer& referrer, 81 const content::Referrer& referrer,
76 content::PageTransition transition, 82 content::PageTransition transition,
77 const std::string& extra_headers, 83 const std::string& extra_headers,
78 const content::GlobalRequestID& transferred_global_request_id, 84 const content::GlobalRequestID& transferred_global_request_id,
79 bool is_renderer_initiated) OVERRIDE; 85 bool is_renderer_initiated) OVERRIDE;
80 virtual void LoadIfNecessary() OVERRIDE; 86 virtual void LoadIfNecessary() OVERRIDE;
81 virtual bool CanGoBack() const OVERRIDE; 87 virtual bool CanGoBack() const OVERRIDE;
82 virtual bool CanGoForward() const OVERRIDE; 88 virtual bool CanGoForward() const OVERRIDE;
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 static size_t max_entry_count_for_testing_; 339 static size_t max_entry_count_for_testing_;
334 340
335 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), 341 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE),
336 // NO_RELOAD otherwise. 342 // NO_RELOAD otherwise.
337 ReloadType pending_reload_; 343 ReloadType pending_reload_;
338 344
339 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 345 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
340 }; 346 };
341 347
342 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ 348 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698