OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
11 #include <atlcrack.h> | 11 #include <atlcrack.h> |
12 #include <atlctrls.h> | 12 #include <atlctrls.h> |
13 #include <atlmisc.h> | 13 #include <atlmisc.h> |
14 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl. | 14 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl. |
15 | 15 |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/win/scoped_comptr.h" | 17 #include "base/win/scoped_comptr.h" |
18 #include "chrome/browser/autocomplete/autocomplete.h" | 18 #include "chrome/browser/autocomplete/autocomplete.h" |
19 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 19 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
20 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 20 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
21 #include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.
h" | 21 #include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.
h" |
22 #include "content/common/page_transition_types.h" | |
23 #include "ui/base/models/simple_menu_model.h" | 22 #include "ui/base/models/simple_menu_model.h" |
24 #include "ui/gfx/font.h" | 23 #include "ui/gfx/font.h" |
25 #include "views/controls/menu/menu_2.h" | 24 #include "views/controls/menu/menu_2.h" |
26 #include "webkit/glue/window_open_disposition.h" | 25 #include "webkit/glue/window_open_disposition.h" |
27 | 26 |
28 class AutocompleteEditController; | 27 class AutocompleteEditController; |
29 class AutocompleteEditModel; | 28 class AutocompleteEditModel; |
30 class AutocompletePopupView; | 29 class AutocompletePopupView; |
31 class LocationBarView; | 30 class LocationBarView; |
32 class TabContents; | 31 class TabContents; |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 // stricken-out when displaying an insecure scheme. | 541 // stricken-out when displaying an insecure scheme. |
543 url_parse::Component insecure_scheme_component_; | 542 url_parse::Component insecure_scheme_component_; |
544 | 543 |
545 // Instance of accessibility information and handling. | 544 // Instance of accessibility information and handling. |
546 mutable base::win::ScopedComPtr<IAccessible> autocomplete_accessibility_; | 545 mutable base::win::ScopedComPtr<IAccessible> autocomplete_accessibility_; |
547 | 546 |
548 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); | 547 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); |
549 }; | 548 }; |
550 | 549 |
551 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 550 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
OLD | NEW |