| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_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 "app/gfx/font.h" | 15 #include "app/gfx/font.h" |
| 16 #include "app/menus/simple_menu_model.h" | 16 #include "app/menus/simple_menu_model.h" |
| 17 #include "base/scoped_comptr_win.h" | 17 #include "base/scoped_comptr_win.h" |
| 18 #include "base/scoped_ptr.h" | 18 #include "base/scoped_ptr.h" |
| 19 #include "chrome/browser/autocomplete/autocomplete.h" | 19 #include "chrome/browser/autocomplete/autocomplete.h" |
| 20 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" | 20 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" |
| 21 #include "chrome/browser/toolbar_model.h" | 21 #include "chrome/browser/toolbar_model.h" |
| 22 #include "chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h" | 22 #include "chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h" |
| 23 #include "chrome/common/page_transition_types.h" | 23 #include "chrome/common/page_transition_types.h" |
| 24 #include "webkit/glue/window_open_disposition.h" | 24 #include "webkit/glue/window_open_disposition.h" |
| 25 #include "views/controls/menu/menu_2.h" |
| 25 | 26 |
| 26 class AutocompletePopupModel; | 27 class AutocompletePopupModel; |
| 27 class CommandUpdater; | 28 class CommandUpdater; |
| 28 class Profile; | 29 class Profile; |
| 29 class TabContents; | 30 class TabContents; |
| 30 namespace views { | 31 namespace views { |
| 31 class View; | 32 class View; |
| 32 class Menu2; | |
| 33 } | 33 } |
| 34 | 34 |
| 35 class AutocompleteEditController; | 35 class AutocompleteEditController; |
| 36 class AutocompleteEditModel; | 36 class AutocompleteEditModel; |
| 37 class AutocompleteEditView; | 37 class AutocompleteEditView; |
| 38 class AutocompletePopupView; | 38 class AutocompletePopupView; |
| 39 | 39 |
| 40 // Provides the implementation of an edit control with a drop-down | 40 // Provides the implementation of an edit control with a drop-down |
| 41 // autocomplete box. The box itself is implemented in autocomplete_popup.cc | 41 // autocomplete box. The box itself is implemented in autocomplete_popup.cc |
| 42 // This file implements the edit box and management for the popup. | 42 // This file implements the edit box and management for the popup. |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 489 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
| 490 | 490 |
| 491 // We explicitly retain a handle to this library so it never gets unloaded out | 491 // We explicitly retain a handle to this library so it never gets unloaded out |
| 492 // from underneath us. | 492 // from underneath us. |
| 493 HMODULE riched20dll_handle_; | 493 HMODULE riched20dll_handle_; |
| 494 | 494 |
| 495 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 495 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
| 496 }; | 496 }; |
| 497 | 497 |
| 498 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 498 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
| OLD | NEW |