- 27 Jan, 2016 40 commits
-
-
estade authored
skia::ImageOperations::Resize needs pixels, and we were passing dp. Also, ignore the icon size key and just use the icon size itself. This fixes a bug (evidenced again by Shoptagr) where an icon size such as "19": "icons/19.png" // 19.png is actually 50x50 would be scaled incorrectly. At this point, the API should take a list rather than a dict, but it's probably not possible to change that and maintain backcompat. BUG=581232 TBR=benwells@chromium.org Review URL: https://codereview.chromium.org/1637763002 Cr-Commit-Position: refs/heads/master@{#371904}
-
bnc authored
Alt-Svc is currently disabled in Cronet (in components/cronet/android/*url_request_context_adapter.cc), until this feature is thorougly tested in Chromium. It should also be disabled in Crnet. Review URL: https://codereview.chromium.org/1643463004 Cr-Commit-Position: refs/heads/master@{#371903}
-
catapult-deps-roller authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/fd3f2b38d1fb..8283c4a90352 $ git log fd3f2b38d..8283c4a90 --date=short --no-merges --format='%ad %ae %s' CQ_INCLUDE_TRYBOTS= TBR=catapult-sheriff@chromium.org Review URL: https://codereview.chromium.org/1641773003 Cr-Commit-Position: refs/heads/master@{#371902}
-
mfomitchev authored
Revert of Aura on Android: Fix link errors when building content_unittests_apk. (patchset #1 id:1 of https://codereview.chromium.org/1466463004/ ) Reason for revert: Reverting, since Android Aura has been cancelled Original issue's description: > Aura on Android: Fix link errors when building content_unittests_apk. > > * Do ui::RegisterUIAndroidJni() only when not using Aura. > * Exclude desktop_aura from the build. > > BUG=507792 > > Committed: https://crrev.com/ce62351f189643118e9d09bf06e128b75345ef36 > Cr-Commit-Position: refs/heads/master@{#360942} TBR=sievers@chromium.org,sadrul@chromium.org,bshe@chromium.org,moshayedi@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=507792 Review URL: https://codereview.chromium.org/1647663002 Cr-Commit-Position: refs/heads/master@{#371901}
-
skia-deps-roller authored
https://chromium.googlesource.com/skia.git/+log/2bbc343c1482..9ce4110a29b0 $ git log 2bbc343c1..9ce4110a2 --date=short --no-merges --format='%ad %ae %s' 2016-01-27 jcgregorio skiaserve: Enable /cmd endpoint. 2016-01-27 msarett Revert of Consolidate SkStream copying methods (patchset #1 id:1 of https://codereview.chromium.org/1640793002/ ) 2016-01-27 msarett Suppress jpeg valgrind errors 2016-01-27 jcgregorio skiaserve: Set 303 status code on redirect. 2016-01-27 kjlubick Make fuzz output the words success for a 'clean exit' 2016-01-27 joshualitt Wire up JsonCanvas in skiaserve 2016-01-27 scroggo Consolidate SkStream copying methods CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=msarett@google.com Review URL: https://codereview.chromium.org/1643743002 Cr-Commit-Position: refs/heads/master@{#371900}
-
ianwen authored
Notification snackbars are low-priority snackbars that are stored in a queue, contrary to tranditional "action" snackbars that ought to be shown immediately and are stored in a stack. When a queue snackbar is showing, a stack snackbar can always kick in and override the snackbar; however when a stack snackbar is showing, a queue snackbar will wait till the stack is cleared. Queue snackbars are not dismissed in batch; instead, they will be shown one by one, in FIFO order. BUG=579347 Review URL: https://codereview.chromium.org/1635753002 Cr-Commit-Position: refs/heads/master@{#371899}
-
stanisc authored
This is a first part of the fix for 573120. When Begin/End are called again for a completed query that already has an instance of GLFenceNV, the existing GLFenceNV instance is reused rather than creating a new one. For each frame that saves one call to glGenFencesNV and one call to glDeleteFencesNV . My estimation is that that saves about 0.2 Wt when playing 1080p @ 60Hz h.264 content. The second part of the fix will add reusing instances of CommandsCompletedQuery. BUG=573120 Review URL: https://codereview.chromium.org/1637293002 Cr-Commit-Position: refs/heads/master@{#371898}
-
kcarattini authored
BUG=543161,561867 Review URL: https://codereview.chromium.org/1640503003 Cr-Commit-Position: refs/heads/master@{#371897}
-
lukasza authored
Layout Tests dump page contents (to compare against expected results). The dump can include frame contents (i.e. dump as text, dump as markup, dump scroll positions with extra flavors like dump as printed, dump line box trees, etc.). Since renderer process is (for security / by design) not able to see frame contents of remote frames, it means that old Layout Tests code is not able to dump frame contents when site isolation is enabled (i.e. when running with --additional-drt-flag=--site-per-process). This CL is a step toward making layout tests compatible with site isolation. After this CL, if recursing over all frames is required, then BlinkTestRunner::CaptureDump will ask the browser process for stiching together the frame contents, before continuing with the other dump flavors in BlinkTestRunner::OnLayoutDumpCompleted. The above means testRunner.notifyDone() might no longer perform dumps synchronously. This is okay, because: - The dumps were already performed asynchronously in some cases: - pixel dumps (i.e. see how dumping is resumed after BlinkTestRunner::CaptureDumpPixels aka OnPixelsDumpCompleted), - ShouldDumpBackForwardList (i.e. see how dumping is resumed after BlinkTestRunner::OnSessionHistory), - the case where notifyDone is called from a secondary window (i.e. see how BlinkTestRunner::TestFinished asks the browser to continue in the main window). - The synchronous dumps are still performed if the test didn't ask for recursing over all the frames. Retaining the synchronous behavior in this case is needed, because in some tests the dump is captured while the frame is being detached (and would no longer be present after an extra hop to the browser process). This CL doesn't affect the following dump modes (which for now remain potentially incompatible with OOPIFs): dump as audio, dump as custom text, dump pixels, dump back/forward list). Additionally, setting and reading of dump modes is done in a renderer process (which can be incompatible with OOPIFs when testRunner.dumpAsText() and testRunner.notifyDone() are called in cross-site frames running in different renderer processes). BUG=477150 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1589643003 Cr-Commit-Position: refs/heads/master@{#371896}
-
nednguyen authored
BUG=551522 CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect Review URL: https://codereview.chromium.org/1641833002 Cr-Commit-Position: refs/heads/master@{#371895}
-
mohsen authored
MenuMessagePumpDispatcher is used on Windows to handle keyboard events and some other events in menu message loops. In order to have fully async menus, we need to get rid of it. Instead, we can use MenuKeyEventHandler which is used on Chrome OS and Linux with some modifications. Following are messages that are handled in MenuMessagePumpDispatcher and how they can be handled after removing this class: - WM_KEYDOWN: This will be handled in MenuKeyEventHandler::OnKeyEvent. - WM_CHAR: This is used to handle "translated" characters for mnemonics according to the active keyboard layout. We can achieve this in MenuKeyEventHandler by using event->GetCharacter() instead of ui::DomCodeToUsLayoutCharacter(). - WM_SYSKEYDOWN: This happens when Alt or F10 keys are pressed (according to MSDN). We can handle these keys in MenuKeyEventHandler. - WM_CANCELMODE: This is already handled in ActivationChangeObserverImpl::OnCancelMode() which is used in MenuMessageLoopAura. BUG=564255,566019 Review URL: https://codereview.chromium.org/1625313002 Cr-Commit-Position: refs/heads/master@{#371894}
-
pkotwicz authored
BUG=141518 Review URL: https://codereview.chromium.org/1645723002 Cr-Commit-Position: refs/heads/master@{#371893}
-
ananta authored
Crash occurs because we are referencing a member variable left_button_down_on_caption_ after the DefWindowProc call for WM_NCLBUTTONDOWN, which could destroy the window and in turn the HWNDMessageHandler instance. Fix is to reset the left_button_down_on_caption_ member before the DefWindowProc call. BUG=581341 TEST=Covered by views_unittest WidgetTest.DestroyInSysCommandNCLButtonDownOnCaption Review URL: https://codereview.chromium.org/1636183003 Cr-Commit-Position: refs/heads/master@{#371892}
-
charliea authored
This is a resubmission of https://codereview.chromium.org/1631313002/. Since then, the //device/serial dependencies have been fixed. This tool will also be used by the Chromium trace controller to find any connected BattOrs. TBR=zhenw@chromium.org,sky@chromium.org BUG=542837 Review URL: https://codereview.chromium.org/1642763002 Cr-Commit-Position: refs/heads/master@{#371891}
-
kelvinp authored
Summary of changes: 1. Fails QUnit.test() it doesn't return within 5 seconds. Timing dependent tests should use fake timers instead. 2. Adds an option to disable the timeout when debugging failed tests locally. 3. Logs the current test to the console to ease debugging. NOTRY=true Trybots failing on tests that has already been deleted. Review URL: https://codereview.chromium.org/1638753003 Cr-Commit-Position: refs/heads/master@{#371890}
-
aiolos authored
This is a precurser to deleting tools/telemetry so we don't break the perf presubmit when that lands. BUG=478864 Review URL: https://codereview.chromium.org/1646653002 Cr-Commit-Position: refs/heads/master@{#371889}
-
dbeam authored
Revert of [Template Expressions] changing ${ leader to $i18n{ (patchset #4 id:60001 of https://codereview.chromium.org/1585923011/ ) Reason for revert: broke incognito NTP and chrome://apps https://code.google.com/p/chromium/issues/detail?id=581621 Original issue's description: > [Template Expressions] changing ${ leader to $i18n{ > > This CL changes the Template Expressions from using > a ${ to identify the start of an expression, to using > $i18n{. The intention is to reduce (eliminate) false > positives when searching for expressions that need > replacement. This CL also prepares for the replacement > work to be done in a background thread and used on a > broader set of files. > > BUG=506009 > > Committed: https://crrev.com/5aa7fd5f14e49c65ebba87e4248424d622b92930 > Cr-Commit-Position: refs/heads/master@{#371537} TBR=thakis@chromium.org,dschuyler@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=506009 Review URL: https://codereview.chromium.org/1647583003 Cr-Commit-Position: refs/heads/master@{#371888}
-
csharrison authored
This patch removes a DumpWithoutCrashing call in DoCancel that wasn't particularly useful. BUG=557430 Review URL: https://codereview.chromium.org/1645513003 Cr-Commit-Position: refs/heads/master@{#371887}
-
slan authored
Chromecast executables depend on several shared libraries in $ORIGIN for platform and OEM abstraction. The rpath for executables should be updated so that these libraries can be found at runtime. This logic is added here, instead of //build/config/gcc:executable_ldconfig, to keep Chromecast-specific configs as concentrated as possible. A note about security concerns: Chrome only enables this by default for component and sanitizer builds, never shipped builds. This is to protect users from arbitrary binaries being run in the shared lib directory. Chromecast does not share these concerns, as it only runs trusted web applications in practice. BUG=516899 Review URL: https://codereview.chromium.org/1639343002 Cr-Commit-Position: refs/heads/master@{#371886}
-
mfomitchev authored
aura_android.gni no longer needed as Android Aura project has been cancelled. BUG=NONE Review URL: https://codereview.chromium.org/1636143002 Cr-Commit-Position: refs/heads/master@{#371885}
-
charliea authored
TBR=nednguyen@google.com,zhenw@chromium.org Review URL: https://codereview.chromium.org/1642493004 Cr-Commit-Position: refs/heads/master@{#371884}
-
dgozman authored
Split Geolocation and DeviceOrientation off of OverridesSupport, used them in SensorsView. Migrated some tests, DeviceSettingsTab and EmulatedDevices to DeviceModeModel. BUG=540864 Review URL: https://codereview.chromium.org/1631223003 Cr-Commit-Position: refs/heads/master@{#371883}
-
ochang authored
R=eugenis@chromium.org BUG=581762 Review URL: https://codereview.chromium.org/1640863002 Cr-Commit-Position: refs/heads/master@{#371882}
-
zmo authored
Just running the generator caused such changes. It's better to land them independently. BUG= TEST=build TBR=piman@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1647663003 Cr-Commit-Position: refs/heads/master@{#371881}
-
mikecase authored
Currently, the logcat monitor can hang if nothing is being output by logcat after you try to join the recorder thread. Adding a timeout to join to prevent this. BUG=581352 Review URL: https://codereview.chromium.org/1648443002 Cr-Commit-Position: refs/heads/master@{#371880}
-
senorblanco authored
RenderPassDrawQuad::MaskUVRect() computes the UV rect by scaling the quad->rect() by mask_uv_scale, then dividing by quad->rect size. However, RenderSurfaceImpl::AppendQuads() computes the mask UV scale as quad->rect() size / mask size. So let's just take the quad->rect() size out of mask_uv_scale in the first place, so we don't have to divide it back out in MaskUVRect(). BUG= CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1647573002 Cr-Commit-Position: refs/heads/master@{#371879}
-
mfomitchev authored
TBR=pfeldman BUG=581468 Review URL: https://codereview.chromium.org/1640603003 Cr-Commit-Position: refs/heads/master@{#371878}
-
ortuno authored
Two cases: 1. Device(s) discovered already. No user visible changes. 2. No device(s) discoverd. Show "No bluetooth devices found. Search again" text. https://folio.googleplex.com/chrome-ux/mocks/236-fizz/choosers/032515_ChooserPhone#%2F03_NoneAfterTimeOut.jpg BUG=539607 Review URL: https://codereview.chromium.org/1625633004 Cr-Commit-Position: refs/heads/master@{#371877}
-
aiolos authored
This is a precursor to deleting tools/telemetry so we don't break the gpu tests presubmit when that lands. BUG=478864 Review URL: https://codereview.chromium.org/1644723002 Cr-Commit-Position: refs/heads/master@{#371876}
-
sbc authored
Without this change when system_libdir is set (e.g. to lib64) it would apply this to all toolchains including the host toolchain. Review URL: https://codereview.chromium.org/1583093002 Cr-Commit-Position: refs/heads/master@{#371875}
-
chongz authored
Record replacementRange from setMarkedText: event, then send along with next ImeSetComposition message. BUG=460999 Review URL: https://codereview.chromium.org/1635953002 Cr-Commit-Position: refs/heads/master@{#371874}
-
sadrul authored
NativeWidgetMus sets up the context-factory for the WindowTreeHostMus, and so WindowTreeHostMus doesn't need to know about the surface-type. BUG=none Review URL: https://codereview.chromium.org/1647483002 Cr-Commit-Position: refs/heads/master@{#371873}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/fefcc888..778c5a60 Please follow these instructions for assigning/CC'ing issues: https://github.com/v8/v8/wiki/Triaging%20issues Please close rolling in case of a roll revert: https://v8-roll.appspot.com/ This only works with a Google account. TBR=hablich@chromium.org,machenbach@chromium.org,yangguo@chromium.org,vogelheim@chromium.org Review URL: https://codereview.chromium.org/1639423002 Cr-Commit-Position: refs/heads/master@{#371872}
-
ccameron authored
Direct copy-paste, no changes. BUG=533681 TBR=erikchen Review URL: https://codereview.chromium.org/1647523002 Cr-Commit-Position: refs/heads/master@{#371871}
-
dalecurtis authored
Extracts the existing MediaSession usage from the browser media player manager and moves it into the WebMediaPlayerDelegate where it can be shared by both the desktop and android media players. Notes: - Removes RenderFrameObserver from all WebMediaPlayers since the delegate observer interface handles all of their needs. - The MediaStream WebMediaPlayer now has MediaSession support. - Currently the WMPI has no concept of requesting permission to play, the WMPA behavior has been preserved via a request to the MediaWebContentsObserverAndroid from BrowserMediaPlayerManager. - Fixes flakiness issues with the MediaSession tests which were not completely waiting for playback to start before moving on with test expectations. - Extracts misplaced delegate messages from frame_messages.h and puts them in their own media_player_delegate_messages.h file. - During the message move, cleans up the player_cookie (a int64_t pointer) in favor of a plain int. Renames messages for the better. - Removes all delegate calls from the cast adapter since they are always remote type which should be ignored anyways. - |has_audio| is sticky in the MediaSessionController since WMPA can't be relied upon to provide a true value and plumbing the value from every MediaPlayerAndroid is non-trivial. - Fixes MediaSession ContentShellTests which were passing on the bots by happy circumstance -- the bots do not appear able to play the .ogg files checked in -- instead instantly ending. Test were fixed by adding .mp3 variants. BUG=529887, 580626 TEST=new tests, existing MediaSession tests pass with and without the unified media pipeline flag, manual verification of background behavior. Review URL: https://codereview.chromium.org/1570043002 Cr-Commit-Position: refs/heads/master@{#371870}
-
dpapad authored
BUG=581758 Review URL: https://codereview.chromium.org/1640843002 Cr-Commit-Position: refs/heads/master@{#371869}
-
catapult-deps-roller authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/4c5aff546a57..fd3f2b38d1fb $ git log 4c5aff546..fd3f2b38d --date=short --no-merges --format='%ad %ae %s' CQ_INCLUDE_TRYBOTS= TBR=catapult-sheriff@chromium.org Review URL: https://codereview.chromium.org/1639403003 Cr-Commit-Position: refs/heads/master@{#371868}
-
sebsg authored
When determining what field type to upload, if both PHONE_HOME_CITY_AND_NUMBER and PHONE_HOME_WHOLE_NUMBER are matched, it means there is no country code in the profile's phone number. In that case, only match PHONE_HOME_CITY_AND_NUMBER because it's more precise. BUG=580629 TEST=AutofillManagerTest Review URL: https://codereview.chromium.org/1623803002 Cr-Commit-Position: refs/heads/master@{#371867}
-
msw authored
Fork Shelf View, Model, Button, TooltipManager, etc. These provide a baseline of ash/shelf-like functionality. (show open mash windows, support reordering, tooltips, etc.) Restructure some ownership patterns (eg. shelf owns model). Minimal code refactoring, removal and commenting. (attempt to minimize diff, keep/stub some features) TODO: Restore missing functionality/tests. BUG=557406 TEST=mojo:mash_shell's shelf starts looking more like ash. R=sky@chromium.org,bungeman@google.com Review URL: https://codereview.chromium.org/1585363002 Cr-Commit-Position: refs/heads/master@{#371866}
-
mseaborn authored
This removes all the PLUGIN_PRINTF/MODULE_PRINTF calls from components/nacl/renderer/plugin/. There aren't very many of these logging calls left now. They don't look useful to have in release binaries, and it's against Chromium style to keep this sort of logging in the code. Anyone doing debugging can manually add their own logging. My main motivation here is to remove a non-standard logging mechanism that depends on some native_client/ headers. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=2832 TEST=e.g. NaClBrowserTestPnacl.PPAPICore (tests PNaCl translation) Review URL: https://codereview.chromium.org/1631413002 Cr-Commit-Position: refs/heads/master@{#371865}
-