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

Side by Side Diff: content/public/browser/navigation_controller.h

Issue 12296007: [content shell] hook up navigation related WebTestDelegate methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « content/browser/web_contents/navigation_controller_impl.cc ('k') | content/shell/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // after LoadURLWithParams call. 148 // after LoadURLWithParams call.
149 scoped_refptr<base::RefCountedMemory> browser_initiated_post_data; 149 scoped_refptr<base::RefCountedMemory> browser_initiated_post_data;
150 150
151 // True if this URL should be able to access local resources. 151 // True if this URL should be able to access local resources.
152 bool can_load_local_resources; 152 bool can_load_local_resources;
153 153
154 // Indicates whether this navigation involves a cross-process redirect, 154 // Indicates whether this navigation involves a cross-process redirect,
155 // in which case it should replace the current navigation entry. 155 // in which case it should replace the current navigation entry.
156 bool is_cross_site_redirect; 156 bool is_cross_site_redirect;
157 157
158 // Used to specify which frame to navigate. If empty, the main frame is
159 // navigated. This is currently only used in tests.
160 std::string frame_name;
161
158 explicit LoadURLParams(const GURL& url); 162 explicit LoadURLParams(const GURL& url);
159 ~LoadURLParams(); 163 ~LoadURLParams();
160 164
161 // Allows copying of LoadURLParams struct. 165 // Allows copying of LoadURLParams struct.
162 LoadURLParams(const LoadURLParams& other); 166 LoadURLParams(const LoadURLParams& other);
163 LoadURLParams& operator=(const LoadURLParams& other); 167 LoadURLParams& operator=(const LoadURLParams& other);
164 }; 168 };
165 169
166 // Disables checking for a repost and prompting the user. This is used during 170 // Disables checking for a repost and prompting the user. This is used during
167 // testing. 171 // testing.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 virtual void PruneAllButActive() = 0; 383 virtual void PruneAllButActive() = 0;
380 384
381 // Clears all screenshots associated with navigation entries in this 385 // Clears all screenshots associated with navigation entries in this
382 // controller. Useful to reduce memory consumption in low-memory situations. 386 // controller. Useful to reduce memory consumption in low-memory situations.
383 virtual void ClearAllScreenshots() = 0; 387 virtual void ClearAllScreenshots() = 0;
384 }; 388 };
385 389
386 } // namespace content 390 } // namespace content
387 391
388 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 392 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/navigation_controller_impl.cc ('k') | content/shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698