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

Unified Diff: chrome/browser/plugin_process_host.cc

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/platform_util_mac.mm ('k') | chrome/browser/plugin_process_host_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_process_host.cc
===================================================================
--- chrome/browser/plugin_process_host.cc (revision 70358)
+++ chrome/browser/plugin_process_host.cc (working copy)
@@ -48,7 +48,7 @@
#endif
#if defined(OS_MACOSX)
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "chrome/common/plugin_carbon_interpose_constants_mac.h"
#include "gfx/rect.h"
#endif
@@ -148,22 +148,22 @@
window_index != plugin_fullscreen_windows_set_.end();
window_index++) {
if (BrowserThread::CurrentlyOn(BrowserThread::UI)) {
- mac_util::ReleaseFullScreen(mac_util::kFullScreenModeHideAll);
+ base::mac::ReleaseFullScreen(base::mac::kFullScreenModeHideAll);
} else {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableFunction(mac_util::ReleaseFullScreen,
- mac_util::kFullScreenModeHideAll));
+ NewRunnableFunction(base::mac::ReleaseFullScreen,
+ base::mac::kFullScreenModeHideAll));
}
}
// If the plugin hid the cursor, reset that.
if (!plugin_cursor_visible_) {
if (BrowserThread::CurrentlyOn(BrowserThread::UI)) {
- mac_util::SetCursorVisibility(true);
+ base::mac::SetCursorVisibility(true);
} else {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableFunction(mac_util::SetCursorVisibility,
+ NewRunnableFunction(base::mac::SetCursorVisibility,
true));
}
}
« no previous file with comments | « chrome/browser/platform_util_mac.mm ('k') | chrome/browser/plugin_process_host_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698