| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 virtual void OnTemporaryTextMaybeChanged( | 102 virtual void OnTemporaryTextMaybeChanged( |
| 103 const string16& display_text, | 103 const string16& display_text, |
| 104 bool save_original_selection) OVERRIDE; | 104 bool save_original_selection) OVERRIDE; |
| 105 virtual bool OnInlineAutocompleteTextMaybeChanged( | 105 virtual bool OnInlineAutocompleteTextMaybeChanged( |
| 106 const string16& display_text, size_t user_text_length) OVERRIDE; | 106 const string16& display_text, size_t user_text_length) OVERRIDE; |
| 107 virtual void OnRevertTemporaryText() OVERRIDE; | 107 virtual void OnRevertTemporaryText() OVERRIDE; |
| 108 virtual void OnBeforePossibleChange() OVERRIDE; | 108 virtual void OnBeforePossibleChange() OVERRIDE; |
| 109 virtual bool OnAfterPossibleChange() OVERRIDE; | 109 virtual bool OnAfterPossibleChange() OVERRIDE; |
| 110 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 110 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 111 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; | 111 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; |
| 112 virtual void SetInstantSuggestion(const string16& suggestion, | 112 virtual void SetInstantSuggestion(const string16& suggestion) OVERRIDE; |
| 113 bool animate_to_complete) OVERRIDE; | |
| 114 virtual int TextWidth() const OVERRIDE; | 113 virtual int TextWidth() const OVERRIDE; |
| 115 virtual string16 GetInstantSuggestion() const OVERRIDE; | 114 virtual string16 GetInstantSuggestion() const OVERRIDE; |
| 116 virtual bool IsImeComposing() const OVERRIDE; | 115 virtual bool IsImeComposing() const OVERRIDE; |
| 117 virtual int GetMaxEditWidth(int entry_width) const OVERRIDE; | 116 virtual int GetMaxEditWidth(int entry_width) const OVERRIDE; |
| 118 virtual views::View* AddToView(views::View* parent) OVERRIDE; | 117 virtual views::View* AddToView(views::View* parent) OVERRIDE; |
| 119 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; | 118 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; |
| 120 virtual gfx::Font GetFont() OVERRIDE; | 119 virtual gfx::Font GetFont() OVERRIDE; |
| 121 virtual int WidthOfTextAfterCursor() OVERRIDE; | 120 virtual int WidthOfTextAfterCursor() OVERRIDE; |
| 122 | 121 |
| 123 int GetPopupMaxYCoordinate(); | 122 int GetPopupMaxYCoordinate(); |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 // The native view host. | 516 // The native view host. |
| 518 views::NativeViewHost* native_view_host_; | 517 views::NativeViewHost* native_view_host_; |
| 519 | 518 |
| 520 // TSF related event router. | 519 // TSF related event router. |
| 521 scoped_refptr<ui::TsfEventRouter> tsf_event_router_; | 520 scoped_refptr<ui::TsfEventRouter> tsf_event_router_; |
| 522 | 521 |
| 523 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); | 522 DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin); |
| 524 }; | 523 }; |
| 525 | 524 |
| 526 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ | 525 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_WIN_H_ |
| OLD | NEW |