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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
484 // Removes all the entries except the last committed entry. If there is a new | 484 // Removes all the entries except the last committed entry. If there is a new |
485 // pending navigation it is preserved. Callers must ensure | 485 // pending navigation it is preserved. Callers must ensure |
486 // |CanPruneAllButLastCommitted| returns true before calling this, or it will | 486 // |CanPruneAllButLastCommitted| returns true before calling this, or it will |
487 // crash. | 487 // crash. |
488 virtual void PruneAllButLastCommitted() = 0; | 488 virtual void PruneAllButLastCommitted() = 0; |
489 | 489 |
490 // Clears all screenshots associated with navigation entries in this | 490 // Clears all screenshots associated with navigation entries in this |
491 // controller. Useful to reduce memory consumption in low-memory situations. | 491 // controller. Useful to reduce memory consumption in low-memory situations. |
492 virtual void ClearAllScreenshots() = 0; | 492 virtual void ClearAllScreenshots() = 0; |
493 | 493 |
494 virtual void UpdateOverridingUserAgent() = 0; | |
nasko
2016/03/18 21:05:26
There are no callers of this method outside of con
aelias_OOO_until_Jul13
2016/03/18 22:49:18
On Android the content/ directory boundary doesn't
nasko
2016/03/25 23:29:05
This should not go here if it is not called from o
no sievers
2016/03/28 19:53:59
So these call sites are impl-to-impl, right? And u
aelias_OOO_until_Jul13
2016/04/07 03:06:14
OK, I removed the public method. (Actually nothin
| |
495 | |
494 private: | 496 private: |
495 // This interface should only be implemented inside content. | 497 // This interface should only be implemented inside content. |
496 friend class NavigationControllerImpl; | 498 friend class NavigationControllerImpl; |
497 NavigationController() {} | 499 NavigationController() {} |
498 }; | 500 }; |
499 | 501 |
500 } // namespace content | 502 } // namespace content |
501 | 503 |
502 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 504 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |