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

Side by Side Diff: content/child/npapi/webplugin_delegate_impl_mac.mm

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/child/npapi/plugin_host.cc ('k') | content/common/mac/font_loader.mm » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/child/npapi/webplugin_delegate_impl.h" 5 #include "content/child/npapi/webplugin_delegate_impl.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #import <QuartzCore/QuartzCore.h> 8 #import <QuartzCore/QuartzCore.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 10
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/mac/mac_util.h"
15 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
16 #include "base/metrics/stats_counters.h" 15 #include "base/metrics/stats_counters.h"
17 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
18 #include "base/strings/sys_string_conversions.h" 17 #include "base/strings/sys_string_conversions.h"
19 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
20 #include "content/child/npapi/plugin_instance.h" 19 #include "content/child/npapi/plugin_instance.h"
21 #include "content/child/npapi/plugin_lib.h" 20 #include "content/child/npapi/plugin_lib.h"
22 #include "content/child/npapi/plugin_web_event_converter_mac.h" 21 #include "content/child/npapi/plugin_web_event_converter_mac.h"
23 #include "content/child/npapi/webplugin.h" 22 #include "content/child/npapi/webplugin.h"
24 #include "content/child/npapi/webplugin_accelerated_surface_mac.h" 23 #include "content/child/npapi/webplugin_accelerated_surface_mac.h"
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 window_rect_.width(), window_rect_.height())]; 718 window_rect_.width(), window_rect_.height())];
720 [CATransaction commit]; 719 [CATransaction commit];
721 720
722 [renderer_ setBounds:[layer_ bounds]]; 721 [renderer_ setBounds:[layer_ bounds]];
723 surface_->SetSize(window_rect_.size()); 722 surface_->SetSize(window_rect_.size());
724 // Kick off the drawing timer, if necessary. 723 // Kick off the drawing timer, if necessary.
725 PluginVisibilityChanged(); 724 PluginVisibilityChanged();
726 } 725 }
727 726
728 } // namespace content 727 } // namespace content
OLDNEW
« no previous file with comments | « content/child/npapi/plugin_host.cc ('k') | content/common/mac/font_loader.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698