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 #include "chrome/browser/sessions/session_types.h" | 5 #include "chrome/browser/sessions/session_types.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/pickle.h" | 8 #include "base/pickle.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "chrome/browser/instant/search.h" |
12 #include "chrome/browser/sessions/session_command.h" | 13 #include "chrome/browser/sessions/session_command.h" |
13 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
14 #include "chrome/browser/ui/search/search.h" | |
15 #include "content/public/browser/navigation_controller.h" | 15 #include "content/public/browser/navigation_controller.h" |
16 #include "content/public/browser/navigation_entry.h" | 16 #include "content/public/browser/navigation_entry.h" |
17 #include "sync/util/time.h" | 17 #include "sync/util/time.h" |
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" | 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" |
19 #include "webkit/glue/glue_serialize.h" | 19 #include "webkit/glue/glue_serialize.h" |
20 | 20 |
21 using content::NavigationEntry; | 21 using content::NavigationEntry; |
22 | 22 |
23 // TabNavigation -------------------------------------------------------------- | 23 // TabNavigation -------------------------------------------------------------- |
24 | 24 |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 SessionWindow::SessionWindow() | 505 SessionWindow::SessionWindow() |
506 : selected_tab_index(-1), | 506 : selected_tab_index(-1), |
507 type(Browser::TYPE_TABBED), | 507 type(Browser::TYPE_TABBED), |
508 is_constrained(true), | 508 is_constrained(true), |
509 show_state(ui::SHOW_STATE_DEFAULT) { | 509 show_state(ui::SHOW_STATE_DEFAULT) { |
510 } | 510 } |
511 | 511 |
512 SessionWindow::~SessionWindow() { | 512 SessionWindow::~SessionWindow() { |
513 STLDeleteElements(&tabs); | 513 STLDeleteElements(&tabs); |
514 } | 514 } |
OLD | NEW |