| 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_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 size_t index, | 96 size_t index, |
| 97 const string16& keyword) OVERRIDE; | 97 const string16& keyword) OVERRIDE; |
| 98 virtual string16 GetText() const OVERRIDE; | 98 virtual string16 GetText() const OVERRIDE; |
| 99 virtual bool IsEditingOrEmpty() const OVERRIDE; | 99 virtual bool IsEditingOrEmpty() const OVERRIDE; |
| 100 virtual int GetIcon() const OVERRIDE; | 100 virtual int GetIcon() const OVERRIDE; |
| 101 virtual void SetUserText(const string16& text) OVERRIDE; | 101 virtual void SetUserText(const string16& text) OVERRIDE; |
| 102 virtual void SetUserText(const string16& text, | 102 virtual void SetUserText(const string16& text, |
| 103 const string16& display_text, | 103 const string16& display_text, |
| 104 bool update_popup) OVERRIDE; | 104 bool update_popup) OVERRIDE; |
| 105 virtual void SetWindowTextAndCaretPos(const string16& text, | 105 virtual void SetWindowTextAndCaretPos(const string16& text, |
| 106 size_t caret_pos) OVERRIDE; | 106 size_t caret_pos, |
| 107 bool update_popup, |
| 108 bool notify_text_changed) OVERRIDE; |
| 107 virtual void SetForcedQuery() OVERRIDE; | 109 virtual void SetForcedQuery() OVERRIDE; |
| 108 virtual bool IsSelectAll() OVERRIDE; | 110 virtual bool IsSelectAll() OVERRIDE; |
| 109 virtual bool DeleteAtEndPressed() OVERRIDE; | 111 virtual bool DeleteAtEndPressed() OVERRIDE; |
| 110 virtual void GetSelectionBounds(string16::size_type* start, | 112 virtual void GetSelectionBounds(string16::size_type* start, |
| 111 string16::size_type* end) const OVERRIDE; | 113 string16::size_type* end) const OVERRIDE; |
| 112 virtual void SelectAll(bool reversed) OVERRIDE; | 114 virtual void SelectAll(bool reversed) OVERRIDE; |
| 113 virtual void RevertAll() OVERRIDE; | 115 virtual void RevertAll() OVERRIDE; |
| 114 virtual void UpdatePopup() OVERRIDE; | 116 virtual void UpdatePopup() OVERRIDE; |
| 115 virtual void ClosePopup() OVERRIDE; | 117 virtual void ClosePopup() OVERRIDE; |
| 116 virtual void SetFocus() OVERRIDE; | 118 virtual void SetFocus() OVERRIDE; |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 // Instance of accessibility information and handling. | 537 // Instance of accessibility information and handling. |
| 536 mutable base::win::ScopedComPtr<IAccessible> autocomplete_accessibility_; | 538 mutable base::win::ScopedComPtr<IAccessible> autocomplete_accessibility_; |
| 537 | 539 |
| 538 // The native view host. | 540 // The native view host. |
| 539 views::NativeViewHost* native_view_host_; | 541 views::NativeViewHost* native_view_host_; |
| 540 | 542 |
| 541 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); | 543 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); |
| 542 }; | 544 }; |
| 543 | 545 |
| 544 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 546 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
| OLD | NEW |