| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 virtual void SelectAll(bool reversed) OVERRIDE; | 84 virtual void SelectAll(bool reversed) OVERRIDE; |
| 85 virtual void UpdatePopup() OVERRIDE; | 85 virtual void UpdatePopup() OVERRIDE; |
| 86 virtual void SetFocus() OVERRIDE; | 86 virtual void SetFocus() OVERRIDE; |
| 87 virtual void ApplyCaretVisibility() OVERRIDE; | 87 virtual void ApplyCaretVisibility() OVERRIDE; |
| 88 virtual void OnTemporaryTextMaybeChanged( | 88 virtual void OnTemporaryTextMaybeChanged( |
| 89 const string16& display_text, | 89 const string16& display_text, |
| 90 bool save_original_selection, | 90 bool save_original_selection, |
| 91 bool notify_text_changed) OVERRIDE; | 91 bool notify_text_changed) OVERRIDE; |
| 92 virtual bool OnInlineAutocompleteTextMaybeChanged( | 92 virtual bool OnInlineAutocompleteTextMaybeChanged( |
| 93 const string16& display_text, size_t user_text_length) OVERRIDE; | 93 const string16& display_text, size_t user_text_length) OVERRIDE; |
| 94 virtual void OnInlineAutocompleteTextCleared() OVERRIDE; |
| 94 virtual void OnRevertTemporaryText() OVERRIDE; | 95 virtual void OnRevertTemporaryText() OVERRIDE; |
| 95 virtual void OnBeforePossibleChange() OVERRIDE; | 96 virtual void OnBeforePossibleChange() OVERRIDE; |
| 96 virtual bool OnAfterPossibleChange() OVERRIDE; | 97 virtual bool OnAfterPossibleChange() OVERRIDE; |
| 97 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 98 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 98 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; | 99 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; |
| 99 virtual void SetGrayTextAutocompletion(const string16& suggestion) OVERRIDE; | 100 virtual void SetGrayTextAutocompletion(const string16& suggestion) OVERRIDE; |
| 100 virtual string16 GetGrayTextAutocompletion() const OVERRIDE; | 101 virtual string16 GetGrayTextAutocompletion() const OVERRIDE; |
| 101 virtual int TextWidth() const OVERRIDE; | 102 virtual int TextWidth() const OVERRIDE; |
| 102 virtual bool IsImeComposing() const OVERRIDE; | 103 virtual bool IsImeComposing() const OVERRIDE; |
| 103 | 104 |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 // The view that is going to be focused next. Only valid while handling | 450 // The view that is going to be focused next. Only valid while handling |
| 450 // "focus-out" events. | 451 // "focus-out" events. |
| 451 GtkWidget* going_to_focus_; | 452 GtkWidget* going_to_focus_; |
| 452 | 453 |
| 453 ui::GtkSignalRegistrar signals_; | 454 ui::GtkSignalRegistrar signals_; |
| 454 | 455 |
| 455 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 456 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
| 456 }; | 457 }; |
| 457 | 458 |
| 458 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 459 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
| OLD | NEW |