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_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void UpdatePopup() OVERRIDE; | 48 virtual void UpdatePopup() OVERRIDE; |
49 virtual void CloseOmniboxPopup() OVERRIDE; | 49 virtual void CloseOmniboxPopup() OVERRIDE; |
50 virtual void SetFocus() OVERRIDE; | 50 virtual void SetFocus() OVERRIDE; |
51 virtual void ApplyCaretVisibility() OVERRIDE; | 51 virtual void ApplyCaretVisibility() OVERRIDE; |
52 virtual void OnTemporaryTextMaybeChanged( | 52 virtual void OnTemporaryTextMaybeChanged( |
53 const string16& display_text, | 53 const string16& display_text, |
54 bool save_original_selection, | 54 bool save_original_selection, |
55 bool notify_text_changed) OVERRIDE; | 55 bool notify_text_changed) OVERRIDE; |
56 virtual bool OnInlineAutocompleteTextMaybeChanged( | 56 virtual bool OnInlineAutocompleteTextMaybeChanged( |
57 const string16& display_text, size_t user_text_length) OVERRIDE; | 57 const string16& display_text, size_t user_text_length) OVERRIDE; |
58 virtual void OnStartingIME() OVERRIDE; | |
59 virtual void OnRevertTemporaryText() OVERRIDE; | 58 virtual void OnRevertTemporaryText() OVERRIDE; |
60 virtual void OnBeforePossibleChange() OVERRIDE; | 59 virtual void OnBeforePossibleChange() OVERRIDE; |
61 virtual bool OnAfterPossibleChange() OVERRIDE; | 60 virtual bool OnAfterPossibleChange() OVERRIDE; |
62 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 61 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
63 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; | 62 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; |
64 virtual void SetInstantSuggestion(const string16& input) OVERRIDE; | 63 virtual void SetInstantSuggestion(const string16& input) OVERRIDE; |
65 virtual string16 GetInstantSuggestion() const OVERRIDE; | 64 virtual string16 GetInstantSuggestion() const OVERRIDE; |
66 virtual int TextWidth() const OVERRIDE; | 65 virtual int TextWidth() const OVERRIDE; |
67 virtual bool IsImeComposing() const OVERRIDE; | 66 virtual bool IsImeComposing() const OVERRIDE; |
68 | 67 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 180 |
182 // The maximum/standard line height for the displayed text. | 181 // The maximum/standard line height for the displayed text. |
183 CGFloat line_height_; | 182 CGFloat line_height_; |
184 | 183 |
185 string16 suggest_text_; | 184 string16 suggest_text_; |
186 | 185 |
187 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); | 186 DISALLOW_COPY_AND_ASSIGN(OmniboxViewMac); |
188 }; | 187 }; |
189 | 188 |
190 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ | 189 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_VIEW_MAC_H_ |
OLD | NEW |