OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 size_t index, | 103 size_t index, |
104 const string16& keyword) OVERRIDE; | 104 const string16& keyword) OVERRIDE; |
105 virtual string16 GetText() const OVERRIDE; | 105 virtual string16 GetText() const OVERRIDE; |
106 virtual bool IsEditingOrEmpty() const OVERRIDE; | 106 virtual bool IsEditingOrEmpty() const OVERRIDE; |
107 virtual int GetIcon() const OVERRIDE; | 107 virtual int GetIcon() const OVERRIDE; |
108 virtual void SetUserText(const string16& text) OVERRIDE; | 108 virtual void SetUserText(const string16& text) OVERRIDE; |
109 virtual void SetUserText(const string16& text, | 109 virtual void SetUserText(const string16& text, |
110 const string16& display_text, | 110 const string16& display_text, |
111 bool update_popup) OVERRIDE; | 111 bool update_popup) OVERRIDE; |
112 virtual void SetWindowTextAndCaretPos(const string16& text, | 112 virtual void SetWindowTextAndCaretPos(const string16& text, |
113 size_t caret_pos) OVERRIDE; | 113 size_t caret_pos, |
| 114 bool update_popup, |
| 115 bool notify_text_changed) OVERRIDE; |
114 virtual void SetForcedQuery() OVERRIDE; | 116 virtual void SetForcedQuery() OVERRIDE; |
115 virtual bool IsSelectAll() OVERRIDE; | 117 virtual bool IsSelectAll() OVERRIDE; |
116 virtual bool DeleteAtEndPressed() OVERRIDE; | 118 virtual bool DeleteAtEndPressed() OVERRIDE; |
117 virtual void GetSelectionBounds(string16::size_type* start, | 119 virtual void GetSelectionBounds(string16::size_type* start, |
118 string16::size_type* end) const OVERRIDE; | 120 string16::size_type* end) const OVERRIDE; |
119 virtual void SelectAll(bool reversed) OVERRIDE; | 121 virtual void SelectAll(bool reversed) OVERRIDE; |
120 virtual void RevertAll() OVERRIDE; | 122 virtual void RevertAll() OVERRIDE; |
121 virtual void UpdatePopup() OVERRIDE; | 123 virtual void UpdatePopup() OVERRIDE; |
122 virtual void ClosePopup() OVERRIDE; | 124 virtual void ClosePopup() OVERRIDE; |
123 virtual void SetFocus() OVERRIDE; | 125 virtual void SetFocus() OVERRIDE; |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 views::NativeViewHost* native_view_host_; | 550 views::NativeViewHost* native_view_host_; |
549 | 551 |
550 // ITextInputPanel to allow us to show the Windows virtual keyboard when a | 552 // ITextInputPanel to allow us to show the Windows virtual keyboard when a |
551 // user touches the Omnibox. | 553 // user touches the Omnibox. |
552 base::win::ScopedComPtr<ITextInputPanel> keyboard_; | 554 base::win::ScopedComPtr<ITextInputPanel> keyboard_; |
553 | 555 |
554 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); | 556 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); |
555 }; | 557 }; |
556 | 558 |
557 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 559 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
OLD | NEW |