| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gfx/rect.h" | 11 #include "base/gfx/rect.h" |
| 12 #include "base/stl_util-inl.h" |
| 12 #include "base/string16.h" | 13 #include "base/string16.h" |
| 13 #include "chrome/browser/browser.h" | 14 #include "chrome/browser/browser.h" |
| 14 #include "chrome/browser/sessions/session_id.h" | 15 #include "chrome/browser/sessions/session_id.h" |
| 15 #include "chrome/common/page_transition_types.h" | 16 #include "chrome/common/page_transition_types.h" |
| 16 #include "chrome/common/stl_util-inl.h" | |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 | 18 |
| 19 class NavigationEntry; | 19 class NavigationEntry; |
| 20 | 20 |
| 21 // TabNavigation ------------------------------------------------------------- | 21 // TabNavigation ------------------------------------------------------------- |
| 22 | 22 |
| 23 // TabNavigation corresponds to the parts of NavigationEntry needed to restore | 23 // TabNavigation corresponds to the parts of NavigationEntry needed to restore |
| 24 // the NavigationEntry during session restore and tab restore. | 24 // the NavigationEntry during session restore and tab restore. |
| 25 // | 25 // |
| 26 // TabNavigation is cheap and supports copy semantics. | 26 // TabNavigation is cheap and supports copy semantics. |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 std::vector<SessionTab*> tabs; | 176 std::vector<SessionTab*> tabs; |
| 177 | 177 |
| 178 // Is the window maximized? | 178 // Is the window maximized? |
| 179 bool is_maximized; | 179 bool is_maximized; |
| 180 | 180 |
| 181 private: | 181 private: |
| 182 DISALLOW_COPY_AND_ASSIGN(SessionWindow); | 182 DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ | 185 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ |
| OLD | NEW |