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 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h" | 13 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h" |
14 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h" | 14 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h" |
15 #include "components/autocomplete/autocomplete_match.h" | 15 #include "components/omnibox/autocomplete_match.h" |
16 #include "ui/gfx/font.h" | 16 #include "ui/gfx/font.h" |
17 | 17 |
18 class AutocompleteResult; | 18 class AutocompleteResult; |
19 class OmniboxEditModel; | 19 class OmniboxEditModel; |
20 class OmniboxPopupModel; | 20 class OmniboxPopupModel; |
21 class OmniboxView; | 21 class OmniboxView; |
22 | 22 |
23 // Implements OmniboxPopupView using a raw NSWindow containing an | 23 // Implements OmniboxPopupView using a raw NSWindow containing an |
24 // NSTableView. | 24 // NSTableView. |
25 class OmniboxPopupViewMac : public OmniboxPopupView, | 25 class OmniboxPopupViewMac : public OmniboxPopupView, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 base::scoped_nsobject<OmniboxPopupMatrix> matrix_; | 84 base::scoped_nsobject<OmniboxPopupMatrix> matrix_; |
85 base::scoped_nsobject<NSView> top_separator_view_; | 85 base::scoped_nsobject<NSView> top_separator_view_; |
86 base::scoped_nsobject<NSView> bottom_separator_view_; | 86 base::scoped_nsobject<NSView> bottom_separator_view_; |
87 base::scoped_nsobject<NSBox> background_view_; | 87 base::scoped_nsobject<NSBox> background_view_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupViewMac); | 89 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupViewMac); |
90 }; | 90 }; |
91 | 91 |
92 #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 |