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

Issue 10826036: mac: Let Carbon plugin stuff buid with the 10.7 SDK (Closed)

Created:
8 years, 4 months ago by Nico
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, e, Robert Sesek, stuartmorgan
Visibility:
Public.

Description

mac: Let Carbon plugin stuff buid with the 10.7 SDK QuickDraw.h is gone, but the frameworks still exports the symbols on 10.8. So just declare the functions for now, so that we can build with the 10.7 SDK. We can remove Carbon plugin support later. BUG=136844 TEST=none TBR=stuartmorgan,tony Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148647

Patch Set 1 #

Total comments: 6

Patch Set 2 : conditional #

Patch Set 3 : comments #

Total comments: 5

Patch Set 4 : more extern #

Patch Set 5 : better ifdefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -1 line) Patch
M content/plugin/plugin_carbon_interpose_mac.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M content/plugin/plugin_interpose_util_mac.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/webcursor.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webcursor_mac.mm View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl_mac.mm View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nico
8 years, 4 months ago (2012-07-26 22:33:54 UTC) #1
Mark Mentovai
You should test this with the 10.6 SDK too. Where you have a couple of ...
8 years, 4 months ago (2012-07-26 22:41:10 UTC) #2
Nico
Thanks! https://chromiumcodereview.appspot.com/10826036/diff/1/content/plugin/plugin_carbon_interpose_mac.cc File content/plugin/plugin_carbon_interpose_mac.cc (right): https://chromiumcodereview.appspot.com/10826036/diff/1/content/plugin/plugin_carbon_interpose_mac.cc#newcode18 content/plugin/plugin_carbon_interpose_mac.cc:18: extern "C" Boolean PtInRect(Point pt, const Rect* r); ...
8 years, 4 months ago (2012-07-26 22:45:12 UTC) #3
Nico
https://chromiumcodereview.appspot.com/10826036/diff/5002/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm File webkit/plugins/npapi/webplugin_delegate_impl_mac.mm (right): https://chromiumcodereview.appspot.com/10826036/diff/5002/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm#newcode53 webkit/plugins/npapi/webplugin_delegate_impl_mac.mm:53: extern "C" void OffsetRect(Rect* r, short dh, short dv); ...
8 years, 4 months ago (2012-07-26 22:45:47 UTC) #4
Mark Mentovai
https://chromiumcodereview.appspot.com/10826036/diff/5002/content/plugin/plugin_carbon_interpose_mac.cc File content/plugin/plugin_carbon_interpose_mac.cc (right): https://chromiumcodereview.appspot.com/10826036/diff/5002/content/plugin/plugin_carbon_interpose_mac.cc#newcode15 content/plugin/plugin_carbon_interpose_mac.cc:15: #if defined(MAC_OS_X_VERSION_10_7) Since we can’t be sure there aren’t ...
8 years, 4 months ago (2012-07-26 22:49:00 UTC) #5
Nico
all done, thanks https://chromiumcodereview.appspot.com/10826036/diff/5002/content/plugin/plugin_carbon_interpose_mac.cc File content/plugin/plugin_carbon_interpose_mac.cc (right): https://chromiumcodereview.appspot.com/10826036/diff/5002/content/plugin/plugin_carbon_interpose_mac.cc#newcode15 content/plugin/plugin_carbon_interpose_mac.cc:15: #if defined(MAC_OS_X_VERSION_10_7) On 2012/07/26 22:49:00, Mark ...
8 years, 4 months ago (2012-07-26 22:53:46 UTC) #6
Mark Mentovai
LGTM
8 years, 4 months ago (2012-07-26 22:55:44 UTC) #7
Nico
Thanks! On Thu, Jul 26, 2012 at 3:55 PM, <mark@chromium.org> wrote: > LGTM > > ...
8 years, 4 months ago (2012-07-26 22:57:40 UTC) #8
Nico
tony, stuart: OWNERS
8 years, 4 months ago (2012-07-26 23:17:51 UTC) #9
tony
8 years, 4 months ago (2012-07-26 23:19:24 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698