OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_LOCATION_BAR_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 WindowOpenDisposition disposition, | 103 WindowOpenDisposition disposition, |
104 PageTransition::Type transition, | 104 PageTransition::Type transition, |
105 const GURL& alternate_nav_url); | 105 const GURL& alternate_nav_url); |
106 virtual void OnChanged(); | 106 virtual void OnChanged(); |
107 virtual void OnSelectionBoundsChanged(); | 107 virtual void OnSelectionBoundsChanged(); |
108 virtual void OnKillFocus(); | 108 virtual void OnKillFocus(); |
109 virtual void OnSetFocus(); | 109 virtual void OnSetFocus(); |
110 virtual void OnInputInProgress(bool in_progress); | 110 virtual void OnInputInProgress(bool in_progress); |
111 virtual SkBitmap GetFavIcon() const; | 111 virtual SkBitmap GetFavIcon() const; |
112 virtual std::wstring GetTitle() const; | 112 virtual std::wstring GetTitle() const; |
| 113 virtual bool IsKeywordHintVisible() const; |
113 | 114 |
114 // Implement the LocationBar interface. | 115 // Implement the LocationBar interface. |
115 virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type); | 116 virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type); |
116 virtual void SetSuggestedText(const string16& text); | 117 virtual void SetSuggestedText(const string16& text); |
117 virtual std::wstring GetInputString() const; | 118 virtual std::wstring GetInputString() const; |
118 virtual WindowOpenDisposition GetWindowOpenDisposition() const; | 119 virtual WindowOpenDisposition GetWindowOpenDisposition() const; |
119 virtual PageTransition::Type GetPageTransition() const; | 120 virtual PageTransition::Type GetPageTransition() const; |
120 virtual void AcceptInput(); | 121 virtual void AcceptInput(); |
121 virtual void FocusLocation(bool select_all); | 122 virtual void FocusLocation(bool select_all); |
122 virtual void FocusSearch(); | 123 virtual void FocusSearch(); |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 // The last search keyword that was shown via the |tab_to_search_box_|. | 427 // The last search keyword that was shown via the |tab_to_search_box_|. |
427 std::wstring last_keyword_; | 428 std::wstring last_keyword_; |
428 | 429 |
429 // True if we should update the instant controller when the edit text changes. | 430 // True if we should update the instant controller when the edit text changes. |
430 bool update_instant_; | 431 bool update_instant_; |
431 | 432 |
432 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 433 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
433 }; | 434 }; |
434 | 435 |
435 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 436 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
OLD | NEW |