Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/infobars/infobar_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698