| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual bool IsSelectAll() const OVERRIDE; | 80 virtual bool IsSelectAll() const OVERRIDE; |
| 81 virtual bool DeleteAtEndPressed() OVERRIDE; | 81 virtual bool DeleteAtEndPressed() OVERRIDE; |
| 82 virtual void GetSelectionBounds(string16::size_type* start, | 82 virtual void GetSelectionBounds(string16::size_type* start, |
| 83 string16::size_type* end) const OVERRIDE; | 83 string16::size_type* end) const OVERRIDE; |
| 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) OVERRIDE; | 90 bool save_original_selection, |
| 91 bool notify_text_changed) OVERRIDE; |
| 91 virtual bool OnInlineAutocompleteTextMaybeChanged( | 92 virtual bool OnInlineAutocompleteTextMaybeChanged( |
| 92 const string16& display_text, size_t user_text_length) OVERRIDE; | 93 const string16& display_text, size_t user_text_length) OVERRIDE; |
| 93 virtual void OnRevertTemporaryText() OVERRIDE; | 94 virtual void OnRevertTemporaryText() OVERRIDE; |
| 94 virtual void OnBeforePossibleChange() OVERRIDE; | 95 virtual void OnBeforePossibleChange() OVERRIDE; |
| 95 virtual bool OnAfterPossibleChange() OVERRIDE; | 96 virtual bool OnAfterPossibleChange() OVERRIDE; |
| 96 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 97 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 97 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; | 98 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; |
| 98 virtual void SetInstantSuggestion(const string16& suggestion) OVERRIDE; | 99 virtual void SetInstantSuggestion(const string16& suggestion) OVERRIDE; |
| 99 virtual string16 GetInstantSuggestion() const OVERRIDE; | 100 virtual string16 GetInstantSuggestion() const OVERRIDE; |
| 100 virtual int TextWidth() const OVERRIDE; | 101 virtual int TextWidth() const OVERRIDE; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 // The view that is going to be focused next. Only valid while handling | 447 // The view that is going to be focused next. Only valid while handling |
| 447 // "focus-out" events. | 448 // "focus-out" events. |
| 448 GtkWidget* going_to_focus_; | 449 GtkWidget* going_to_focus_; |
| 449 | 450 |
| 450 ui::GtkSignalRegistrar signals_; | 451 ui::GtkSignalRegistrar signals_; |
| 451 | 452 |
| 452 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 453 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
| 453 }; | 454 }; |
| 454 | 455 |
| 455 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 456 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
| OLD | NEW |