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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 7329003: Revert 91761 - GTK: More 2.18 goodness. Move from macros to real accessor functions. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/gtk_util.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/location_bar_view_gtk.h
===================================================================
--- chrome/browser/ui/gtk/location_bar_view_gtk.h (revision 91773)
+++ chrome/browser/ui/gtk/location_bar_view_gtk.h (working copy)
@@ -157,7 +157,7 @@
void set_profile(Profile* profile) { profile_ = profile; }
- bool IsVisible();
+ bool IsVisible() { return GTK_WIDGET_VISIBLE(widget()); }
void UpdateFromTabContents(TabContents* tab_contents);
// Overridden from ui::AnimationDelegate:
@@ -228,7 +228,7 @@
preview_enabled_ = preview_enabled;
}
- bool IsVisible();
+ bool IsVisible() { return GTK_WIDGET_VISIBLE(widget()); }
// Called to notify the PageAction that it should determine whether to be
// visible or hidden. |contents| is the TabContents that is active, |url|
Property changes on: chrome/browser/ui/gtk/location_bar_view_gtk.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/ui/gtk/gtk_util.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