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

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

Issue 15553008: Instant Extended: Reduce clipping in omnibox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 NSRange selection_before_change_; 171 NSRange selection_before_change_;
172 string16 text_before_change_; 172 string16 text_before_change_;
173 NSRange marked_range_before_change_; 173 NSRange marked_range_before_change_;
174 174
175 // Was delete pressed? 175 // Was delete pressed?
176 bool delete_was_pressed_; 176 bool delete_was_pressed_;
177 177
178 // Was the delete key pressed with an empty selection at the end of the edit? 178 // Was the delete key pressed with an empty selection at the end of the edit?
179 bool delete_at_end_pressed_; 179 bool delete_at_end_pressed_;
180 180
181 // The maximum/standard line height for the displayed text.
182 CGFloat line_height_;
183
184 string16 suggest_text_; 181 string16 suggest_text_;
185 182
186 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); 183 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac);
187 }; 184 };
188 185
189 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ 186 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698