| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 virtual std::wstring GetTitle() const; | 52 virtual std::wstring GetTitle() const; |
| 53 | 53 |
| 54 // Implement the LocationBar interface. | 54 // Implement the LocationBar interface. |
| 55 virtual void ShowFirstRunBubble(); | 55 virtual void ShowFirstRunBubble(); |
| 56 virtual std::wstring GetInputString() const; | 56 virtual std::wstring GetInputString() const; |
| 57 virtual WindowOpenDisposition GetWindowOpenDisposition() const; | 57 virtual WindowOpenDisposition GetWindowOpenDisposition() const; |
| 58 virtual PageTransition::Type GetPageTransition() const; | 58 virtual PageTransition::Type GetPageTransition() const; |
| 59 virtual void AcceptInput(); | 59 virtual void AcceptInput(); |
| 60 virtual void FocusLocation(); | 60 virtual void FocusLocation(); |
| 61 virtual void FocusSearch(); | 61 virtual void FocusSearch(); |
| 62 virtual void UpdateFeedIcon(); |
| 62 virtual void SaveStateToContents(TabContents* contents); | 63 virtual void SaveStateToContents(TabContents* contents); |
| 63 | 64 |
| 64 private: | 65 private: |
| 65 // The outermost widget we want to be hosted. | 66 // The outermost widget we want to be hosted. |
| 66 GtkWidget* outer_bin_; | 67 GtkWidget* outer_bin_; |
| 67 | 68 |
| 68 // This is the widget you probably care about, our inner vbox (inside the | 69 // This is the widget you probably care about, our inner vbox (inside the |
| 69 // the border) which holds the elements inside the location bar. | 70 // the border) which holds the elements inside the location bar. |
| 70 GtkWidget* inner_vbox_; | 71 GtkWidget* inner_vbox_; |
| 71 | 72 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 83 // The user's desired disposition for how their input should be opened | 84 // The user's desired disposition for how their input should be opened |
| 84 WindowOpenDisposition disposition_; | 85 WindowOpenDisposition disposition_; |
| 85 | 86 |
| 86 // The transition type to use for the navigation | 87 // The transition type to use for the navigation |
| 87 PageTransition::Type transition_; | 88 PageTransition::Type transition_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 90 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 93 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |