OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 bool update_popup) OVERRIDE; | 113 bool update_popup) OVERRIDE; |
114 | 114 |
115 virtual void SetWindowTextAndCaretPos(const string16& text, | 115 virtual void SetWindowTextAndCaretPos(const string16& text, |
116 size_t caret_pos) OVERRIDE; | 116 size_t caret_pos) OVERRIDE; |
117 | 117 |
118 virtual void SetForcedQuery() OVERRIDE; | 118 virtual void SetForcedQuery() OVERRIDE; |
119 | 119 |
120 virtual bool IsSelectAll() OVERRIDE; | 120 virtual bool IsSelectAll() OVERRIDE; |
121 virtual bool DeleteAtEndPressed() OVERRIDE; | 121 virtual bool DeleteAtEndPressed() OVERRIDE; |
122 virtual void GetSelectionBounds(string16::size_type* start, | 122 virtual void GetSelectionBounds(string16::size_type* start, |
123 string16::size_type* end) OVERRIDE; | 123 string16::size_type* end) const OVERRIDE; |
124 virtual void SelectAll(bool reversed) OVERRIDE; | 124 virtual void SelectAll(bool reversed) OVERRIDE; |
125 virtual void RevertAll() OVERRIDE; | 125 virtual void RevertAll() OVERRIDE; |
126 | 126 |
127 virtual void UpdatePopup() OVERRIDE; | 127 virtual void UpdatePopup() OVERRIDE; |
128 virtual void ClosePopup() OVERRIDE; | 128 virtual void ClosePopup() OVERRIDE; |
129 | 129 |
130 virtual void SetFocus() OVERRIDE; | 130 virtual void SetFocus() OVERRIDE; |
131 | 131 |
132 virtual void OnTemporaryTextMaybeChanged( | 132 virtual void OnTemporaryTextMaybeChanged( |
133 const string16& display_text, | 133 const string16& display_text, |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 // The view that is going to be focused next. Only valid while handling | 543 // The view that is going to be focused next. Only valid while handling |
544 // "focus-out" events. | 544 // "focus-out" events. |
545 GtkWidget* going_to_focus_; | 545 GtkWidget* going_to_focus_; |
546 | 546 |
547 ui::GtkSignalRegistrar signals_; | 547 ui::GtkSignalRegistrar signals_; |
548 | 548 |
549 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 549 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
550 }; | 550 }; |
551 | 551 |
552 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 552 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
OLD | NEW |