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

Unified Diff: ash/wm/maximize_bubble_controller.cc

Issue 10836182: Obfuscated Gaia ID fetcher (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase to master Created 8 years, 4 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: ash/wm/maximize_bubble_controller.cc
diff --git a/ash/wm/maximize_bubble_controller.cc b/ash/wm/maximize_bubble_controller.cc
index 4fa2e91e92e3fef4825b2e152e2163c46c60c9e2..5d3aee032c7938d64731d00e4d0bb2abe90d96af 100644
--- a/ash/wm/maximize_bubble_controller.cc
+++ b/ash/wm/maximize_bubble_controller.cc
@@ -223,6 +223,7 @@ class MaximizeBubbleController::Bubble : public views::BubbleDelegateView,
// Overridden from views::BubbleDelegateView.
virtual gfx::Rect GetAnchorRect() OVERRIDE;
virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
+ virtual bool CanActivate() const OVERRIDE { return false; }
// Overridden from views::WidgetDelegateView.
virtual bool HasHitTestMask() const OVERRIDE;
@@ -410,6 +411,7 @@ MaximizeBubbleController::Bubble::Bubble(
// Note that the returned widget has an observer which points to our
// functions.
bubble_widget_ = views::BubbleDelegateView::CreateBubble(this);
+ bubble_widget_->set_focus_on_creation(false);
SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE);
bubble_widget_->non_client_view()->frame_view()->set_background(NULL);

Powered by Google App Engine
This is Rietveld 408576698