| 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> |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual void OnBeforePossibleChange(); | 132 virtual void OnBeforePossibleChange(); |
| 133 virtual bool OnAfterPossibleChange(); | 133 virtual bool OnAfterPossibleChange(); |
| 134 virtual gfx::NativeView GetNativeView() const; | 134 virtual gfx::NativeView GetNativeView() const; |
| 135 virtual CommandUpdater* GetCommandUpdater(); | 135 virtual CommandUpdater* GetCommandUpdater(); |
| 136 virtual void SetInstantSuggestion(const string16& suggestion); | 136 virtual void SetInstantSuggestion(const string16& suggestion); |
| 137 virtual string16 GetInstantSuggestion() const; | 137 virtual string16 GetInstantSuggestion() const; |
| 138 virtual int TextWidth() const; | 138 virtual int TextWidth() const; |
| 139 virtual bool IsImeComposing() const; | 139 virtual bool IsImeComposing() const; |
| 140 | 140 |
| 141 virtual views::View* AddToView(views::View* parent); | 141 virtual views::View* AddToView(views::View* parent); |
| 142 virtual int OnPerformDrop(const views::DropTargetEvent& event); |
| 142 | 143 |
| 143 int GetPopupMaxYCoordinate(); | 144 int GetPopupMaxYCoordinate(); |
| 144 | 145 |
| 145 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. | 146 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. |
| 146 IAccessible* GetIAccessible(); | 147 IAccessible* GetIAccessible(); |
| 147 | 148 |
| 148 void SetDropHighlightPosition(int position); | 149 void SetDropHighlightPosition(int position); |
| 149 int drop_highlight_position() const { return drop_highlight_position_; } | 150 int drop_highlight_position() const { return drop_highlight_position_; } |
| 150 | 151 |
| 151 // Returns true if a drag a drop session was initiated by this edit. | 152 // Returns true if a drag a drop session was initiated by this edit. |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 // striken-out when displaying an insecure scheme. | 530 // striken-out when displaying an insecure scheme. |
| 530 url_parse::Component insecure_scheme_component_; | 531 url_parse::Component insecure_scheme_component_; |
| 531 | 532 |
| 532 // Instance of accessibility information and handling. | 533 // Instance of accessibility information and handling. |
| 533 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 534 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
| 534 | 535 |
| 535 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 536 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
| 536 }; | 537 }; |
| 537 | 538 |
| 538 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 539 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
| OLD | NEW |