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

Issue 2724603002: MacViews: Enable AppleScript support. (Closed)

Created:
3 years, 9 months ago by snake
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: 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)
snake
3 years, 9 months ago (2017-02-28 14:08:32 UTC) #4
snake
3 years, 9 months ago (2017-02-28 14:43:13 UTC) #7
pink (ping after 24hrs)
+ellyjones for macviews
3 years, 9 months ago (2017-02-28 15:07:10 UTC) #11
Elly Fong-Jones
On 2017/02/28 15:07:10, pink wrote: > +ellyjones for macviews This CL doesn't compile right now ...
3 years, 9 months ago (2017-02-28 15:48:31 UTC) #12
snake
On 2017/02/28 15:48:31, Elly Fong-Jones wrote: > On 2017/02/28 15:07:10, pink wrote: > > +ellyjones ...
3 years, 9 months ago (2017-02-28 16:03:34 UTC) #13
snake
On 2017/02/28 16:03:34, snake wrote: > On 2017/02/28 15:48:31, Elly Fong-Jones wrote: > > On ...
3 years, 9 months ago (2017-02-28 16:29:43 UTC) #14
tapted
I added BUG=697229 and wrapped your CL description. This all looks good, but we should ...
3 years, 9 months ago (2017-02-28 23:08:39 UTC) #16
snake
the mac_chromium_10.10_macviews build is hanging in sheduled state the much of time (((
3 years, 9 months ago (2017-03-01 19:11:23 UTC) #25
tapted
On 2017/03/01 19:11:23, snake wrote: > the mac_chromium_10.10_macviews build is hanging in sheduled state the ...
3 years, 9 months ago (2017-03-01 22:39:00 UTC) #27
snake
All apple script tests passed.
3 years, 9 months ago (2017-03-02 11:00:07 UTC) #29
tapted
On 2017/03/02 11:00:07, snake wrote: > All apple script tests passed. Converting to a browser_test ...
3 years, 9 months ago (2017-03-02 23:16:52 UTC) #30
tapted
also make sure you summarise the changes needed to get the tests working in the ...
3 years, 9 months ago (2017-03-02 23:17:17 UTC) #31
snake
Also i did try to use: 1) ScopedViewsTestHelper in BookmarkAppleScriptTest. But i have problems with ...
3 years, 9 months ago (2017-03-06 12:53:35 UTC) #34
snake
MacViews compilation is broken again(( Fix for this: https://codereview.chromium.org/2737523002
3 years, 9 months ago (2017-03-06 13:59:07 UTC) #37
tapted
lgtm with the following https://codereview.chromium.org/2724603002/diff/80001/chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_browsertest.mm File chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_browsertest.mm (right): https://codereview.chromium.org/2724603002/diff/80001/chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_browsertest.mm#newcode5 chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_browsertest.mm:5: #import "chrome/browser/ui/cocoa/applescript/bookmark_applescript_utils_browsertest.h" On 2017/03/06 12:53:34, ...
3 years, 9 months ago (2017-03-07 07:07:51 UTC) #38
snake
https://codereview.chromium.org/2724603002/diff/100001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2724603002/diff/100001/chrome/browser/ui/BUILD.gn#newcode1 chrome/browser/ui/BUILD.gn:1: # Copyright 2014 The Chromium Authors. All rights reserved. ...
3 years, 9 months ago (2017-03-07 12:03:25 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2724603002/120001
3 years, 9 months ago (2017-03-07 12:04:01 UTC) #43
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 13:44:13 UTC) #46
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/2b9b8af34eb0188a1684464d1d9f...

Powered by Google App Engine
This is Rietveld 408576698