- 30 Jun, 2016 40 commits
-
-
rsleevi authored
In line with https://security.googleblog.com/2015/10/sustaining-digital-certificate-security.html this CL requires that all Symantec-issued certificates after 1 June 2016 be CT qualified, as defined by the Certificate Transparency in Chrome Policy - https://www.chromium.org/Home/chromium-security/certificate-transparency Any certificates that are not CT qualified will cause an interstitial with ERR_CERTIFICATE_TRANSPARENCY_REQUIRED. BUG=620178 Review-Url: https://codereview.chromium.org/2109913004 Cr-Commit-Position: refs/heads/master@{#403328}
-
Matt Wolenetz authored
Introduces a new RuntimeEnabledFeature "MediaSourceNewAbortAndDuration" which enables new behavior corresponding to the recent MSE spec change [1], fixing cross-platform spec ambiguities. New behavior: * abort() gives error if there is a remove() in progress. abort() is intended to only abort in-progress appends, not removals. * setting MediaSource.duration to a value which would truncate currently buffered media will now result in error. Apps can use explicit remove() to perform the desired buffered media truncation prior to lowering the duration. Note that both of these behavior changes are intended to fix previously ambiguous spec text related to asynchronous range removals. There is no other strong reason why these two behavior changes are included in the same CL (other than to reduce some process redundancy.) If "MediaSourceNewAbortAndDuration" is not enabled, then the old behavior remains along with emission of new deprecation messages. This change only enables that flag in 'experimental' status (see [2]). Intent to implement thread is at [3]. [1] https://github.com/w3c/media-source/pull/65 [2] http://www.chromium.org/blink/runtime-enabled-features [3] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/oboI-rINUt0 BUG=623729,398130 TEST=Updated many of http/tests/media/media-source/* and added SBSTest.GetHighestPresentationTimestamp R=chcunningham@chromium.org, dcheng@chromium.org, holte@chromium.org, tkent@chromium.org Review URL: https://codereview.chromium.org/2102323002 . Cr-Commit-Position: refs/heads/master@{#403327}
-
robliao authored
SM_CXSIZEFRAME from GetSystemMetrics is based off of the primary monitor's DPI. GetSystemMetricsForHwnd accounts for the system metrics taking into account the DPI of the HWND. BUG=426656 Review-Url: https://codereview.chromium.org/2110323002 Cr-Commit-Position: refs/heads/master@{#403326}
-
changwan authored
CompositorViewHolder hides keyboard on switching tabs. We found that it is causing a StrictMode violation error in KK (due to a flaw in Android framework). But CVH removes ContentView, which eventually calls ImeAdapter#onViewFocusChanged(false) and then we hide the keyboard anyways. Therefore, removing the redundant code from CVH and adding a test to future-proof the behavior. BUG=623256 TBR=dtrainor@chromium.org Review-Url: https://codereview.chromium.org/2108203003 Cr-Commit-Position: refs/heads/master@{#403325}
-
rkc authored
This CL adds the implementation and tests for GetServiceRecords. The DBus API used here is out for review at, https://chromium-review.googlesource.com/#/c/354473/ R=mcchou@chromium.org, xiyuan@chromium.org BUG=619699 Review-Url: https://codereview.chromium.org/2102093003 Cr-Commit-Position: refs/heads/master@{#403324}
-
nektar authored
BUG=624626 R=dmazzoni@chromium.org Review-Url: https://codereview.chromium.org/2119643002 Cr-Commit-Position: refs/heads/master@{#403323}
-
pdr authored
Transformed content is snapped to pixel boundaries to reduce aliasing so we need to pixel snap the paint offset transform created before transform paint property nodes. Any leftover subpixel value is analagous to the subpixel accumulation on PaintLayer.h and is passed through to the transformed content. Review-Url: https://codereview.chromium.org/2112753002 Cr-Commit-Position: refs/heads/master@{#403322}
-
fmalita authored
http://crrev.com/2008913002 replaced the unrenderable case with an assert, on the assumption that higher-level logic should ensure a renderable rrect. But in certain cases we compute the background rrect by shrinking the border rrect - and this can yield degenerate/unrenderable results when some radii are not large enough to accomodate the requested inset. E.g. width: 100 left radius: 0 right radius: 100 border-width: 10 We attempt to inset and shrink all radii by 5 (half border-width), but we can only reduce the right radius since the left one is already zero. So we end up with width: 90 left radius: 0 right radius: 95 which is not renderable. This CL restores the clip-based fallback for unrenderable rrects. BUG=614825 R=chrishtr@chromium.org Review-Url: https://codereview.chromium.org/2112643002 Cr-Commit-Position: refs/heads/master@{#403321}
-
dgozman authored
This is a preparation step to migrate away from WTF::String in v8_inspector. To avoid copying the global, this patch moves V8DebuggerScript to the heap. BUG=580337 Review-Url: https://codereview.chromium.org/2104063002 Cr-Commit-Position: refs/heads/master@{#403320}
-
xiaoyinh authored
Incorporate comments in Dbus code and add Eol icon BUG=611816 TEST=manual and browsertest CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2081873002 Cr-Commit-Position: refs/heads/master@{#403319}
-
mef authored
BUG=620462 Review-Url: https://codereview.chromium.org/2114453005 Cr-Commit-Position: refs/heads/master@{#403318}
-
dmurph authored
BUG=622468,605761 Review-Url: https://codereview.chromium.org/2096363003 Cr-Commit-Position: refs/heads/master@{#403317}
-
spqchan authored
- Renamed PresentationModeController to FullscreenToolbarController - Removed Lion fullscreen methods - Updated comments and variable names BUG=579259 Review-Url: https://codereview.chromium.org/2110983002 Cr-Commit-Position: refs/heads/master@{#403316}
-
tonikitoo authored
Whenever user tries to extend an existing text selection by dragging the mouse (left button hold) with shift key pressed, Blink enters drag-n-drop mode. This behavior does not match common editing behavior out there, including other engines' (WebKit, Gecko/Firefox, Opera/Presto and IE). Patch changes Blink so that whenever one extends a selection with mouse and shift key pressed off of a #text node, it does not enter drag-n-drop mode. Additionally, patch also adds some further tests to ensure that when selection is extended off of either a link or an image, drag-n-drop does get triggered, no matter if shift key is pressed. Associated WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=155314. BUG=142023 Review-Url: https://codereview.chromium.org/2048733002 Cr-Commit-Position: refs/heads/master@{#403315}
-
takumif authored
The toolbar action for Media Router has a context menu option to "Remove from Chrome...", which doesn't show a confirmation dialog like other extension icons with the same option do (and ellipsis usually suggests a confirmation). Also, since the removal merely removes the icon and none of the MR functionalities, the use case is different from the removal of other extensions on the toolbar. This CL replaces the text with "Remove icon". BUG=624104 Review-Url: https://codereview.chromium.org/2112623002 Cr-Commit-Position: refs/heads/master@{#403314}
-
msw authored
ash::Shell still calls ShellDelegate::CreateMediaDelegate. BUG=619636 TEST=Compiles; unit tests; no behavior changes. R=jamescook@chromium.org TBR=sky@chromium.org Review-Url: https://codereview.chromium.org/2113023002 Cr-Commit-Position: refs/heads/master@{#403313}
-
mek authored
Foreign fetch used to completely ignore the skipServiceWorker flag. Just skipping foreign fetch whenever skipServiceWorker is true would not be correct as the flag is both set in situations where a request needs to bypass service workers, but also when the renderer doesn't believe the client making the request is controlled by a service worker. In that second case foreign fetch would still need to process the request. To fix this, this changes skipServiceWorker to an enum with three states, in order to distinguish between skipping all service workers (for CORS preflight, dev-tools skip service worker, force-refresh, etc) and skipping just the controlling service worker. This also makes sure that (for now) any request that requires a CORS preflight will not get intercepted by foreign fetch. BUG=540509,604084 Review-Url: https://codereview.chromium.org/2105503002 Cr-Commit-Position: refs/heads/master@{#403312}
-
lhchavez authored
Since the window can be dismissed and then reappear, the user needs more context. BUG=b/29439306 TEST=simulated a failure, saw the new strings Review-Url: https://codereview.chromium.org/2111283002 Cr-Commit-Position: refs/heads/master@{#403311}
-
miu authored
For HW encoders, we discovered deadline_utilization is not an appropriate benchmark metric; and we plan to test a few alternatives. Before landing those code changes, this change renames the variables and cleans up comments to reflect the new more-abstract meaning. R=xjz@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2103043005 Cr-Commit-Position: refs/heads/master@{#403310}
-
bpastene authored
BUG= Review-Url: https://codereview.chromium.org/2104413002 Cr-Commit-Position: refs/heads/master@{#403309}
-
wjmaclean authored
Since we now route Gesture events directly to the guest renderer, there is no longer any event to focus the BrowserPlugin in the embedder renderer, meaning that even though touch/gesture events work properly, the guest may not receive keyboard input. This CL provides a temporary fix by sending a synthetic GestureTapDown to the embedder on TouchStarti, in parallel with sending the TouchStart directly to the guest. The synthetic event focuses the BrowserPlugin. This CL also fixes two tests that were still sending Gestures to the embedder. When BrowserPlugin is removed, this code will disappear along with RenderWidgetHostViewGuest. BUG=619906 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2101663002 Cr-Commit-Position: refs/heads/master@{#403308}
-
pkotwicz authored
This enables us to keep track of how often WebAPKs are launched from a notification vs from the home screen. BUG=623216 Review-Url: https://codereview.chromium.org/2094113002 Cr-Commit-Position: refs/heads/master@{#403307}
-
zoltan.kuscsik authored
chrome_browser_ui_ash_non_chromeos was already removed from .gypi files by an earlier patch. BUG= Review-Url: https://codereview.chromium.org/2087373004 Cr-Commit-Position: refs/heads/master@{#403306}
-
guidou authored
BUG=610285 Review-Url: https://codereview.chromium.org/2095643002 Cr-Commit-Position: refs/heads/master@{#403305}
-
sdefresne authored
Record the "bundle_data" target corresponding to a BundleFileRule object so that the dependencies can be correctly computed when generating the ninja steps for the "create_bundle" target. Change the "stamp" step of "bundle_data" target in the generated ninja to depends on the target dependencies and source files. Change the "copy_bundle_data" steps of "create_bundle" target in the generated ninja to depends on the "bundle_data" target that defined the corresponding source files. Change the "compile_xcassets" step of "create_bundle" target in the generated ninja to depends on all the "bundle_data" targets that defined the corresponding source files. Change the rule used to determine whether a "bundle_data" source file is part of an assets catalog (some file where incorrectly omitted causing them to be incorrectly copied to the final bundle). All those changes will allow the "copy_bundle_data" and "compile_xcassets" steps to only depends on the targets that generate them (if any) and will reduce the number of file copied into the final bundle during incremental builds. Fix unit tests with new expectations. BUG=623501 Review-Url: https://codereview.chromium.org/2105613003 Cr-Commit-Position: refs/heads/master@{#403304}
-
Rebaseline Bot authored
https://chromium.googlesource.com/chromium/src/+/d0ff92817 BUG=624269 TBR=glebl@chromium.org Review URL: https://codereview.chromium.org/2119623004 . Cr-Commit-Position: refs/heads/master@{#403303}
-
jialiul authored
Stop using UMA preference to gate sending HitReport to SB backend, use extended reporting preference instead. BUG=598889 Review-Url: https://codereview.chromium.org/2104423002 Cr-Commit-Position: refs/heads/master@{#403302}
-
jamescook authored
* Convert NetworkStateListDetailedView to wm common types and add debug name. * Fix include guards. * Move files to //ash/common/system/chromeos. * Fix DEPS. BUG=619636 TEST=ash_unittests, manual by opening the network (i) info panel and dumping the window tree with Ctrl-Alt-Shift-W TBR=derat@chromium.org Review-Url: https://codereview.chromium.org/2109293002 Cr-Commit-Position: refs/heads/master@{#403301}
-
vmpstr authored
This patch updates the code to prevent auto deducing to a raw pointer. R=jochen, danakj, dcheng BUG=554600 Review-Url: https://codereview.chromium.org/2107953002 Cr-Commit-Position: refs/heads/master@{#403300}
-
mcasas authored
because is deprecated. Also using |using|. While I was doing that, I saw that some methods related to Get_X_By_Y_() had inconsistent names, signatures and/or locations in the header/implementation files, hence: - GetDeviceEntryForMediaStreamDevice() renamed to GetDeviceEntryByTypeAndId() and reducing the parameters to the used information. - GetDeviceEntryForController() renamed to GetDeviceEntryByController() - FindDeviceInfoById() renamed to GetDeviceInfoById() - GetVideoCaptureDeviceFromSessionId() renamed to GetVideoCaptureDeviceBySessionId() - Added GetDeviceEntryBySerialId(). And bundled together in the .h file. Also I shoved around some methods in the .h file to match the .cc but I'm planning on another subsequent CL just aligning both. BUG=554289 TEST=no new code introduced (this is a refactoring) so all unittests, content_browsertests and browser_tests related to video capture (there a loads of them) passing should be enough verification. Review-Url: https://codereview.chromium.org/2108293002 Cr-Commit-Position: refs/heads/master@{#403299}
-
vmpstr authored
This patch updates the code to prevent auto deducing to a raw pointer. R=benwells@chromium.org, danakj, dcheng BUG=554600 Review-Url: https://codereview.chromium.org/2108623005 Cr-Commit-Position: refs/heads/master@{#403298}
-
tedchoc authored
This also removes the ability to set options that we are not pursuing right now. BUG=622893 Review-Url: https://codereview.chromium.org/2117583002 Cr-Commit-Position: refs/heads/master@{#403297}
-
ccameron authored
The color profile will originate in content::RenderWidgetHostViewMac on Mac and aura::WindowTreeHost on Aura, and will need to be consumed in the cc::GLRenderer in a shader and in the content::GpuSurfacelessBrowserCompositorOutputSurface. Both of these originating structures have a ui::Compositor. This follows the same plumbing paths as device scale factor and surface size. BUG=622133 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review-Url: https://codereview.chromium.org/2102203003 Cr-Commit-Position: refs/heads/master@{#403296}
-
juncai authored
For devices with different names, the chooser just shows their names; for devices with the same name, the chooser shows their name with its unique device identifier. So the chooser will look like: device_different_name device_same_name (device_1) device_same_name (device_2) device_same_name (device_3) BUG=544121 Review-Url: https://codereview.chromium.org/2098983002 Cr-Commit-Position: refs/heads/master@{#403295}
-
zmo authored
BUG=597794,606074 NOTRY=true TEST=eanbled webgl2 conformance tests CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2113573002 Cr-Commit-Position: refs/heads/master@{#403294}
-
dschuyler authored
This adds full closure compilation for the certificate manager page directory. BUG=425627 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2101243004 Cr-Commit-Position: refs/heads/master@{#403293}
-
rockot authored
Moves the following things out of the mojo::internal namespace and moves their headers to mojo/public/cpp/bindings: - InterfaceId - Message flags (constants in Message rather than in internal) - MessageHeaderValidator - PipeControlMessageHandler - PipeControlMessageHandlerDelegate - PipeControlMessageProxy - SyncHandleWatcher This completes the set of existing helpers necessary to implement custom bindings endpoints with custom routing logic. BUG=612500 R=yzshen@chromium.org Review-Url: https://codereview.chromium.org/2114523002 Cr-Commit-Position: refs/heads/master@{#403292}
-
dskiba authored
This CL both increases maximum backtrace depth (24 -> 48) and reduces AllocationRegister memory usage (265 -> 42 MiB on 32-bit platforms) at the expense of performance (~30% hit). See the bug for more details. BUG=617772 Review-Url: https://codereview.chromium.org/2089253002 Cr-Commit-Position: refs/heads/master@{#403291}
-
kbr authored
BUG=352807 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel TBR=zmo@chromium.org Review-Url: https://codereview.chromium.org/2113453005 Cr-Commit-Position: refs/heads/master@{#403290}
-
nicholss authored
R=dpranke@chromium.org, sergeyu@chromium.org BUG=622415 Review-Url: https://codereview.chromium.org/2111213002 Cr-Commit-Position: refs/heads/master@{#403289}
-