| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |