| Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| index 4d18a83f9d36feeee632cd43d076acfcba56dd8c..3c259c672af0cbc46cbe71a74b7501ca0038a064 100644
|
| --- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| +++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| @@ -170,13 +170,15 @@ gfx::NativeViewId ScreenCaptureNotificationUIViews::OnStarted(
|
|
|
| views::Widget* widget = new views::Widget;
|
|
|
| - views::Widget::InitParams params(views::Widget::InitParams::TYPE_WINDOW);
|
| + views::Widget::InitParams params;
|
| params.delegate = this;
|
| params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
|
| params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
|
| params.remove_standard_frame = true;
|
| params.keep_on_top = true;
|
| params.top_level = true;
|
| + // Make sure can_activate is true so the window icon will show in the taskbar.
|
| + params.can_activate = true;
|
|
|
| #if defined(USE_ASH)
|
| // TODO(sergeyu): The notification bar must be shown on the monitor that's
|
|
|