OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/find_bar_text_field_cell.h" | 5 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/sys_string_conversions.h" | 11 #include "base/sys_string_conversions.h" |
12 #include "grit/generated_resources.h" | 12 #include "grit/generated_resources.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 [resultsString_.get() drawInRect:infoFrame]; | 110 [resultsString_.get() drawInRect:infoFrame]; |
111 } | 111 } |
112 | 112 |
113 - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView { | 113 - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView*)controlView { |
114 if (resultsString_) | 114 if (resultsString_) |
115 [self drawResultsWithFrame:cellFrame inView:controlView]; | 115 [self drawResultsWithFrame:cellFrame inView:controlView]; |
116 [super drawInteriorWithFrame:cellFrame inView:controlView]; | 116 [super drawInteriorWithFrame:cellFrame inView:controlView]; |
117 } | 117 } |
118 | 118 |
119 @end | 119 @end |
OLD | NEW |