| 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 | 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual bool DeleteAtEndPressed() OVERRIDE; | 93 virtual bool DeleteAtEndPressed() OVERRIDE; |
| 94 virtual void GetSelectionBounds(string16::size_type* start, | 94 virtual void GetSelectionBounds(string16::size_type* start, |
| 95 string16::size_type* end) const OVERRIDE; | 95 string16::size_type* end) const OVERRIDE; |
| 96 virtual void SelectAll(bool reversed) OVERRIDE; | 96 virtual void SelectAll(bool reversed) OVERRIDE; |
| 97 virtual void RevertAll() OVERRIDE; | 97 virtual void RevertAll() OVERRIDE; |
| 98 virtual void UpdatePopup() OVERRIDE; | 98 virtual void UpdatePopup() OVERRIDE; |
| 99 virtual void SetFocus() OVERRIDE; | 99 virtual void SetFocus() OVERRIDE; |
| 100 virtual void ApplyCaretVisibility() OVERRIDE; | 100 virtual void ApplyCaretVisibility() OVERRIDE; |
| 101 virtual void OnTemporaryTextMaybeChanged( | 101 virtual void OnTemporaryTextMaybeChanged( |
| 102 const string16& display_text, | 102 const string16& display_text, |
| 103 bool save_original_selection) OVERRIDE; | 103 bool save_original_selection, |
| 104 bool notify_text_changed) OVERRIDE; |
| 104 virtual bool OnInlineAutocompleteTextMaybeChanged( | 105 virtual bool OnInlineAutocompleteTextMaybeChanged( |
| 105 const string16& display_text, size_t user_text_length) OVERRIDE; | 106 const string16& display_text, size_t user_text_length) OVERRIDE; |
| 106 virtual void OnRevertTemporaryText() OVERRIDE; | 107 virtual void OnRevertTemporaryText() OVERRIDE; |
| 107 virtual void OnBeforePossibleChange() OVERRIDE; | 108 virtual void OnBeforePossibleChange() OVERRIDE; |
| 108 virtual bool OnAfterPossibleChange() OVERRIDE; | 109 virtual bool OnAfterPossibleChange() OVERRIDE; |
| 109 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 110 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 110 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; | 111 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; |
| 111 virtual void SetInstantSuggestion(const string16& suggestion) OVERRIDE; | 112 virtual void SetInstantSuggestion(const string16& suggestion) OVERRIDE; |
| 112 virtual int TextWidth() const OVERRIDE; | 113 virtual int TextWidth() const OVERRIDE; |
| 113 virtual string16 GetInstantSuggestion() const OVERRIDE; | 114 virtual string16 GetInstantSuggestion() const OVERRIDE; |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 // The native view host. | 518 // The native view host. |
| 518 views::NativeViewHost* native_view_host_; | 519 views::NativeViewHost* native_view_host_; |
| 519 | 520 |
| 520 // TSF related event router. | 521 // TSF related event router. |
| 521 scoped_ptr<ui::TSFEventRouter> tsf_event_router_; | 522 scoped_ptr<ui::TSFEventRouter> tsf_event_router_; |
| 522 | 523 |
| 523 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); | 524 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); |
| 524 }; | 525 }; |
| 525 | 526 |
| 526 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 527 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
| OLD | NEW |