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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 342 |
343 // Removing of entries ------------------------------------------------------- | 343 // Removing of entries ------------------------------------------------------- |
344 | 344 |
345 // Removes the entry at the specified |index|. This call discards any | 345 // Removes the entry at the specified |index|. This call discards any |
346 // transient entries. If the index is the last committed index or the pending | 346 // transient entries. If the index is the last committed index or the pending |
347 // entry, this does nothing and returns false. | 347 // entry, this does nothing and returns false. |
348 virtual bool RemoveEntryAtIndex(int index) = 0; | 348 virtual bool RemoveEntryAtIndex(int index) = 0; |
349 | 349 |
350 // Random -------------------------------------------------------------------- | 350 // Random -------------------------------------------------------------------- |
351 | 351 |
352 // Session storage depends on dom_storage that depends on WebKit::WebString, | 352 // Session storage depends on dom_storage that depends on blink::WebString, |
353 // which cannot be used on iOS. | 353 // which cannot be used on iOS. |
354 #if !defined(OS_IOS) | 354 #if !defined(OS_IOS) |
355 // Returns all the SessionStorageNamespace objects that this | 355 // Returns all the SessionStorageNamespace objects that this |
356 // NavigationController knows about. | 356 // NavigationController knows about. |
357 virtual const SessionStorageNamespaceMap& | 357 virtual const SessionStorageNamespaceMap& |
358 GetSessionStorageNamespaceMap() const = 0; | 358 GetSessionStorageNamespaceMap() const = 0; |
359 | 359 |
360 // TODO(ajwong): Remove this once prerendering, instant, and session restore | 360 // TODO(ajwong): Remove this once prerendering, instant, and session restore |
361 // are migrated. | 361 // are migrated. |
362 virtual SessionStorageNamespace* GetDefaultSessionStorageNamespace() = 0; | 362 virtual SessionStorageNamespace* GetDefaultSessionStorageNamespace() = 0; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 439 |
440 private: | 440 private: |
441 // This interface should only be implemented inside content. | 441 // This interface should only be implemented inside content. |
442 friend class NavigationControllerImpl; | 442 friend class NavigationControllerImpl; |
443 NavigationController() {} | 443 NavigationController() {} |
444 }; | 444 }; |
445 | 445 |
446 } // namespace content | 446 } // namespace content |
447 | 447 |
448 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 448 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |