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 #include <stddef.h> |
9 | 10 |
| 11 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
12 #include "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" | 14 #include "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" |
13 #include "components/omnibox/browser/omnibox_view.h" | 15 #include "components/omnibox/browser/omnibox_view.h" |
14 | 16 |
15 class CommandUpdater; | 17 class CommandUpdater; |
16 class OmniboxPopupView; | 18 class OmniboxPopupView; |
17 class Profile; | 19 class Profile; |
18 | 20 |
19 namespace content { | 21 namespace content { |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 NSRange coalesced_range_update_; | 221 NSRange coalesced_range_update_; |
220 | 222 |
221 // The time of the first character insert operation that has not yet been | 223 // The time of the first character insert operation that has not yet been |
222 // painted. Used to measure omnibox responsiveness with a histogram. | 224 // painted. Used to measure omnibox responsiveness with a histogram. |
223 base::TimeTicks insert_char_time_; | 225 base::TimeTicks insert_char_time_; |
224 | 226 |
225 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); | 227 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); |
226 }; | 228 }; |
227 | 229 |
228 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ | 230 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ |
OLD | NEW |