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

Side by Side Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h

Issue 2836453002: Standardizing on the name "tail suggestions" (in comments) (Closed)
Patch Set: Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_MATRIX_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_MATRIX_H_
6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_MATRIX_H_ 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_MATRIX_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 }; 57 };
58 58
59 // Sets up a tracking area to implement hover by highlighting the cell the mouse 59 // Sets up a tracking area to implement hover by highlighting the cell the mouse
60 // is over. 60 // is over.
61 @interface OmniboxPopupMatrix : NSTableView { 61 @interface OmniboxPopupMatrix : NSTableView {
62 base::scoped_nsobject<OmniboxPopupTableController> matrixController_; 62 base::scoped_nsobject<OmniboxPopupTableController> matrixController_;
63 OmniboxPopupMatrixObserver* observer_; // weak 63 OmniboxPopupMatrixObserver* observer_; // weak
64 ui::ScopedCrTrackingArea trackingArea_; 64 ui::ScopedCrTrackingArea trackingArea_;
65 NSAttributedString* separator_; 65 NSAttributedString* separator_;
66 66
67 // The width of widest match contents in a set of infinite suggestions. 67 // The width of widest match contents in a set of tail suggestions.
68 CGFloat maxMatchContentsWidth_; 68 CGFloat maxMatchContentsWidth_;
69 69
70 CGFloat answerLineHeight_; 70 CGFloat answerLineHeight_;
71 71
72 // Left margin padding for the content (i.e. icon and text) in a cell. 72 // Left margin padding for the content (i.e. icon and text) in a cell.
73 CGFloat contentLeftPadding_; 73 CGFloat contentLeftPadding_;
74 74
75 // true if the OmniboxPopupMatrix should use the dark theme style. 75 // true if the OmniboxPopupMatrix should use the dark theme style.
76 BOOL hasDarkTheme_; 76 BOOL hasDarkTheme_;
77 } 77 }
(...skipping 16 matching lines...) Expand all
94 94
95 // Move the selection to |rowIndex|. 95 // Move the selection to |rowIndex|.
96 - (void)selectRowIndex:(NSInteger)rowIndex; 96 - (void)selectRowIndex:(NSInteger)rowIndex;
97 97
98 // Setup the NSTableView data source. 98 // Setup the NSTableView data source.
99 - (void)setController:(OmniboxPopupTableController*)controller; 99 - (void)setController:(OmniboxPopupTableController*)controller;
100 100
101 @end 101 @end
102 102
103 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_MATRIX_H_ 103 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_MATRIX_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm ('k') | chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698