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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/browser/renderer_host/dip_util.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/bind.h" 11 #include "base/bind.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/mac/mac_util.h" 13 #include "base/mac/mac_util.h"
14 #include "content/browser/browser_child_process_host_impl.h" 14 #include "content/browser/browser_child_process_host_impl.h"
15 #include "content/browser/plugin_process_host.h" 15 #include "content/browser/plugin_process_host.h"
16 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 #include "content/public/browser/child_process_data.h" 17 #include "content/public/browser/child_process_data.h"
18 #include "ui/gfx/rect.h" 18 #include "ui/gfx/geometry/rect.h"
19 19
20 namespace content { 20 namespace content {
21 21
22 void PluginProcessHost::OnPluginShowWindow(uint32 window_id, 22 void PluginProcessHost::OnPluginShowWindow(uint32 window_id,
23 gfx::Rect window_rect, 23 gfx::Rect window_rect,
24 bool modal) { 24 bool modal) {
25 plugin_visible_windows_set_.insert(window_id); 25 plugin_visible_windows_set_.insert(window_id);
26 if (modal) 26 if (modal)
27 plugin_modal_windows_set_.insert(window_id); 27 plugin_modal_windows_set_.insert(window_id);
28 CGRect window_bounds = { 28 CGRect window_bounds = {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void PluginProcessHost::OnPluginSetCursorVisibility(bool visible) { 97 void PluginProcessHost::OnPluginSetCursorVisibility(bool visible) {
98 if (plugin_cursor_visible_ != visible) { 98 if (plugin_cursor_visible_ != visible) {
99 plugin_cursor_visible_ = visible; 99 plugin_cursor_visible_ = visible;
100 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, 100 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
101 base::Bind(base::mac::SetCursorVisibility, 101 base::Bind(base::mac::SetCursorVisibility,
102 visible)); 102 visible));
103 } 103 }
104 } 104 }
105 105
106 } // namespace content 106 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/browser/renderer_host/dip_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698