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_ENTRY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted_memory.h" | 10 #include "base/memory/ref_counted_memory.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 // - this navigation was restored and for some reason the | 175 // - this navigation was restored and for some reason the |
176 // timestamp wasn't available; | 176 // timestamp wasn't available; |
177 // - or this navigation was copied from a foreign session. | 177 // - or this navigation was copied from a foreign session. |
178 virtual void SetTimestamp(base::Time timestamp) = 0; | 178 virtual void SetTimestamp(base::Time timestamp) = 0; |
179 virtual base::Time GetTimestamp() const = 0; | 179 virtual base::Time GetTimestamp() const = 0; |
180 | 180 |
181 // Used to specify if this entry should be able to access local file:// | 181 // Used to specify if this entry should be able to access local file:// |
182 // resources. | 182 // resources. |
183 virtual void SetCanLoadLocalResources(bool allow) = 0; | 183 virtual void SetCanLoadLocalResources(bool allow) = 0; |
184 virtual bool GetCanLoadLocalResources() const = 0; | 184 virtual bool GetCanLoadLocalResources() const = 0; |
185 | |
186 // Used to specify which frame to navigate. If empty, the main frame is | |
187 // navigated. This is currently not persisted in session restore. | |
Charlie Reis
2013/01/23 18:38:17
Again, please mention ", since it is only used in
jochen (gone - plz use gerrit)
2013/01/23 19:52:45
Done.
| |
188 virtual void SetFrameToNavigate(const std::string& frame_name) = 0; | |
189 virtual const std::string& GetFrameToNavigate() const = 0; | |
185 }; | 190 }; |
186 | 191 |
187 } // namespace content | 192 } // namespace content |
188 | 193 |
189 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ | 194 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ |
OLD | NEW |