0
Commit Graph

26 Commits

Author SHA1 Message Date
Peter Wen
c6f932125c Remove more OWNERS (and add 1)
These folks have left Chrome or Google. Removing them to make it clear
that these directories need more OWNERS (dgn@, aberent@,
shenghuazhang@, sgurun@).

Add mlamouri@ to replace removed //third_party/android_media OWNERS.

Bug: None
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I4cf85a5dace5bdd4929d12617e5e12f11a58ca11
Reviewed-on: https://chromium-review.googlesource.com/1160771
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: David Turner <digit@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582562}
2018-08-13 13:19:09 +00:00
Oriol Brufau
f3fd9e3ae2 [css-logical] Replace uses of webkit-prefixed logical properties with standard ones in /components
Bug 850000 added standard logical properties and aliased prefixed ones
to them. The prefixed properties are still used in various places, but
the standard ones should be used instead. This patch replaces all the
uses in /components

Spec: https://drafts.csswg.org/css-logical/#box

BUG=862141

Change-Id: Id71b93522241bd4db07133ec98bdc5a32b0a2e4a
Reviewed-on: https://chromium-review.googlesource.com/1150231
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#578264}
2018-07-26 11:44:26 +00:00
Blink Reformat
a30d423812 The Great Blink mv for source files, part 1.
Update file contents without moving files.

NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
TBR=darin@chromium.org

Bug: 768828
Change-Id: I8a2f4535a49a25f44b43df32f25691c0a2556d28
Reviewed-on: https://chromium-review.googlesource.com/1001152
Commit-Queue: Blink Reformat <blink-reformat@chromium.org>
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549060}
2018-04-07 15:31:06 +00:00
Carlos IL
969e5349bd Added bindings for committed supervised user interstitials.
Bug: 817099
Change-Id: If05efdf9a1a4d50e430ee5541e51bc45b8fd18d9
Reviewed-on: https://chromium-review.googlesource.com/963796
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Reviewed-by: Julia Tuttle <juliatuttle@chromium.org>
Reviewed-by: Emily Stark <estark@chromium.org>
Commit-Queue: Carlos IL <carlosil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546560}
2018-03-28 19:24:19 +00:00
Rob Wu
a296eff269 Fix XSS in supervised user interstitial
BUG=797525

Change-Id: Ib5cfa732b0f4de8645031c0166e4d67633a65c93
Reviewed-on: https://chromium-review.googlesource.com/844075
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Commit-Queue: Rob Wu <rob@robwu.nl>
Cr-Commit-Position: refs/heads/master@{#526158}
2017-12-24 15:37:52 +00:00
Lei Zhang
a2c5a9e254 Refer to ui::ResourceBundle with namespace. (Try 2)
ResourceBundle became ui::ResourceBundle in r72038 but many callers
still refer to it without the namespace.

Previous attempt: https://chromium-review.googlesource.com/696139

TBR=jamescook@chromium.org,sadrul@chromium.org,treib@chromium.org

Change-Id: I3be610154ccfeab020804c9f4b51636683810528
Reviewed-on: https://chromium-review.googlesource.com/737190
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#511365}
2017-10-25 04:13:54 +00:00
Trent Apted
74e916d010 Revert "Refer to ui::ResourceBundle with namespace."
This reverts commit d7b19dd0be.

Reason for revert: widespread compile failures, e.g.

../../ui/base/resource/resource_bundle_ios.mm:93:10: error: use of undeclared identifier 'sequence_checker_'
  DCHECK(sequence_checker_.CalledOnValidSequence());

Original change's description:
> Refer to ui::ResourceBundle with namespace.
> 
> ResourceBundle became ui::ResourceBundle in r72038 but many callers
> still refer to it without the namespace.
> 
> TBR=jamescook@chromium.org,treib@chromium.org
> 
> Change-Id: Ic0b7116beabc945ea4ac27cf4d65dc177274cc85
> Reviewed-on: https://chromium-review.googlesource.com/696139
> Commit-Queue: Lei Zhang <thestig@chromium.org>
> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#510005}

TBR=jamescook@chromium.org,sadrul@chromium.org,ben@chromium.org,thestig@chromium.org,treib@chromium.org

Change-Id: Ib4428ba90efe811331e8190c9d22608d94d51cd6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/727442
Reviewed-by: Trent Apted <tapted@chromium.org>
Commit-Queue: Trent Apted <tapted@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510009}
2017-10-19 06:13:39 +00:00
Lei Zhang
d7b19dd0be Refer to ui::ResourceBundle with namespace.
ResourceBundle became ui::ResourceBundle in r72038 but many callers
still refer to it without the namespace.

TBR=jamescook@chromium.org,treib@chromium.org

Change-Id: Ic0b7116beabc945ea4ac27cf4d65dc177274cc85
Reviewed-on: https://chromium-review.googlesource.com/696139
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510005}
2017-10-19 05:24:32 +00:00
Lei Zhang
cf30efc511 Refer to ui::ResourceBundle with namespace in various dirs.
ResourceBundle became ui::ResourceBundle in r72038 but many callers
still refer to it without the namespace.

Change-Id: Id63635507b65d3d6ffe1fa3a779e189969030b11
Reviewed-on: https://chromium-review.googlesource.com/696138
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506525}
2017-10-04 21:31:24 +00:00
Lukasz Anforowicz
0419fb801b Remove js code calling or defining domAutomationController.setAutomationId.
The calls are no longer needed after r485461
(https://crrev.com/2478803003) which has made the
domAutomationController.setAutomationId call a no-op.

Removing the calls allows removal of definitions done in test code
under content/test/gpu.

This CL focuses on cleaning up javascript references to
domAutomationController.setAutomationId.  A follow-up CL will remove
this method from content/renderer/dom_automation_controller.h/.cc

Bug: 662543
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I8d3664672eaf8ed4d90a67e27d3c817f52dba8c2
Reviewed-on: https://chromium-review.googlesource.com/626696
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Pam Greene (Please send IM for reviews) <pam@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#497151}
2017-08-24 19:19:34 +00:00
Bernhard Bauer
b497c93b7b Show details section in supervised user interstitial only if feedback is enabled.
In all other cases, the details section does not contain actionable information.

Also, update the block message per UI review.

Bug: 736043
Change-Id: Ib6cae1ac04f4af97398ea0bf6c5f16676d79f382
Reviewed-on: https://chromium-review.googlesource.com/566959
Reviewed-by: Marc Treib <treib@chromium.org>
Commit-Queue: Bernhard Bauer <bauerb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485667}
2017-07-11 17:32:48 +00:00
Bernhard Bauer
9caae9d067 Update interstitial strings for supervised user deprecation.
Update the deprecation message to remove non-actionable information for
the user, and move it out of the Details section.

Bug: 736043
Change-Id: I1f87c2faeca77703ee14c9f68816e728d8bae5e8
Reviewed-on: https://chromium-review.googlesource.com/556038
Reviewed-by: Marc Treib <treib@chromium.org>
Commit-Queue: Bernhard Bauer <bauerb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483503}
2017-06-29 21:53:15 +00:00
Bernhard Bauer
2ea168ed96 Disable access requests for Supervised Users if the feature is disabled.
Also, add a deprecation message.

BUG=736042

Change-Id: I2e66c5ae276ce33997149e59bf6a75e45bc0b8dd
Reviewed-on: https://chromium-review.googlesource.com/544314
Reviewed-by: Marc Treib <treib@chromium.org>
Commit-Queue: Bernhard Bauer <bauerb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482600}
2017-06-27 12:14:22 +00:00
dschuyler
9ab6f1801d [i18n] components directory to $i18n{}
This CL changes i18n-content and i18n-value (the old way) to
$i18n{} (the new way). There should be no functionality or UI
changes apparent to the user.

TBR=stanisc@chromium.org,dbeam@chromium.org,fgorski@chromium.org,thestig@chromium.org,hirono@chromium.org,mattreynolds@chromium.org,juliatuttle@chromium.org,bengr@chromium.org,treib@chromium.org
BUG=677338

Review-Url: https://codereview.chromium.org/2908353003
Cr-Commit-Position: refs/heads/master@{#479896}
2017-06-16 01:48:57 +00:00
Blink Reformat
1c4d759e44 The Blink Rename
Identifiers in Blink now largely follow the standard Chrome style
conventions, with several additional rules:
- web-exposed methods remain namedLikeThis() for consistency with
  Javascript bindings.
- method names are never named_in_hacker_case()
- enumerator names are kNamedLikeThis.

This commit was generated by the following process.
1. Running //tools/clang/rewrite_to_chrome_style across the codebase.
2. Apply manual fixes.
3. git cl format

BUG=578344
R=lukasza@chromium.org
TBR=darin@chromium.org

Change-Id: Ide5d397d3c6a5d973fd0a6f81dccf82561d4bb71
Reviewed-on: https://chromium-review.googlesource.com/472192
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Cr-Commit-Position: refs/heads/master@{#463139}
2017-04-09 16:42:33 +00:00
ymzhang
ef7971d76c [DirectoryOwnership] Add TEAM/COMPONENT into OWNERS files.
We are adding COMPONENT/TEAM information into OWNERS file(
pref, etc).

Proposal to add TEAM/COMPONENT information into OWNERS files
http://bit.ly/add-team-component-proposal
Proposal about how to get suggested component for directory.
http://bit.ly/directory-mapping-proposal
TEAM-COMPONENT mapping
http://bit.ly/component-team-mapping

Additional Information:
Component lists
https://bugs.chromium.org/p/chromium/adminComponents

BUG=679905
R=pam@chromium.org, bauerb@chromium.org

Review-Url: https://codereview.chromium.org/2742063002
Cr-Commit-Position: refs/heads/master@{#460811}
2017-03-30 17:26:12 +00:00
bauerb
2330dd65e7 Increase top margin of custodian information for the supervised user interstitial.
BUG=698235

Review-Url: https://codereview.chromium.org/2743203004
Cr-Commit-Position: refs/heads/master@{#457389}
2017-03-16 10:08:30 +00:00
bauerb
b60da33b6f Use normal line height for custodian information in the Supervised User interstitial.
Screenshot: https://goo.gl/photos/M3coLbQPSBGEJRnx6

BUG=698235

Review-Url: https://codereview.chromium.org/2749533002
Cr-Commit-Position: refs/heads/master@{#456382}
2017-03-13 15:20:44 +00:00
bauerb
679eb85f60 Update supervised user interstitial pages.
BUG=698235

Review-Url: https://codereview.chromium.org/2739473006
Cr-Commit-Position: refs/heads/master@{#456074}
2017-03-10 16:18:53 +00:00
thakis
fe8fa0acd8 Use a qualified path for grit-generated headers in components/
The gn and (many!) DEPS changes were lovingly hand-crafted.

The cc changes were done with bash invocations similar to the others
mentioned in the bug.

BUG=401588

Review-Url: https://codereview.chromium.org/2712513004
Cr-Commit-Position: refs/heads/master@{#452591}
2017-02-23 19:46:36 +00:00
aberent
5fdb85e384 [Webview, Child Accounts] Automatically sign in to Chrome if needed.
Webview gets its URL filtering information from Chrome; however
it can't do so until Chrome has signed in, which in a child account
environment it does automatically on first run.

This CL checks for the case where Chrome has never been run,
and attempts to force sign in Chrome. If it fails (as far as
I know this should only happen if GMSCore is out of date) it
generates a message asking the user to start Chrome.

BUG=686732

Review-Url: https://codereview.chromium.org/2695113002
Cr-Commit-Position: refs/heads/master@{#450961}
2017-02-16 14:53:00 +00:00
enne
34f6084cd3 Rename paint data structures
This patch typedefs a number of skia data structures used in painting in
Blink and ui.

 SkCanvas -> PaintCanvas
 SkSurface -> PaintSurface
 SkPicture -> PaintRecord
 SkPictureRecorder -> PaintRecorder
 SkPaint -> PaintFlags
 SkShader -> PaintShader

These are all typedef'd to Skia types in cc/paint headers.  They are
forwarded to the Blink namespace via platform/graphics/paint headers.
This first step in this patch is to rename uses of these classes
everywhere and then further patches will replace their implementation.

This adds a cc:paint gn component that only depends on Skia that can
then be depended on by ui and Blink platform without depending on the
rest of cc.  This allows ui and Blink platform to continue to
encapsulate its use of cc while still being able to use paint data
structures throughout the entire pipeline.

This patch will be followed up with another patch to change all of
the identifiers that refer to old names.

See: https://docs.google.com/document/d/135-2dYsilJCPucW7edvuh-eGOmmGvazX4QuF7vIboBY/edit?disco=AAAAA5r88Q0

BUG=671433
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2640983002
Cr-Commit-Position: refs/heads/master@{#447861}
2017-02-02 22:39:08 +00:00
treib
5bc991581a Supervised User interstitial: Update strings to be more child-friendly
BUG=649765

Review-Url: https://codereview.chromium.org/2479413004
Cr-Commit-Position: refs/heads/master@{#431530}
2016-11-11 09:10:23 +00:00
aberent
a7f273b27f Implement Web Restrictions in WebView.
This CL:
- Lets WebView ask a content provider (the name of which is set by a
WebView policy) whether a URL should be accessible.
- Implements an error page when a URL is not accessible, that, if it
is supported by the content provider, lets the user request access
- Makes some fixes to the supervised user content provider so that
this works with WebView.

BUG=604330

Review-Url: https://codereview.chromium.org/1890203002
Cr-Commit-Position: refs/heads/master@{#412791}
2016-08-18 10:48:16 +00:00
brettw
60ac558a35 Convert some component source sets to static library
This is hoping to achieve better build performance.

BUG=627637

Review-Url: https://codereview.chromium.org/2170813003
Cr-Commit-Position: refs/heads/master@{#407188}
2016-07-22 17:26:03 +00:00
aberent
c987fed5ac Move the supervised user error page to a component
This is a refactoring to allow WebView to use the supervised user error
page.

BUG=594973

Review URL: https://codereview.chromium.org/1808653003

Cr-Commit-Position: refs/heads/master@{#382015}
2016-03-18 18:18:53 +00:00