| 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_POPUP_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_VIEW_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <stddef.h> |
| 9 | 10 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h" | 14 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h" |
| 14 #include "components/omnibox/browser/autocomplete_match.h" | 15 #include "components/omnibox/browser/autocomplete_match.h" |
| 15 #include "components/omnibox/browser/omnibox_popup_view.h" | 16 #include "components/omnibox/browser/omnibox_popup_view.h" |
| 16 #include "ui/gfx/font.h" | 17 #include "ui/gfx/font.h" |
| 17 | 18 |
| 18 class AutocompleteResult; | 19 class AutocompleteResult; |
| 19 class OmniboxEditModel; | 20 class OmniboxEditModel; |
| 20 class OmniboxPopupModel; | 21 class OmniboxPopupModel; |
| 21 class OmniboxView; | 22 class OmniboxView; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 83 |
| 83 base::scoped_nsobject<OmniboxPopupMatrix> matrix_; | 84 base::scoped_nsobject<OmniboxPopupMatrix> matrix_; |
| 84 base::scoped_nsobject<NSView> top_separator_view_; | 85 base::scoped_nsobject<NSView> top_separator_view_; |
| 85 base::scoped_nsobject<NSView> bottom_separator_view_; | 86 base::scoped_nsobject<NSView> bottom_separator_view_; |
| 86 base::scoped_nsobject<NSBox> background_view_; | 87 base::scoped_nsobject<NSBox> background_view_; |
| 87 | 88 |
| 88 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupViewMac); | 89 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupViewMac); |
| 89 }; | 90 }; |
| 90 | 91 |
| 91 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_VIEW_MAC_H_ | 92 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_VIEW_MAC_H_ |
| OLD | NEW |