OLD | NEW |
---|---|
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 Loading... | |
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_ |
OLD | NEW |