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..778335f397a8dc20daa637964b501f0b8d2cd3b1 100644 |
--- a/content/plugin/plugin_carbon_interpose_mac.cc |
+++ b/content/plugin/plugin_carbon_interpose_mac.cc |
@@ -12,6 +12,12 @@ |
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" |
+// 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); |
Mark Mentovai
2012/07/26 22:41:10
Wanna wrap this in an SDK macro-checking #if?
Nico
2012/07/26 22:45:12
Done.
|
+extern "C" void SetCursor(const Cursor* crsr); |
+ |
// Returns true if the given window is modal. |
static bool IsModalWindow(WindowRef window) { |
WindowModality modality = kWindowModalityNone; |