| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/views/exclusive_access_bubble_views.h" | 5 #include "chrome/browser/ui/views/exclusive_access_bubble_views.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 8 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "build/build_config.h" |
| 10 #include "chrome/app/chrome_command_ids.h" | 12 #include "chrome/app/chrome_command_ids.h" |
| 11 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
| 12 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" | 14 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" |
| 13 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" | 15 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" |
| 14 #include "chrome/browser/ui/views/exclusive_access_bubble_views_context.h" | 16 #include "chrome/browser/ui/views/exclusive_access_bubble_views_context.h" |
| 15 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 17 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
| 16 #include "chrome/browser/ui/views/frame/top_container_view.h" | 18 #include "chrome/browser/ui/views/frame/top_container_view.h" |
| 17 #include "chrome/grit/generated_resources.h" | 19 #include "chrome/grit/generated_resources.h" |
| 18 #include "content/public/browser/notification_service.h" | 20 #include "content/public/browser/notification_service.h" |
| 19 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 const content::NotificationDetails& details) { | 655 const content::NotificationDetails& details) { |
| 654 DCHECK_EQ(chrome::NOTIFICATION_FULLSCREEN_CHANGED, type); | 656 DCHECK_EQ(chrome::NOTIFICATION_FULLSCREEN_CHANGED, type); |
| 655 UpdateForImmersiveState(); | 657 UpdateForImmersiveState(); |
| 656 } | 658 } |
| 657 | 659 |
| 658 void ExclusiveAccessBubbleViews::OnWidgetVisibilityChanged( | 660 void ExclusiveAccessBubbleViews::OnWidgetVisibilityChanged( |
| 659 views::Widget* widget, | 661 views::Widget* widget, |
| 660 bool visible) { | 662 bool visible) { |
| 661 UpdateMouseWatcher(); | 663 UpdateMouseWatcher(); |
| 662 } | 664 } |
| OLD | NEW |