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/autocomplete/autocomplete_popup.h" | 5 #include "chrome/browser/autocomplete/autocomplete_popup.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "chrome/app/theme/theme_resources.h" | 11 #include "grit/theme_resources.h" |
12 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 12 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
14 #include "chrome/browser/net/dns_global.h" | 14 #include "chrome/browser/net/dns_global.h" |
15 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profile.h" |
16 #include "chrome/browser/search_engines/template_url.h" | 16 #include "chrome/browser/search_engines/template_url.h" |
17 #include "chrome/browser/search_engines/template_url_model.h" | 17 #include "chrome/browser/search_engines/template_url_model.h" |
18 #include "chrome/browser/views/location_bar_view.h" | 18 #include "chrome/browser/views/location_bar_view.h" |
19 #include "chrome/common/gfx/chrome_canvas.h" | 19 #include "chrome/common/gfx/chrome_canvas.h" |
20 #include "chrome/common/l10n_util.h" | 20 #include "chrome/common/l10n_util.h" |
21 #include "chrome/common/notification_service.h" | 21 #include "chrome/common/notification_service.h" |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 } | 975 } |
976 edit_model_->OnPopupDataChanged(inline_autocomplete_text, false, keyword, | 976 edit_model_->OnPopupDataChanged(inline_autocomplete_text, false, keyword, |
977 is_keyword_hint, type); | 977 is_keyword_hint, type); |
978 return; | 978 return; |
979 } | 979 } |
980 | 980 |
981 default: | 981 default: |
982 NOTREACHED(); | 982 NOTREACHED(); |
983 } | 983 } |
984 } | 984 } |
OLD | NEW |