| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "chrome/browser/chromeos/ui/idle_app_name_notification_view.h" | 5 #include "chrome/browser/chromeos/ui/idle_app_name_notification_view.h" | 
| 6 | 6 | 
| 7 #include <string> | 7 #include <string> | 
| 8 | 8 | 
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" | 
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" | 
| 11 #include "ash/shell_window_ids.h" | 11 #include "ash/shell_window_ids.h" | 
| 12 #include "ash/wm/window_animations.h" | 12 #include "ash/wm/window_animations.h" | 
|  | 13 #include "base/macros.h" | 
| 13 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" | 
| 14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" | 
| 15 #include "base/time/time.h" | 16 #include "base/time/time.h" | 
| 16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" | 
| 17 #include "chrome/grit/generated_resources.h" | 18 #include "chrome/grit/generated_resources.h" | 
| 18 #include "extensions/common/extension.h" | 19 #include "extensions/common/extension.h" | 
| 19 #include "ui/accessibility/ax_view_state.h" | 20 #include "ui/accessibility/ax_view_state.h" | 
| 20 #include "ui/aura/window.h" | 21 #include "ui/aura/window.h" | 
| 21 #include "ui/base/l10n/l10n_util.h" | 22 #include "ui/base/l10n/l10n_util.h" | 
| 22 #include "ui/base/resource/resource_bundle.h" | 23 #include "ui/base/resource/resource_bundle.h" | 
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 264 | 265 | 
| 265   view_ = new IdleAppNameNotificationDelegateView( | 266   view_ = new IdleAppNameNotificationDelegateView( | 
| 266       this, | 267       this, | 
| 267       app_name, | 268       app_name, | 
| 268       error, | 269       error, | 
| 269       message_visibility_time_in_ms + animation_time_ms); | 270       message_visibility_time_in_ms + animation_time_ms); | 
| 270   CreateAndShowWidgetWithContent(view_, view_, animation_time_ms); | 271   CreateAndShowWidgetWithContent(view_, view_, animation_time_ms); | 
| 271 } | 272 } | 
| 272 | 273 | 
| 273 }  // namespace chromeos | 274 }  // namespace chromeos | 
| OLD | NEW | 
|---|