0
Commit Graph

107 Commits

Author SHA1 Message Date
d731a3b605 [ios] Update files in docs/ios/objects.md
Replace: ChromeBrowserState => ProfileIOS

Fixed: 373374414
Change-Id: I90f836f5616dc854a562242114f7171f39f0d570
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5928652
Auto-Submit: Federica Germinario <fedegermi@google.com>
Reviewed-by: Mark Cogan <marq@chromium.org>
Commit-Queue: Federica Germinario <fedegermi@google.com>
Cr-Commit-Position: refs/heads/main@{#1368680}
2024-10-15 09:55:29 +00:00
9a1c7773cd ios: Update minimum Xcode version to 16.
Xcode 16 is now required for iOS compiles.

Change-Id: Ia94ae87474f2734cf30a41ac25563408385e9080
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5899385
Reviewed-by: Mike Dougherty <michaeldo@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Auto-Submit: Justin Cohen <justincohen@chromium.org>
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1362689}
2024-10-01 21:37:41 +00:00
d268b28c49 [ios] Convert all uses of ChromeBrowserStateManager
Replaces {ChromeBrowserStateManager => ProfileManagerIOS} in all the
code as the class has been renamed. The test version of the class is
not yet renamed and will be in a followup CL.

Bug: 358356195
Change-Id: Iccb6d857ec0050407facf0d5ed5281411dd6c210
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5821711
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Aliona Dangla <alionadangla@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1347950}
2024-08-28 12:34:37 +00:00
bc93a31b3e [ios] Moves codesign.py to build/config/apple.
Bug: 357881994
Change-Id: I288ba2ce0df913906b219e47a316e3cee5f44ae1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5773664
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Reviewed-by: Ali Hijazi <ahijazi@chromium.org>
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1340371}
2024-08-12 14:28:08 +00:00
fd2dea18d8 [Code Heath] Move ios/c/b/ui/browser_view to ui_bundled
Bug: 324232249
Change-Id: I844f04e68e3d841bb165f7fc7ff9228e5ac7ba66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5626934
Commit-Queue: Nan Lin <linnan@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1315830}
2024-06-17 14:36:12 +00:00
7478af7280 docs: remove goma references
Bug: 41489832
Change-Id: I1dbbb744be749f314dea32d9cf01da0e4a9390ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5569801
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Richard Wang <richardwa@google.com>
Commit-Queue: Richard Wang <richardwa@google.com>
Cr-Commit-Position: refs/heads/main@{#1306295}
2024-05-27 07:23:19 +00:00
c1952db596 iOS: group docs regarding entitlements
Move the paragraph mentioning the need to use the
`com.apple.developer.kernel.extended-virtual-addressing` entitlement to
the section that mentions other required entitlements.

Change-Id: I5de1176dbabd9137c5468f6b258064b44a116279
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5398223
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1279333}
2024-03-27 23:50:03 +00:00
87f93629ff ios: Update build documentation for PA-E on iOS.
Change-Id: Ib4a7ae41ad04dd41781f1431df5c037f5ac6da6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5273487
Auto-Submit: Justin Cohen <justincohen@chromium.org>
Reviewed-by: Ali Juma <ajuma@chromium.org>
Commit-Queue: Ali Juma <ajuma@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256924}
2024-02-06 19:31:26 +00:00
9d51edeafe [ios] Update build instructions with -i for iossim usage
Bug: 1485713
Change-Id: If3e5d2042d73044d635412968a9d5d3502f2a3af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5169523
Reviewed-by: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Gyuyoung Kim <gyuyoung@igalia.com>
Auto-Submit: Tiago Vignatti <tvignatti@igalia.com>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1246761}
2024-01-13 00:11:49 +00:00
4607b3c8d9 Update which identifiers need AutoFill Entitlement
Since https://crrev.com/c/2302169, the main Chromium bundle identifier
also need the AutoFill Credentials Provider entitlement.

Change-Id: I0d5dd955209ad0620a57abe374103f2d403be507
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5185117
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1246717}
2024-01-12 22:55:14 +00:00
54da9cc2df Add/Update external Reclient build instructions
Bug: b/291868532
Change-Id: I54e6225ab01e12141957949d5c8c35b32e5062d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5159847
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1244750}
2024-01-09 17:32:23 +00:00
991d8e2a22 [iOS] Update build instruction
Bump the required version of Xcode to be in line with the
requirements in the code, change the wording of the macOS
version required (to avoid to have to update it each time
the Xcode version is updated) and mention that installing
the iOS simulator is required to build.

Bug: none
Change-Id: Ia823198e652a6731089b0bc111b7afb53324deab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5071155
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1230714}
2023-11-29 17:15:30 +00:00
d8ca0adaab [Code Health][iOS] Move ios/c/b/metrics to model subfolder
To simplify the folder hierarchy on iOS and have a clearer layer
separation, all the files in ios/c/b/<foo>/ will be moved to
ios/c/b/<foo>/model/ to showcase that they are model files.

Bug: 1319852
Low-Coverage-Reason: LARGE_SCALE_REFACTOR Only moves files
Change-Id: I6ce3887be185a8e9af2a155e61da582d3fedef12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5023898
Reviewed-by: Dan H <harringtond@chromium.org>
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Auto-Submit: Stepan Khapugin <stkhapugin@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: Carlos Knippschild <carlosk@chromium.org>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1229862}
2023-11-28 12:49:06 +00:00
dbd08658c8 Update iOS bundle identifiers in build_instructions.md
Update the list of bundle identifiers to account for renames
(SearchToday => Today) and new extensions (Open).

Change-Id: I17f5cfb3adb043df5c753fc1b202e53aaeeb3d10
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5012867
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1222170}
2023-11-09 10:24:54 +00:00
9908ae44de Update docs to remove fsmonitor warning
git fsmonitor is fixed, so remove the warning.

Bug: 1475405
Change-Id: I1e29fa523256bb362560025419fd2a37c246a99a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4902271
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1203311}
2023-09-29 16:31:11 +00:00
9497f0eb82 [iOS] Add Web Tests documentation
This adds documentation how to run web tests on Blink for
iOS. Target audience is developers.

Bug: 1421239
Change-Id: Ifaa47c82bef0f8264e2dbe416beb883cf3e94c0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4864223
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1198197}
2023-09-19 05:32:04 +00:00
9fc006be75 [ios] Fix a typo in docs/ios/objects.md
Change-Id: I3d9247979954067ea9d3910d8dd29d2a36ae6e35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4810216
Auto-Submit: Asami Doi <asamidoi@chromium.org>
Reviewed-by: Federica Germinario <fedegermi@google.com>
Commit-Queue: Asami Doi <asamidoi@chromium.org>
Commit-Queue: Federica Germinario <fedegermi@google.com>
Cr-Commit-Position: refs/heads/main@{#1187781}
2023-08-24 14:11:09 +00:00
eac566b060 Move foundation_util to base/apple, leave a forwarding header
Crashpad is not yet updated for the new location, so leave a
forwarding header to be removed later.

Skipping trybots. This is a Mac change, and it’s passing all
trybots except for android_optional_gpu_tests_rel that is
repeatedly failing on an unrelated issue.

NOTRY=true

Bug: 1444927
Cq-Include-Trybots: luci.chrome.try:mac-chrome
Change-Id: Iad0c903187b0e1e5584c68f2eb00b5b026085596
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4790744
Owners-Override: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1185029}
2023-08-18 02:56:21 +00:00
bd19b34da1 Remove ARC boilerplate in /docs
Update the docs to remove references to the ARC boilerplate no longer
being used.

Bug: 1468376
Change-Id: I576890ee156c124faa2ef4269d96829c84941238
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4748526
Commit-Queue: Avi Drissman <avi@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: Leonard Grey <lgrey@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1179172}
2023-08-03 19:08:30 +00:00
6f3be6029f Remove redundant ARC configuration in /docs
ARC is now enabled by default, so enabling it at the target level is
redundant and can be removed.

Bug: 733237
Change-Id: Iddb8d387588f5c21dd25659780bee29b79800075
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4721630
Reviewed-by: Leonard Grey <lgrey@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1175577}
2023-07-26 18:56:25 +00:00
b60e22f735 [ios] Remove WebStateDetached() from WebStateListDelegate
This CL removes WebStateDetached() from WebStateListDelegate because there are no implementation in all delegates that inherits WebStateListDelegate.

Change-Id: Ia641328a76ae5358b8e5fd1fdb7080c2a2ebdabc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4701566
Commit-Queue: Asami Doi <asamidoi@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1172831}
2023-07-20 08:54:51 +00:00
703246bfef Document how to run iOS egtests with --enable-features
Bug: None
Change-Id: I0cdd4290f44d8f4ba1bb6ce960a389e875c1cb7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4660514
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Commit-Queue: Victor Vianna <victorvianna@google.com>
Cr-Commit-Position: refs/heads/main@{#1165919}
2023-07-05 14:06:46 +00:00
cdb9de4b14 Fix typo in iOS build instructions
Bug: None
Change-Id: I3742abc8ecb46979675e93d54646f9e4c3d768a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4651685
Auto-Submit: Tiago Vignatti <tvignatti@igalia.com>
Reviewed-by: Abhijeet Kandalkar <abhijeet@igalia.com>
Commit-Queue: Tiago Vignatti <tvignatti@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1163591}
2023-06-28 16:15:54 +00:00
425d4abbba Fix build instructions contents
The table of contents for the Chromium build instructions omits "git
status" meaning that the entry just says "Improving performance of",
which is a bit cryptic.

Also, the title isn't really accurate because the suggestions in that
section actually improve the performance of many git commands, such as
"git reset --hard" and many others.

Bug: None
Change-Id: I509cf4eefd830c5e26d9cbc2e7478ecdccea3a69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4641872
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1162142}
2023-06-25 01:36:15 +00:00
2154274a2a Clarify fsmonitor instructions
This change removes references to git versions since Chromium developers
should be using git from depot_tools, and since it isn't completely
clear whether 2.39 is greater or lower than 2.8.

This change also makes it clear that fsmonitor should be enabled on a
per-repo basis rather than globally, for the best cost/benefit ratio.

This change was inspired by the realization that enabling fsmonitor
globally on Windows caused 179 fsmonitor process to be spawned when
"gclient sync" was run. These processes commit an average of 86 MB
on Windows leading to 15 GB of commit (only a few hundred MB of
physical memory is used, but the commit usage is large enough to
matter).

Change-Id: I21c042462022088e11883bbf827276ee585fdaf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4622567
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1159338}
2023-06-17 22:24:29 +00:00
760b0c0362 Note git fsmonitor in documentation for iOS also
Bug: None
Change-Id: Ib7e6b10965b9bcd5c4b51e3119ce3c3471699567
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4573501
Reviewed-by: Avi Drissman <avi@chromium.org>
Auto-Submit: Tiago Vignatti <tvignatti@igalia.com>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1150320}
2023-05-29 19:45:24 +00:00
e1599c5ae9 [ios] Add DevTools documentation
This adds documentation for remote debugging with DevTools on Blink for
iOS. Target audience is developers.

Bug: 1426572
Change-Id: Ida36234685d16e384e5277f329ea97bcd4f525dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4456254
Auto-Submit: Tiago Vignatti <tvignatti@igalia.com>
Reviewed-by: Maksim Sisov <msisov@igalia.com>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1133637}
2023-04-21 07:14:46 +00:00
68403133cd Remove WeakNSObject
It's no longer used with ARC.

Bug: none
Change-Id: I67f693857c75b4b34ead6db7b3a323d9dc616873
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4378338
Auto-Submit: Avi Drissman <avi@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1124281}
2023-03-30 17:09:03 +00:00
57aa4eff5e Docs: Updated a sentence near NOTIMPLEMENTED to make it easier to read
Bug: None
Change-Id: Id16c10816047dbd5c39040d029d7e683478ab248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4348739
Reviewed-by: Mark Cogan <marq@chromium.org>
Commit-Queue: Solomon Kinard <solomonkinard@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1120539}
2023-03-22 15:18:24 +00:00
0e35019b57 Refactors dependencies on Earl Grey.
Earl Grey has changed the file name of a file we widely import across the codebase. To prepare for that roll of EG2 ios/testing/earl_grey/earl_grey_test.h will be used as an umbrella header for the EG2 test support library within ios code. ios/testing/earl_grey/earl_grey_test.h will import the EG2 test's umbrella header.

Dependencies on "//ios/third_party/earl_grey2:test_lib" are replaced with "//ios/testing/earl_grey:eg_test_support+eg2" if that dependency is not already present.

Bug: 1420367
Change-Id: I1fd8fbc49d4a2aeb36fe504a23701376662f28b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4303486
Reviewed-by: Lindsay Pasricha <lindsayw@chromium.org>
Commit-Queue: Cameron Higgins <cameronhiggins@google.com>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1120040}
2023-03-21 17:43:45 +00:00
37b578792f [ios] Update the infra documentation
As Chromium is no longer build as universal binary, update the infra
documentation. Also mention that the environment must be set via the
target_environment (this is required because target_cpu cannot be
used to decide whether the build is for simulator or device).

Bug: 1337780
Change-Id: I38a9f20231514d0f60a0ffc55e983b76fcb265dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4343311
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118018}
2023-03-16 10:57:05 +00:00
627d0de392 [docs] Make it explicit that ios simulator needs to be launched manually
... to start content_shell.app and others.

The CL simply changes "With Xcode 9.." to "From Xcode 9 on.." to clarify
to readers that all versions of Xcode past 9 are included.

R=tvignatti@igalia.com

Bug: None
Change-Id: I9d262bfb966568b8d47ea4f64a7b7311c9ee70bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4265432
Quick-Run: Tiago Vignatti <tvignatti@igalia.com>
Auto-Submit: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: Maksim Sisov <msisov@igalia.com>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1107495}
2023-02-20 17:30:48 +00:00
4ab961e9e0 Remove unwanted space from build_instructions.md
Bug: 1411706
Change-Id: I839fc7681e27798a9a60bd89bd33f549daef8c4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4233377
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1102775}
2023-02-08 17:13:43 +00:00
feb0745ba6 [ios] Add build instructions for blink on iOS
Add build instructions

Bug: 1411706
Change-Id: Ia131c997f535a08847e5e3c3f6e0abd02a684a22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4228477
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Ian Vollick <vollick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1102392}
2023-02-07 21:47:47 +00:00
d33096fef2 Remove unused ScriptCommandCallback remnants
Support for ScriptCommandCallbacks was removed in crrev.com/c/4182545.
These *ScriptCommand* APIs are now unused and can be removed.

Bug: 837706
Change-Id: I772d0e07d0920d2ffd4a5ac5925af437dae967dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4193392
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Sebastien Seguin-Gagnon <sebsg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1096841}
2023-01-25 17:47:55 +00:00
54e9dc23cd Make testing example consistent with actual code
Change-Id: I57f81a9262836d182e7866f6698992f8970751c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3904268
Commit-Queue: Arthur Milchior <arthurmilchior@google.com>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1049616}
2022-09-21 13:41:52 +00:00
425a00b466 [ios] Remove feature flag kEnableUnrealizedWebStates
The support for unrealized WebStates has been shipped to 100%.
Remove the feature flag kEnableUnrealizedWebStates that used to
control whether the feature is enabled or not.

Fixed: 1264453
Change-Id: I3b5ff05fa30c6961d207a330973bdaad435dec66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3776541
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1026217}
2022-07-20 13:54:56 +00:00
26d955d078 Refactor overflow menu destination matchers.
This change:

1. Moves all overfow-menu-carousel-related matchers into one location:
chrome_matchers.

2. Updates carousel matchers' names to use new "...Destination..."
naming convention.

3. Removes unnecessary, duplicate construction of matchers throughout
codebase, instead using the newly-refactored, localized set of matchers
in chrome_matchers.

Bug: 1339367
Change-Id: I87c2a0a6063e88e2697772c32e962772bd16881e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3722366
Reviewed-by: Mark Cogan <marq@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: Robbie Gibson <rkgibson@google.com>
Commit-Queue: Benjamin Williams <bwwilliams@google.com>
Cr-Commit-Position: refs/heads/main@{#1018208}
2022-06-27 13:55:52 +00:00
ab3923fdc8 Added missing quotation marks in ios testing documentation
Change-Id: I220b461c1d734a51f3f906380e4f0cef773b86a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3498529
Reviewed-by: Tommy Martino <tmartino@chromium.org>
Commit-Queue: Ernesto Izquierdo Clua <eic@google.com>
Cr-Commit-Position: refs/heads/main@{#976376}
2022-03-01 20:42:15 +00:00
d36eb354b8 docs: update python version in ios build instruction
This is for
https://groups.google.com/a/chromium.org/g/chromium-dev/c/80EdFe2w5Yo

Change-Id: If86bcb830145e143be4b6eb886ab260088f1d9ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3495884
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#976029}
2022-03-01 01:39:48 +00:00
9137dcc7ea [ios] Update build instructions
Xcode 13.1 or higher is required to build Chrome on iOS (required
for the catalyst environment). Bump the version in the documentation
and the version check in the code.

JDK is no longer used for the build, remove it from the list of
required software.

Bug: none
Change-Id: If4ddf544b70e2c032ac3e4af95b40a02865e3b9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3487908
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Mike Pinkerton <pinkerton@chromium.org>
Commit-Queue: Mike Pinkerton <pinkerton@chromium.org>
Cr-Commit-Position: refs/heads/main@{#974670}
2022-02-24 16:14:15 +00:00
192120bede Add the correct type of quote in code snippet
I suspect we actually never want this type of quote. However,
correcting them everywhere seems a lot of useless work. In the case of
code snippet however, it seems important to have it right.

Bug: 1294776
Change-Id: I71d63c902a959a3bede5aeb48bc2500a232097f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3443425
Reviewed-by: Jérôme Lebel <jlebel@chromium.org>
Auto-Submit: Arthur Milchior <arthurmilchior@google.com>
Commit-Queue: Arthur Milchior <arthurmilchior@google.com>
Cr-Commit-Position: refs/heads/main@{#971228}
2022-02-15 15:32:07 +00:00
3e6c490b75 [ios] Add documentation of "unrealized" WebStates
Before implementing the feature, document why it is developed, how
it works, and how code can safely interact with those "unrealized"
WebStates.

Bug: 1264453
Change-Id: Id636b77fb10f32fc281f1a855cc61eeee907a007
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3250638
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#938257}
2021-11-04 14:46:39 +00:00
c21170895c [ios][docs] Add information about IntentsExtension
Bug: none
Change-Id: I35de548c3b7c59173e4569930fe5b29621accd40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3250905
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936331}
2021-10-29 10:05:48 +00:00
317532d47d Run a spellchecker on src/docs/
I'd also like to use this CL as a test for
crbug.com/1257744

Change-Id: Ie958c515680a2a130c257c23f826d5a30a3963ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3229977
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Cr-Commit-Position: refs/heads/main@{#933514}
2021-10-20 17:10:31 +00:00
a852434c65 [ios]Use the same pattern to define EarlGrey stubs
Test modules needs to have a stub version of the interface class
available to satisfy the linker. This stub is declared with the
macro GREY_STUB_CLASS_IN_APP_MAIN_QUEUE.

Xcode code completion is broken if the macro is not followed by
a semi-colon, but clang complains about trailing semi-colon in a
place where it is not required.

To bypass this issue, for each foo_interface.h file, create a
foo_interface_stub.mm file containing just the macro call. It
also avoid putting the stub declaration in a random source file.

Fix some naming inconsistency in file/target names.

Bug: 1015113
Change-Id: I6596575e8b7f8c0fac42fc8aace1568cecd69dd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3222908
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: Ewann Pellé <ewannpv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931916}
2021-10-15 07:53:39 +00:00
e8e980fcac Clarify boilerplate.py documentation
I had a nasty surprise when I ran this from a subdirectory :)

Change-Id: If14b37459bae917092fcee1a64c20247005a0d2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3221311
Commit-Queue: Tommy Martino <tmartino@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931505}
2021-10-14 15:19:48 +00:00
8efa3d1447 [ios] Remove definition of CHROME_EARL_GREY_2 macro
The macro is no longer used (it was there to facilitate the
transition from EarlGrey to EarlGrey2) and can be removed.

Bug: none
Change-Id: Iae7b37b1f6e38388a5f566af75d01988fb7d7bd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3222939
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: David Jean <djean@chromium.org>
Reviewed-by: David Jean <djean@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931459}
2021-10-14 12:01:05 +00:00
92455aa320 [ios] Update documentation and assertion about Xcode requirements
Building Chromium on iOS now requires access to iOS 15.0 SDK, so
update the documentation and the assert that enforces a correct
version of Xcode is used.

Bug: none
Change-Id: I5d77bf8682a19d7f3b01e7a2319646c57a7ebf3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3193013
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#926262}
2021-09-29 15:01:36 +00:00
34b2063e58 [iOS] Remove mention of "TabModel".
This CL cleans up assorted comments, and one function name, to no longer
use the "TabModel" nomenclature, now that that class has been removed.

Change-Id: Icaa0c50d58e798e9fe7540ceb485c15e8cbbd248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3071359
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Commit-Queue: Mark Cogan <marq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#908454}
2021-08-04 14:50:19 +00:00