OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 // If true indicates we've run a drag and drop session. This is used to | 469 // If true indicates we've run a drag and drop session. This is used to |
470 // avoid starting two drag and drop sessions if the drag is canceled while | 470 // avoid starting two drag and drop sessions if the drag is canceled while |
471 // the mouse is still down. | 471 // the mouse is still down. |
472 bool initiated_drag_; | 472 bool initiated_drag_; |
473 | 473 |
474 // Position of the drop highlight. If this is -1, there is no drop highlight. | 474 // Position of the drop highlight. If this is -1, there is no drop highlight. |
475 int drop_highlight_position_; | 475 int drop_highlight_position_; |
476 | 476 |
477 // Security UI-related data. | 477 // Security UI-related data. |
478 COLORREF background_color_; | 478 COLORREF background_color_; |
479 ToolbarModel::SecurityLevel scheme_security_level_; | 479 ToolbarModel::SecurityLevel security_level_; |
480 | 480 |
481 // This interface is useful for accessing the CRichEditCtrl at a low level. | 481 // This interface is useful for accessing the CRichEditCtrl at a low level. |
482 mutable ITextDocument* text_object_model_; | 482 mutable ITextDocument* text_object_model_; |
483 | 483 |
484 // This contains the scheme char start and stop indexes that should be | 484 // This contains the scheme char start and stop indexes that should be |
485 // striken-out when displaying an insecure scheme. | 485 // striken-out when displaying an insecure scheme. |
486 url_parse::Component insecure_scheme_component_; | 486 url_parse::Component insecure_scheme_component_; |
487 | 487 |
488 // Instance of accessibility information and handling. | 488 // Instance of accessibility information and handling. |
489 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 489 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
490 | 490 |
491 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 491 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
492 }; | 492 }; |
493 | 493 |
494 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 494 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
OLD | NEW |