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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
Index: chrome/browser/ui/views/extensions/extension_installed_bubble.cc
===================================================================
--- chrome/browser/ui/views/extensions/extension_installed_bubble.cc (revision 86083)
+++ chrome/browser/ui/views/extensions/extension_installed_bubble.cc (working copy)
@@ -315,9 +315,9 @@
// If the view is not visible then it is in the chevron, so point the
// install bubble to the chevron instead. If this is an incognito window,
// both could be invisible.
- if (!reference_view || !reference_view->IsVisible()) {
+ if (!reference_view || !reference_view->visible()) {
reference_view = container->chevron();
- if (!reference_view || !reference_view->IsVisible())
+ if (!reference_view || !reference_view->visible())
reference_view = NULL; // fall back to app menu below.
}
} else if (type_ == PAGE_ACTION) {
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_view.cc ('k') | chrome/browser/ui/views/extensions/extension_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698