Mac: Fix errors in binary distribution.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@833 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-10-02 18:29:11 +00:00
parent 91cde9eeb0
commit ecf5ff4c6e
2 changed files with 6 additions and 3 deletions

View File

@ -593,10 +593,11 @@ class ClientOSRHandler : public CefClient,
- (NSPoint)getClickPointForEvent:(NSEvent*)event {
NSPoint windowLocal = [event locationInWindow];
NSPoint contentLocal = [self convertPoint:windowLocal fromView:nil];
int x = contentLocal.x;
int y = [self frame].size.height - contentLocal.y; // Flip y.
return {x,y};
NSPoint point;
point.x = contentLocal.x;
point.y = [self frame].size.height - contentLocal.y; // Flip y.
return point;
}
- (void)getKeyInfo:(CefKeyInfo&)info forEvent:(NSEvent*)event {

View File

@ -347,6 +347,8 @@ elif platform == 'macosx':
# transfer cefclient files
transfer_gypi_files(cef_dir, cef_paths2['cefclient_sources_mac'], \
'tests/cefclient/', cefclient_dir, options.quiet)
transfer_gypi_files(cef_dir, cef_paths2['cefclient_bundle_resources_mac'], \
'tests/cefclient/', cefclient_dir, options.quiet)
# transfer cefclient/mac files
copy_dir(os.path.join(cef_dir, 'tests/cefclient/mac/'), os.path.join(output_dir, 'cefclient/mac/'), \