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

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

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 1) Fixed broken redirection for in-page WebKit-initiated navigations. All redirections work now. 2)… Created 7 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 | 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_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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 virtual void CopyStateFromAndPrune(NavigationController* source) = 0; 388 virtual void CopyStateFromAndPrune(NavigationController* source) = 0;
389 389
390 // Removes all the entries except the active entry. If there is a new pending 390 // Removes all the entries except the active entry. If there is a new pending
391 // navigation it is preserved. 391 // navigation it is preserved.
392 virtual void PruneAllButActive() = 0; 392 virtual void PruneAllButActive() = 0;
393 393
394 // Clears all screenshots associated with navigation entries in this 394 // Clears all screenshots associated with navigation entries in this
395 // controller. Useful to reduce memory consumption in low-memory situations. 395 // controller. Useful to reduce memory consumption in low-memory situations.
396 virtual void ClearAllScreenshots() = 0; 396 virtual void ClearAllScreenshots() = 0;
397 397
398 // // Add/remove an optional additional URL handler. This class doesn't assume
399 // // the ownership of a handler, so the caller should take care of it.
400 // virtual void RegisterURLHandler(Delegate* url_handler) OVERRIDE;
Charlie Reis 2013/08/26 22:17:52 This is commented out, so please remove.
sergeygs 2013/08/29 08:24:42 Accidentally slipped in. Removed. On 2013/08/26 22
401 // virtual void UnregisterURLHandler(Delegate* url_handler) OVERRIDE;
402
398 private: 403 private:
399 // This interface should only be implemented inside content. 404 // This interface should only be implemented inside content.
400 friend class NavigationControllerImpl; 405 friend class NavigationControllerImpl;
401 NavigationController() {} 406 NavigationController() {}
402 }; 407 };
403 408
404 } // namespace content 409 } // namespace content
405 410
406 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 411 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698