diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 02:45:52 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 02:45:52 +0000 |
commit | f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8 (patch) | |
tree | 3bca9c7a2c36af1c29ae37e0668be3ee1849356a /chrome/browser/plugin_process_host_mac.cc | |
parent | ad27b85ef15c7446744911b776a733842f8e9206 (diff) | |
download | chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.zip chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.gz chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.bz2 |
Rename ChromeThread to BrowserThread Part15:
- Rename entries in more 40 files under chrome/browser.
BUG=56926
TEST=trybots
Review URL: http://codereview.chromium.org/3704001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host_mac.cc')
-rw-r--r-- | chrome/browser/plugin_process_host_mac.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chrome/browser/plugin_process_host_mac.cc b/chrome/browser/plugin_process_host_mac.cc index 8182a3c..0ed0565 100644 --- a/chrome/browser/plugin_process_host_mac.cc +++ b/chrome/browser/plugin_process_host_mac.cc @@ -42,8 +42,8 @@ void PluginProcessHost::OnPluginShowWindow(uint32 window_id, // the main display, hide the menubar so that it has the whole screen. // (but only if we haven't already seen this fullscreen window, since // otherwise our refcounting can get skewed). - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableFunction(mac_util::RequestFullScreen, mac_util::kFullScreenModeHideAll)); } @@ -75,27 +75,27 @@ void PluginProcessHost::OnPluginHideWindow(uint32 window_id, plugin_fullscreen_windows_set_.erase(window_id); pid_t plugin_pid = browser_needs_activation ? -1 : handle(); browser_needs_activation = false; - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableFunction(ReleasePluginFullScreen, plugin_pid)); } if (browser_needs_activation) { - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableFunction(mac_util::ActivateProcess, base::GetCurrentProcId())); } } void PluginProcessHost::OnAppActivation() { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); // If our plugin process has any modal windows up, we need to bring it forward // so that they act more like an in-process modal window would. if (!plugin_modal_windows_set_.empty()) { - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableFunction(mac_util::ActivateProcess, handle())); } } @@ -103,8 +103,8 @@ void PluginProcessHost::OnAppActivation() { void PluginProcessHost::OnPluginSetCursorVisibility(bool visible) { if (plugin_cursor_visible_ != visible) { plugin_cursor_visible_ = visible; - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableFunction(mac_util::SetCursorVisibility, visible)); } |