| 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" |
| 11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" | 12 #include "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" |
| 13 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 13 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
| 14 | 14 |
| 15 class OmniboxPopupView; | 15 class OmniboxPopupView; |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 class Clipboard; | 18 class Clipboard; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // Implements OmniboxView on an AutocompleteTextField. | 21 // Implements OmniboxView on an AutocompleteTextField. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 string16 suggest_text_; | 181 string16 suggest_text_; |
| 182 | 182 |
| 183 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); | 183 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ | 186 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ |
| OLD | NEW |