OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" | 5 #import "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" |
6 | 6 |
7 #include "app/l10n_util_mac.h" | 7 #include "app/l10n_util_mac.h" |
8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
9 #include "base/nsimage_cache_mac.h" | |
10 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
11 #include "base/string_util.h" | 10 #include "base/string_util.h" |
12 #include "base/sys_string_conversions.h" | 11 #include "base/sys_string_conversions.h" |
13 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
14 #include "chrome/app/chrome_command_ids.h" | 13 #include "chrome/app/chrome_command_ids.h" |
15 #include "chrome/browser/alternate_nav_url_fetcher.h" | 14 #include "chrome/browser/alternate_nav_url_fetcher.h" |
16 #import "chrome/browser/app_controller_mac.h" | 15 #import "chrome/browser/app_controller_mac.h" |
17 #import "chrome/browser/autocomplete/autocomplete_edit_view_mac.h" | 16 #import "chrome/browser/autocomplete/autocomplete_edit_view_mac.h" |
18 #import "chrome/browser/autocomplete/autocomplete_popup_model.h" | 17 #import "chrome/browser/autocomplete/autocomplete_popup_model.h" |
19 #include "chrome/browser/browser_list.h" | 18 #include "chrome/browser/browser_list.h" |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 | 686 |
688 // These need to change anytime the layout changes. | 687 // These need to change anytime the layout changes. |
689 // TODO(shess): Anytime the field editor might have changed, the | 688 // TODO(shess): Anytime the field editor might have changed, the |
690 // cursor rects almost certainly should have changed. The tooltips | 689 // cursor rects almost certainly should have changed. The tooltips |
691 // might change even when the rects don't change. | 690 // might change even when the rects don't change. |
692 [field_ resetFieldEditorFrameIfNeeded]; | 691 [field_ resetFieldEditorFrameIfNeeded]; |
693 [field_ updateCursorAndToolTipRects]; | 692 [field_ updateCursorAndToolTipRects]; |
694 | 693 |
695 [field_ setNeedsDisplay:YES]; | 694 [field_ setNeedsDisplay:YES]; |
696 } | 695 } |
OLD | NEW |