| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 bool update_popup, | 77 bool update_popup, |
| 78 bool notify_text_changed) OVERRIDE; | 78 bool notify_text_changed) OVERRIDE; |
| 79 virtual void SetForcedQuery() OVERRIDE; | 79 virtual void SetForcedQuery() OVERRIDE; |
| 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 OnTemporaryTextMaybeChanged( | 88 virtual void OnTemporaryTextMaybeChanged( |
| 88 const string16& display_text, | 89 const string16& display_text, |
| 89 bool save_original_selection) OVERRIDE; | 90 bool save_original_selection) OVERRIDE; |
| 90 virtual bool OnInlineAutocompleteTextMaybeChanged( | 91 virtual bool OnInlineAutocompleteTextMaybeChanged( |
| 91 const string16& display_text, size_t user_text_length) OVERRIDE; | 92 const string16& display_text, size_t user_text_length) OVERRIDE; |
| 92 virtual void OnRevertTemporaryText() OVERRIDE; | 93 virtual void OnRevertTemporaryText() OVERRIDE; |
| 93 virtual void OnBeforePossibleChange() OVERRIDE; | 94 virtual void OnBeforePossibleChange() OVERRIDE; |
| 94 virtual bool OnAfterPossibleChange() OVERRIDE; | 95 virtual bool OnAfterPossibleChange() OVERRIDE; |
| 95 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 96 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 96 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; | 97 virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 // The view that is going to be focused next. Only valid while handling | 446 // The view that is going to be focused next. Only valid while handling |
| 446 // "focus-out" events. | 447 // "focus-out" events. |
| 447 GtkWidget* going_to_focus_; | 448 GtkWidget* going_to_focus_; |
| 448 | 449 |
| 449 ui::GtkSignalRegistrar signals_; | 450 ui::GtkSignalRegistrar signals_; |
| 450 | 451 |
| 451 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 452 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
| 452 }; | 453 }; |
| 453 | 454 |
| 454 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 455 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
| OLD | NEW |