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

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: Created 8 years, 6 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual int GetPendingEntryIndex() const OVERRIDE; 56 virtual int GetPendingEntryIndex() const OVERRIDE;
57 virtual content::NavigationEntry* GetTransientEntry() const OVERRIDE; 57 virtual content::NavigationEntry* GetTransientEntry() const OVERRIDE;
58 virtual void LoadURL(const GURL& url, 58 virtual void LoadURL(const GURL& url,
59 const content::Referrer& referrer, 59 const content::Referrer& referrer,
60 content::PageTransition type, 60 content::PageTransition type,
61 const std::string& extra_headers) OVERRIDE; 61 const std::string& extra_headers) OVERRIDE;
62 virtual void LoadURLFromRenderer(const GURL& url, 62 virtual void LoadURLFromRenderer(const GURL& url,
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 LoadDataWithBaseURL(const GURL& data_url,
Charlie Reis 2012/06/15 23:10:02 This seems to conflict with the LoadURL vs LoadURL
mnaganov (inactive) 2012/06/18 10:39:09 Yes, for sure. This way of page loading can be onl
67 const content::Referrer& referrer,
68 const GURL& base_url,
69 const GURL& history_url,
70 bool is_overriding_user_agent) OVERRIDE;
66 virtual void TransferURL( 71 virtual void TransferURL(
67 const GURL& url, 72 const GURL& url,
68 const content::Referrer& referrer, 73 const content::Referrer& referrer,
69 content::PageTransition transition, 74 content::PageTransition transition,
70 const std::string& extra_headers, 75 const std::string& extra_headers,
71 const content::GlobalRequestID& transferred_global_request_id, 76 const content::GlobalRequestID& transferred_global_request_id,
72 bool is_renderer_initiated) OVERRIDE; 77 bool is_renderer_initiated) OVERRIDE;
73 virtual void LoadIfNecessary() OVERRIDE; 78 virtual void LoadIfNecessary() OVERRIDE;
74 virtual bool CanGoBack() const OVERRIDE; 79 virtual bool CanGoBack() const OVERRIDE;
75 virtual bool CanGoForward() const OVERRIDE; 80 virtual bool CanGoForward() const OVERRIDE;
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 static size_t max_entry_count_for_testing_; 326 static size_t max_entry_count_for_testing_;
322 327
323 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), 328 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE),
324 // NO_RELOAD otherwise. 329 // NO_RELOAD otherwise.
325 ReloadType pending_reload_; 330 ReloadType pending_reload_;
326 331
327 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 332 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
328 }; 333 };
329 334
330 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ 335 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/web_contents/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698