Index: content/plugin/plugin_carbon_interpose_mac.cc |
diff --git a/content/plugin/plugin_carbon_interpose_mac.cc b/content/plugin/plugin_carbon_interpose_mac.cc |
index 20a7d543aee12ee364f7b2b74bdb2832d10d89cf..67190d283cc42aef9a0831dacf1dde06fd179482 100644 |
--- a/content/plugin/plugin_carbon_interpose_mac.cc |
+++ b/content/plugin/plugin_carbon_interpose_mac.cc |
@@ -12,6 +12,16 @@ |
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" |
+#if defined(MAC_OS_X_VERSION_10_7) |
Mark Mentovai
2012/07/26 22:49:00
Since we can’t be sure there aren’t “fixed” versio
Nico
2012/07/26 22:53:46
Done.
|
+// QuickdrawAPI.h is no longer included in the 10.7 SDK, but the symbols are |
+// still exported by QD.framework (a subframework of ApplicationServices). |
+// http://developer.apple.com/legacy/mac/library/documentation/Carbon/reference/QuickDraw_Ref/QuickDraw_Ref.pdf |
+extern "C" { |
+Boolean PtInRect(Point pt, const Rect* r); |
+void SetCursor(const Cursor* crsr); |
+} |
+#endif // defined(MAC_OS_X_VERSION_10_7) |
+ |
// Returns true if the given window is modal. |
static bool IsModalWindow(WindowRef window) { |
WindowModality modality = kWindowModalityNone; |