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

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

Issue 7227027: GTK: More 2.18 goodness. Move from macros to real accessor functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove views/ 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
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
index 75c981a1d612876e1e4572bc3615368a045e2a00..f76373c9cbbbff3ac22ce5df51074b3136c56410 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
@@ -157,7 +157,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
void set_profile(Profile* profile) { profile_ = profile; }
- bool IsVisible() { return GTK_WIDGET_VISIBLE(widget()); }
+ bool IsVisible();
void UpdateFromTabContents(TabContents* tab_contents);
// Overridden from ui::AnimationDelegate:
@@ -228,7 +228,7 @@ class LocationBarViewGtk : public AutocompleteEditController,
preview_enabled_ = preview_enabled;
}
- bool IsVisible() { return GTK_WIDGET_VISIBLE(widget()); }
+ bool IsVisible();
// Called to notify the PageAction that it should determine whether to be
// visible or hidden. |contents| is the TabContents that is active, |url|
« 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