Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h

Issue 2868058: [Mac] Re-enable decoration tooltips in omnibox. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "chrome/browser/cocoa/styled_text_field_cell.h" 7 #import "chrome/browser/cocoa/styled_text_field_cell.h"
8 8
9 #include "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 #include "chrome/browser/cocoa/location_bar/location_bar_view_mac.h" 10 #include "chrome/browser/cocoa/location_bar/location_bar_view_mac.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ofView:(AutocompleteTextField*)controlView; 125 ofView:(AutocompleteTextField*)controlView;
126 126
127 @end 127 @end
128 128
129 // Internal methods here exposed for unit testing. 129 // Internal methods here exposed for unit testing.
130 @interface AutocompleteTextFieldCell (UnitTesting) 130 @interface AutocompleteTextFieldCell (UnitTesting)
131 131
132 @property(nonatomic, readonly) NSAttributedString* hintString; 132 @property(nonatomic, readonly) NSAttributedString* hintString;
133 @property(nonatomic, readonly) NSAttributedString* hintIconLabel; 133 @property(nonatomic, readonly) NSAttributedString* hintIconLabel;
134 134
135 // Setup decoration tooltips on |controlView| by calling
136 // |-addToolTip:forRect:|.
137 - (void)updateToolTipsInRect:(NSRect)cellFrame
138 ofView:(AutocompleteTextField*)controlView;
139
135 @end 140 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698