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 #include "chrome/browser/history_tab_ui.h" | 5 #include "chrome/browser/history_tab_ui.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "chrome/app/theme/theme_resources.h" | 8 #include "grit/theme_resources.h" |
9 #include "chrome/browser/history_model.h" | 9 #include "chrome/browser/history_model.h" |
10 #include "chrome/browser/history_view.h" | 10 #include "chrome/browser/history_view.h" |
11 #include "chrome/browser/metrics/user_metrics.h" | 11 #include "chrome/browser/metrics/user_metrics.h" |
12 #include "chrome/common/l10n_util.h" | 12 #include "chrome/common/l10n_util.h" |
13 #include "chrome/common/resource_bundle.h" | 13 #include "chrome/common/resource_bundle.h" |
14 #include "chrome/views/checkbox.h" | 14 #include "chrome/views/checkbox.h" |
15 #include "net/base/escape.h" | 15 #include "net/base/escape.h" |
16 | 16 |
17 #include "generated_resources.h" | 17 #include "generated_resources.h" |
18 | 18 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 model_->SetSearchText(text); | 141 model_->SetSearchText(text); |
142 | 142 |
143 // Update the page state. | 143 // Update the page state. |
144 PageState* page_state = contents_->page_state().Copy(); | 144 PageState* page_state = contents_->page_state().Copy(); |
145 page_state->SetProperty(kSearchTextKey, text); | 145 page_state->SetProperty(kSearchTextKey, text); |
146 contents_->SetPageState(page_state); | 146 contents_->SetPageState(page_state); |
147 | 147 |
148 ChangedModel(); | 148 ChangedModel(); |
149 } | 149 } |
150 | 150 |
OLD | NEW |