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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/mac/mac_util.h" | |
7 #include "base/memory/weak_ptr.h" | 6 #include "base/memory/weak_ptr.h" |
8 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
9 #import "chrome/browser/app_controller_mac.h" | 8 #import "chrome/browser/app_controller_mac.h" |
10 #include "chrome/browser/chrome_notification_types.h" | 9 #include "chrome/browser/chrome_notification_types.h" |
11 #include "chrome/browser/fullscreen.h" | 10 #include "chrome/browser/fullscreen.h" |
12 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/browser_window.h" | 12 #include "chrome/browser/ui/browser_window.h" |
14 #include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h" | 13 #include "chrome/browser/ui/cocoa/last_active_browser_cocoa.h" |
15 #include "chrome/browser/ui/panels/display_settings_provider.h" | 14 #include "chrome/browser/ui/panels/display_settings_provider.h" |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 PERFORM_FULLSCREEN_CHECK), | 143 PERFORM_FULLSCREEN_CHECK), |
145 base::TimeDelta::FromMilliseconds(kCheckFullScreenDelayTimeMs)); | 144 base::TimeDelta::FromMilliseconds(kCheckFullScreenDelayTimeMs)); |
146 } | 145 } |
147 | 146 |
148 } // namespace | 147 } // namespace |
149 | 148 |
150 // static | 149 // static |
151 DisplaySettingsProvider* DisplaySettingsProvider::Create() { | 150 DisplaySettingsProvider* DisplaySettingsProvider::Create() { |
152 return new DisplaySettingsProviderCocoa(); | 151 return new DisplaySettingsProviderCocoa(); |
153 } | 152 } |
OLD | NEW |