| 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_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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual LocationBarTesting* GetLocationBarForTesting(); | 130 virtual LocationBarTesting* GetLocationBarForTesting(); |
| 131 | 131 |
| 132 // Implement the LocationBarTesting interface. | 132 // Implement the LocationBarTesting interface. |
| 133 virtual int PageActionCount(); | 133 virtual int PageActionCount(); |
| 134 virtual int PageActionVisibleCount(); | 134 virtual int PageActionVisibleCount(); |
| 135 virtual ExtensionAction* GetPageAction(size_t index); | 135 virtual ExtensionAction* GetPageAction(size_t index); |
| 136 virtual ExtensionAction* GetVisiblePageAction(size_t index); | 136 virtual ExtensionAction* GetVisiblePageAction(size_t index); |
| 137 virtual void TestPageActionPressed(size_t index); | 137 virtual void TestPageActionPressed(size_t index); |
| 138 | 138 |
| 139 // Implement the NotificationObserver interface. | 139 // Implement the NotificationObserver interface. |
| 140 virtual void Observe(NotificationType type, | 140 virtual void Observe(int type, |
| 141 const NotificationSource& source, | 141 const NotificationSource& source, |
| 142 const NotificationDetails& details); | 142 const NotificationDetails& details); |
| 143 | 143 |
| 144 // Edit background color. | 144 // Edit background color. |
| 145 static const GdkColor kBackgroundColor; | 145 static const GdkColor kBackgroundColor; |
| 146 | 146 |
| 147 private: | 147 private: |
| 148 class ContentSettingImageViewGtk : public BubbleDelegateGtk, | 148 class ContentSettingImageViewGtk : public BubbleDelegateGtk, |
| 149 public ui::AnimationDelegate { | 149 public ui::AnimationDelegate { |
| 150 public: | 150 public: |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 // The last search keyword that was shown via the |tab_to_search_box_|. | 454 // The last search keyword that was shown via the |tab_to_search_box_|. |
| 455 string16 last_keyword_; | 455 string16 last_keyword_; |
| 456 | 456 |
| 457 // Used to change the visibility of the star decoration. | 457 // Used to change the visibility of the star decoration. |
| 458 BooleanPrefMember edit_bookmarks_enabled_; | 458 BooleanPrefMember edit_bookmarks_enabled_; |
| 459 | 459 |
| 460 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 460 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 461 }; | 461 }; |
| 462 | 462 |
| 463 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 463 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |