Chromium Code Reviews
DescriptionMacViews: Enable AppleScript support.
AppleScript support is not depended on UI implementation. And for enable
it, add related files into compilation and convert related tests based
on CocoaProfileTest into "Browser Tests". As result the
BrowserCrApplication interface will be extended to support AppleScript
(see cocoa/applescript/browsercrapplication+applescript.h(mm) files)
For test this - run next script in "Script Editor" on Mac:
tell application "Chromium"
get windows
end tell
Without this patch we receive the error.
With it, the script works fine.
BUG=697229
Review-Url: https://codereview.chromium.org/2724603002
Cr-Commit-Position: refs/heads/master@{#455062}
Committed: https://chromium.googlesource.com/chromium/src/+/2b9b8af34eb0188a1684464d1d9ff0528c9234e5
Patch Set 1 #Patch Set 2 : Fix compilation #Patch Set 3 : MacViews: Enable AppleScript support. #Patch Set 4 : Fix tests. #Patch Set 5 : Fix tests. #
Total comments: 7
Patch Set 6 : MacViews: Enable AppleScript support. #
Total comments: 6
Patch Set 7 : MacViews: Enable AppleScript support. #Messages
Total messages: 46 (28 generated)
|