Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: chrome/browser/ui/cocoa/panels/display_settings_provider_cocoa.mm

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/login_prompt_cocoa.mm ('k') | chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698