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

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

Issue 8915007: views: Rename IsVisibleInRootView() to IsDrawn(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
index 81f1c33f0722d7ad047fcf2b89df4fb667721fed..8e9a1ca8648cef248d09759c9606d34f7fb4af60 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
@@ -341,7 +341,7 @@ void ExtensionInstalledBubble::ShowInternal() {
if (browser_view->IsTabStripVisible()) {
AbstractTabStripView* tabstrip = browser_view->tabstrip();
views::View* ntp_button = tabstrip->GetNewTabButton();
- if (ntp_button && ntp_button->IsVisibleInRootView()) {
+ if (ntp_button && ntp_button->IsDrawn()) {
reference_view = ntp_button;
} else {
// Just have the bubble point at the tab strip.
« no previous file with comments | « chrome/browser/chromeos/status/status_area_view_browsertest.cc ('k') | ui/views/controls/native/native_view_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698