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_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 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
11 #include <atlctrls.h> | 11 #include <atlctrls.h> |
12 #include <atlmisc.h> | 12 #include <atlmisc.h> |
13 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl. | 13 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl. |
14 | 14 |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/win/scoped_comptr.h" | 16 #include "base/win/scoped_comptr.h" |
17 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 17 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
18 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 18 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
19 #include "chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h" | 19 #include "chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h" |
20 #include "ui/base/ime/win/tsf_event_router.h" | 20 #include "ui/base/ime/win/tsf_event_router.h" |
21 #include "ui/base/models/simple_menu_model.h" | 21 #include "ui/base/models/simple_menu_model.h" |
22 #include "ui/base/win/extra_sdk_defines.h" | 22 #include "ui/base/win/extra_sdk_defines.h" |
| 23 #include "ui/base/window_open_disposition.h" |
23 #include "ui/gfx/font.h" | 24 #include "ui/gfx/font.h" |
24 #include "webkit/glue/window_open_disposition.h" | |
25 | 25 |
26 class LocationBarView; | 26 class LocationBarView; |
27 class OmniboxPopupView; | 27 class OmniboxPopupView; |
28 | 28 |
29 namespace views { | 29 namespace views { |
30 class MenuRunner; | 30 class MenuRunner; |
31 class NativeViewHost; | 31 class NativeViewHost; |
32 class View; | 32 class View; |
33 } | 33 } |
34 | 34 |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 // The native view host. | 517 // The native view host. |
518 views::NativeViewHost* native_view_host_; | 518 views::NativeViewHost* native_view_host_; |
519 | 519 |
520 // TSF related event router. | 520 // TSF related event router. |
521 scoped_ptr<ui::TSFEventRouter> tsf_event_router_; | 521 scoped_ptr<ui::TSFEventRouter> tsf_event_router_; |
522 | 522 |
523 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); | 523 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); |
524 }; | 524 }; |
525 | 525 |
526 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 526 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
OLD | NEW |