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

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

Issue 10829044: Implement NavigationControllerWebView.PostURL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: NavigationEntry: clarify comments, return raw pointer 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 unified diff | Download patch
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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 content::NavigationController* source) OVERRIDE; 105 content::NavigationController* source) OVERRIDE;
106 virtual void PruneAllButActive() OVERRIDE; 106 virtual void PruneAllButActive() OVERRIDE;
107 107
108 // NavigationControllerWebView implementation. 108 // NavigationControllerWebView implementation.
109 virtual void LoadDataWithBaseURL( 109 virtual void LoadDataWithBaseURL(
110 const GURL& data_url, 110 const GURL& data_url,
111 const content::Referrer& referrer, 111 const content::Referrer& referrer,
112 const GURL& base_url, 112 const GURL& base_url,
113 const GURL& history_url, 113 const GURL& history_url,
114 bool is_overriding_user_agent) OVERRIDE; 114 bool is_overriding_user_agent) OVERRIDE;
115 virtual void PostURL(const GURL& url,
116 const content::Referrer& referrer,
117 const base::RefCountedMemory& http_body,
118 bool is_overriding_user_agent) OVERRIDE;
115 119
116 // Returns the index of the specified entry, or -1 if entry is not contained 120 // Returns the index of the specified entry, or -1 if entry is not contained
117 // in this NavigationController. 121 // in this NavigationController.
118 int GetIndexOfEntry(const content::NavigationEntryImpl* entry) const; 122 int GetIndexOfEntry(const content::NavigationEntryImpl* entry) const;
119 123
120 // Return the index of the entry with the corresponding instance and page_id, 124 // Return the index of the entry with the corresponding instance and page_id,
121 // or -1 if not found. 125 // or -1 if not found.
122 int GetEntryIndexWithPageID(content::SiteInstance* instance, 126 int GetEntryIndexWithPageID(content::SiteInstance* instance,
123 int32 page_id) const; 127 int32 page_id) const;
124 128
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 static size_t max_entry_count_for_testing_; 346 static size_t max_entry_count_for_testing_;
343 347
344 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), 348 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE),
345 // NO_RELOAD otherwise. 349 // NO_RELOAD otherwise.
346 ReloadType pending_reload_; 350 ReloadType pending_reload_;
347 351
348 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 352 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
349 }; 353 };
350 354
351 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ 355 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/navigation_controller_impl.cc » ('j') | content/public/browser/navigation_entry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698