| 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> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 DECLARE_WND_CLASS(L"Chrome_AutocompleteEditView"); | 62 DECLARE_WND_CLASS(L"Chrome_AutocompleteEditView"); |
| 63 | 63 |
| 64 AutocompleteEditViewWin(const gfx::Font& font, | 64 AutocompleteEditViewWin(const gfx::Font& font, |
| 65 AutocompleteEditController* controller, | 65 AutocompleteEditController* controller, |
| 66 ToolbarModel* toolbar_model, | 66 ToolbarModel* toolbar_model, |
| 67 views::View* parent_view, | 67 views::View* parent_view, |
| 68 HWND hwnd, | 68 HWND hwnd, |
| 69 Profile* profile, | 69 Profile* profile, |
| 70 CommandUpdater* command_updater, | 70 CommandUpdater* command_updater, |
| 71 bool popup_window_mode, | 71 bool popup_window_mode, |
| 72 AutocompletePopupPositioner* popup_positioner); | 72 const BubblePositioner* bubble_positioner); |
| 73 ~AutocompleteEditViewWin(); | 73 ~AutocompleteEditViewWin(); |
| 74 | 74 |
| 75 views::View* parent_view() const { return parent_view_; } | 75 views::View* parent_view() const { return parent_view_; } |
| 76 | 76 |
| 77 // Implement the AutocompleteEditView interface. | 77 // Implement the AutocompleteEditView interface. |
| 78 virtual AutocompleteEditModel* model() { return model_.get(); } | 78 virtual AutocompleteEditModel* model() { return model_.get(); } |
| 79 virtual const AutocompleteEditModel* model() const { return model_.get(); } | 79 virtual const AutocompleteEditModel* model() const { return model_.get(); } |
| 80 | 80 |
| 81 virtual void SaveStateToTab(TabContents* tab); | 81 virtual void SaveStateToTab(TabContents* tab); |
| 82 | 82 |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 // striken-out when displaying an insecure scheme. | 483 // striken-out when displaying an insecure scheme. |
| 484 url_parse::Component insecure_scheme_component_; | 484 url_parse::Component insecure_scheme_component_; |
| 485 | 485 |
| 486 // Instance of accessibility information and handling. | 486 // Instance of accessibility information and handling. |
| 487 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 487 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
| 488 | 488 |
| 489 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 489 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
| 490 }; | 490 }; |
| 491 | 491 |
| 492 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 492 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
| OLD | NEW |