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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 189513007: Anchor the high contrast bubble to the app menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Anchor the high contrast bubble to the app menu. Created 6 years, 9 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/views/accessibility/invert_bubble_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 4ca5f165aa7fea5c8dd498e17a1d276731f0c60b..72030f8ebe82779110c72e18f031332c754c9e4a 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -695,13 +695,12 @@ void BrowserView::Show() {
browser()->OnWindowDidShow();
- chrome::MaybeShowInvertBubbleView(browser_.get(), contents_container_);
+ chrome::MaybeShowInvertBubbleView(this);
}
void BrowserView::ShowInactive() {
- if (frame_->IsVisible())
- return;
- frame_->ShowInactive();
+ if (!frame_->IsVisible())
+ frame_->ShowInactive();
}
void BrowserView::Hide() {
@@ -1925,7 +1924,7 @@ bool BrowserView::DrawInfoBarArrows(int* x) const {
}
void BrowserView::OnSysColorChange() {
- chrome::MaybeShowInvertBubbleView(browser_.get(), contents_container_);
+ chrome::MaybeShowInvertBubbleView(this);
}
void BrowserView::InitViews() {
« no previous file with comments | « chrome/browser/ui/views/accessibility/invert_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698