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

Side by Side Diff: content/browser/plugin_process_host_mac.cc

Issue 6538111: Move the rest of the core files in chrome\browser to content\browser.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/browser/plugin_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <Carbon/Carbon.h> 5 #include <Carbon/Carbon.h>
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/mac/mac_util.h" 12 #include "base/mac/mac_util.h"
13 #include "chrome/browser/browser_thread.h"
14 #include "chrome/browser/plugin_process_host.h"
15 #include "chrome/common/plugin_messages.h" 13 #include "chrome/common/plugin_messages.h"
14 #include "content/browser/browser_thread.h"
15 #include "content/browser/plugin_process_host.h"
16 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect.h"
17 17
18 void PluginProcessHost::OnPluginSelectWindow(uint32 window_id, 18 void PluginProcessHost::OnPluginSelectWindow(uint32 window_id,
19 gfx::Rect window_rect, 19 gfx::Rect window_rect,
20 bool modal) { 20 bool modal) {
21 plugin_visible_windows_set_.insert(window_id); 21 plugin_visible_windows_set_.insert(window_id);
22 if (modal) 22 if (modal)
23 plugin_modal_windows_set_.insert(window_id); 23 plugin_modal_windows_set_.insert(window_id);
24 } 24 }
25 25
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 void PluginProcessHost::OnPluginSetCursorVisibility(bool visible) { 103 void PluginProcessHost::OnPluginSetCursorVisibility(bool visible) {
104 if (plugin_cursor_visible_ != visible) { 104 if (plugin_cursor_visible_ != visible) {
105 plugin_cursor_visible_ = visible; 105 plugin_cursor_visible_ = visible;
106 BrowserThread::PostTask( 106 BrowserThread::PostTask(
107 BrowserThread::UI, FROM_HERE, 107 BrowserThread::UI, FROM_HERE,
108 NewRunnableFunction(base::mac::SetCursorVisibility, 108 NewRunnableFunction(base::mac::SetCursorVisibility,
109 visible)); 109 visible));
110 } 110 }
111 } 111 }
OLDNEW
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/browser/plugin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698