| 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_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 #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/scoped_comptr_win.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/autocomplete/autocomplete_edit_view.h" | 19 #include "chrome/browser/autocomplete/autocomplete_edit_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" | 22 #include "content/common/page_transition_types.h" |
| 23 #include "ui/base/models/simple_menu_model.h" | 23 #include "ui/base/models/simple_menu_model.h" |
| 24 #include "ui/gfx/font.h" | 24 #include "ui/gfx/font.h" |
| 25 #include "views/controls/menu/menu_2.h" | 25 #include "views/controls/menu/menu_2.h" |
| 26 #include "webkit/glue/window_open_disposition.h" | 26 #include "webkit/glue/window_open_disposition.h" |
| 27 | 27 |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 ToolbarModel::SecurityLevel security_level_; | 532 ToolbarModel::SecurityLevel security_level_; |
| 533 | 533 |
| 534 // This interface is useful for accessing the CRichEditCtrl at a low level. | 534 // This interface is useful for accessing the CRichEditCtrl at a low level. |
| 535 mutable ITextDocument* text_object_model_; | 535 mutable ITextDocument* text_object_model_; |
| 536 | 536 |
| 537 // This contains the scheme char start and stop indexes that should be | 537 // This contains the scheme char start and stop indexes that should be |
| 538 // striken-out when displaying an insecure scheme. | 538 // striken-out when displaying an insecure scheme. |
| 539 url_parse::Component insecure_scheme_component_; | 539 url_parse::Component insecure_scheme_component_; |
| 540 | 540 |
| 541 // Instance of accessibility information and handling. | 541 // Instance of accessibility information and handling. |
| 542 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 542 mutable base::win::ScopedComPtr<IAccessible> autocomplete_accessibility_; |
| 543 | 543 |
| 544 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 544 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
| 545 }; | 545 }; |
| 546 | 546 |
| 547 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 547 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
| OLD | NEW |