| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 private: | 99 private: |
| 100 friend class BaseSessionService; | 100 friend class BaseSessionService; |
| 101 | 101 |
| 102 GURL virtual_url_; | 102 GURL virtual_url_; |
| 103 content::Referrer referrer_; | 103 content::Referrer referrer_; |
| 104 string16 title_; | 104 string16 title_; |
| 105 std::string state_; | 105 std::string state_; |
| 106 content::PageTransition transition_; | 106 content::PageTransition transition_; |
| 107 int type_mask_; | 107 int type_mask_; |
| 108 int64 post_id_; |
| 108 | 109 |
| 109 int index_; | 110 int index_; |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 // SessionTab ---------------------------------------------------------------- | 113 // SessionTab ---------------------------------------------------------------- |
| 113 | 114 |
| 114 // SessionTab corresponds to a NavigationController. | 115 // SessionTab corresponds to a NavigationController. |
| 115 struct SessionTab { | 116 struct SessionTab { |
| 116 SessionTab(); | 117 SessionTab(); |
| 117 ~SessionTab(); | 118 ~SessionTab(); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 std::vector<SessionTab*> tabs; | 198 std::vector<SessionTab*> tabs; |
| 198 | 199 |
| 199 // Is the window maximized, minimized, or normal? | 200 // Is the window maximized, minimized, or normal? |
| 200 ui::WindowShowState show_state; | 201 ui::WindowShowState show_state; |
| 201 | 202 |
| 202 private: | 203 private: |
| 203 DISALLOW_COPY_AND_ASSIGN(SessionWindow); | 204 DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
| 204 }; | 205 }; |
| 205 | 206 |
| 206 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 207 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| OLD | NEW |