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

Unified Diff: chrome/browser/plugin_process_host_mac.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/plugin_process_host.cc ('k') | chrome/browser/renderer_host/backing_store_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_process_host_mac.cc
===================================================================
--- chrome/browser/plugin_process_host_mac.cc (revision 70358)
+++ chrome/browser/plugin_process_host_mac.cc (working copy)
@@ -9,7 +9,7 @@
#include <vector>
#include "base/logging.h"
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "chrome/browser/browser_thread.h"
#include "chrome/browser/plugin_process_host.h"
#include "chrome/common/plugin_messages.h"
@@ -44,8 +44,8 @@
// otherwise our refcounting can get skewed).
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableFunction(mac_util::RequestFullScreen,
- mac_util::kFullScreenModeHideAll));
+ NewRunnableFunction(base::mac::RequestFullScreen,
+ base::mac::kFullScreenModeHideAll));
}
}
@@ -55,10 +55,10 @@
static void ReleasePluginFullScreen(pid_t plugin_pid) {
// Releasing full screen only works if we are the frontmost process; grab
// focus, but give it back to the plugin process if requested.
- mac_util::ActivateProcess(base::GetCurrentProcId());
- mac_util::ReleaseFullScreen(mac_util::kFullScreenModeHideAll);
+ base::mac::ActivateProcess(base::GetCurrentProcId());
+ base::mac::ReleaseFullScreen(base::mac::kFullScreenModeHideAll);
if (plugin_pid != -1) {
- mac_util::ActivateProcess(plugin_pid);
+ base::mac::ActivateProcess(plugin_pid);
}
}
@@ -83,7 +83,7 @@
if (browser_needs_activation) {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableFunction(mac_util::ActivateProcess,
+ NewRunnableFunction(base::mac::ActivateProcess,
base::GetCurrentProcId()));
}
}
@@ -96,7 +96,7 @@
if (!plugin_modal_windows_set_.empty()) {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableFunction(mac_util::ActivateProcess, handle()));
+ NewRunnableFunction(base::mac::ActivateProcess, handle()));
}
}
@@ -105,7 +105,7 @@
plugin_cursor_visible_ = visible;
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
- NewRunnableFunction(mac_util::SetCursorVisibility,
+ NewRunnableFunction(base::mac::SetCursorVisibility,
visible));
}
}
« no previous file with comments | « chrome/browser/plugin_process_host.cc ('k') | chrome/browser/renderer_host/backing_store_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698