| 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_LOCATION_BAR_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 // Show the zoom bubble. | 102 // Show the zoom bubble. |
| 103 void ShowZoomBubble(int zoom_percent); | 103 void ShowZoomBubble(int zoom_percent); |
| 104 | 104 |
| 105 // Show the bookmark bubble. | 105 // Show the bookmark bubble. |
| 106 void ShowStarBubble(const GURL& url, bool newly_boomkarked); | 106 void ShowStarBubble(const GURL& url, bool newly_boomkarked); |
| 107 | 107 |
| 108 // Shows the Chrome To Mobile bubble. | 108 // Shows the Chrome To Mobile bubble. |
| 109 void ShowChromeToMobileBubble(); | 109 void ShowChromeToMobileBubble(); |
| 110 | 110 |
| 111 // Sets the tooltip for the zoom icon. | 111 void ZoomChangedForActiveTab(bool can_show_bubble); |
| 112 void SetZoomIconTooltipPercent(int zoom_percent); | |
| 113 | |
| 114 // Sets the zoom icon state. | |
| 115 void SetZoomIconState(ZoomController::ZoomIconState zoom_icon_state); | |
| 116 | 112 |
| 117 // Set the starred state of the bookmark star. | 113 // Set the starred state of the bookmark star. |
| 118 void SetStarred(bool starred); | 114 void SetStarred(bool starred); |
| 119 | 115 |
| 120 // OmniboxEditController: | 116 // OmniboxEditController: |
| 121 virtual void OnAutocompleteAccept(const GURL& url, | 117 virtual void OnAutocompleteAccept(const GURL& url, |
| 122 WindowOpenDisposition disposition, | 118 WindowOpenDisposition disposition, |
| 123 content::PageTransition transition, | 119 content::PageTransition transition, |
| 124 const GURL& alternate_nav_url) OVERRIDE; | 120 const GURL& alternate_nav_url) OVERRIDE; |
| 125 virtual void OnChanged() OVERRIDE; | 121 virtual void OnChanged() OVERRIDE; |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 // The last search keyword that was shown via the |tab_to_search_box_|. | 532 // The last search keyword that was shown via the |tab_to_search_box_|. |
| 537 string16 last_keyword_; | 533 string16 last_keyword_; |
| 538 | 534 |
| 539 // Used to change the visibility of the star decoration. | 535 // Used to change the visibility of the star decoration. |
| 540 BooleanPrefMember edit_bookmarks_enabled_; | 536 BooleanPrefMember edit_bookmarks_enabled_; |
| 541 | 537 |
| 542 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 538 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 543 }; | 539 }; |
| 544 | 540 |
| 545 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 541 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |