OLD | NEW |
1 // Copyright (c) 2010 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 #include "chrome/browser/views/url_picker.h" | 5 #include "chrome/browser/ui/views/url_picker.h" |
6 | 6 |
7 #include "app/keyboard_codes.h" | 7 #include "app/keyboard_codes.h" |
8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
9 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
10 #include "app/table_model.h" | 10 #include "app/table_model.h" |
11 #include "base/stl_util-inl.h" | 11 #include "base/stl_util-inl.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/net/url_fixer_upper.h" | 14 #include "chrome/browser/net/url_fixer_upper.h" |
15 #include "chrome/browser/possible_url_model.h" | 15 #include "chrome/browser/possible_url_model.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 PerformModelChange(); | 240 PerformModelChange(); |
241 if (window()) | 241 if (window()) |
242 window()->Close(); | 242 window()->Close(); |
243 } | 243 } |
244 } | 244 } |
245 | 245 |
246 GURL UrlPicker::GetInputURL() const { | 246 GURL UrlPicker::GetInputURL() const { |
247 return URLFixerUpper::FixupURL(UTF16ToUTF8(url_field_->text()), | 247 return URLFixerUpper::FixupURL(UTF16ToUTF8(url_field_->text()), |
248 std::string()); | 248 std::string()); |
249 } | 249 } |
OLD | NEW |