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/fullscreen_exit_bubble_views.h" | 5 #include "chrome/browser/ui/views/fullscreen_exit_bubble_views.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
10 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" | 10 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" |
11 #include "chrome/browser/ui/views/frame/browser_view.h" | 11 #include "chrome/browser/ui/views/frame/browser_view.h" |
12 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 12 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
13 #include "chrome/browser/ui/views/frame/top_container_view.h" | 13 #include "chrome/browser/ui/views/frame/top_container_view.h" |
14 #include "chrome/common/chrome_notification_types.h" | 14 #include "chrome/common/chrome_notification_types.h" |
15 #include "content/public/browser/notification_service.h" | 15 #include "content/public/browser/notification_service.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "grit/ui_strings.h" | 18 #include "grit/ui_strings.h" |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 const content::NotificationDetails& details) { | 514 const content::NotificationDetails& details) { |
515 DCHECK_EQ(chrome::NOTIFICATION_FULLSCREEN_CHANGED, type); | 515 DCHECK_EQ(chrome::NOTIFICATION_FULLSCREEN_CHANGED, type); |
516 UpdateForImmersiveState(); | 516 UpdateForImmersiveState(); |
517 } | 517 } |
518 | 518 |
519 void FullscreenExitBubbleViews::OnWidgetVisibilityChanged( | 519 void FullscreenExitBubbleViews::OnWidgetVisibilityChanged( |
520 views::Widget* widget, | 520 views::Widget* widget, |
521 bool visible) { | 521 bool visible) { |
522 UpdateMouseWatcher(); | 522 UpdateMouseWatcher(); |
523 } | 523 } |
OLD | NEW |