| 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_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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 size_t index, | 99 size_t index, |
| 100 const string16& keyword) OVERRIDE; | 100 const string16& keyword) OVERRIDE; |
| 101 virtual string16 GetText() const OVERRIDE; | 101 virtual string16 GetText() const OVERRIDE; |
| 102 virtual bool IsEditingOrEmpty() const OVERRIDE; | 102 virtual bool IsEditingOrEmpty() const OVERRIDE; |
| 103 virtual int GetIcon() const OVERRIDE; | 103 virtual int GetIcon() const OVERRIDE; |
| 104 virtual void SetUserText(const string16& text) OVERRIDE; | 104 virtual void SetUserText(const string16& text) OVERRIDE; |
| 105 virtual void SetUserText(const string16& text, | 105 virtual void SetUserText(const string16& text, |
| 106 const string16& display_text, | 106 const string16& display_text, |
| 107 bool update_popup) OVERRIDE; | 107 bool update_popup) OVERRIDE; |
| 108 virtual void SetWindowTextAndCaretPos(const string16& text, | 108 virtual void SetWindowTextAndCaretPos(const string16& text, |
| 109 size_t caret_pos) OVERRIDE; | 109 size_t caret_pos, |
| 110 bool update_popup, |
| 111 bool notify_text_changed) OVERRIDE; |
| 110 virtual void SetForcedQuery() OVERRIDE; | 112 virtual void SetForcedQuery() OVERRIDE; |
| 111 virtual bool IsSelectAll() OVERRIDE; | 113 virtual bool IsSelectAll() OVERRIDE; |
| 112 virtual bool DeleteAtEndPressed() OVERRIDE; | 114 virtual bool DeleteAtEndPressed() OVERRIDE; |
| 113 virtual void GetSelectionBounds(string16::size_type* start, | 115 virtual void GetSelectionBounds(string16::size_type* start, |
| 114 string16::size_type* end) const OVERRIDE; | 116 string16::size_type* end) const OVERRIDE; |
| 115 virtual void SelectAll(bool reversed) OVERRIDE; | 117 virtual void SelectAll(bool reversed) OVERRIDE; |
| 116 virtual void RevertAll() OVERRIDE; | 118 virtual void RevertAll() OVERRIDE; |
| 117 virtual void UpdatePopup() OVERRIDE; | 119 virtual void UpdatePopup() OVERRIDE; |
| 118 virtual void ClosePopup() OVERRIDE; | 120 virtual void ClosePopup() OVERRIDE; |
| 119 virtual void SetFocus() OVERRIDE; | 121 virtual void SetFocus() OVERRIDE; |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 // The view that is going to be focused next. Only valid while handling | 522 // The view that is going to be focused next. Only valid while handling |
| 521 // "focus-out" events. | 523 // "focus-out" events. |
| 522 GtkWidget* going_to_focus_; | 524 GtkWidget* going_to_focus_; |
| 523 | 525 |
| 524 ui::GtkSignalRegistrar signals_; | 526 ui::GtkSignalRegistrar signals_; |
| 525 | 527 |
| 526 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 528 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
| 527 }; | 529 }; |
| 528 | 530 |
| 529 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 531 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
| OLD | NEW |