- 25 Oct, 2016 40 commits
-
-
yolandyan authored
BUG=618089 Review-Url: https://codereview.chromium.org/2444073002 Cr-Commit-Position: refs/heads/master@{#427226}
-
tedchoc authored
BUG= Review-Url: https://codereview.chromium.org/2444803003 Cr-Commit-Position: refs/heads/master@{#427225}
-
zmo authored
On Desktop 4.2 or later, and on ES3, BindBufferRange can be called without enough data store to backup the offset and size, assuming drivers will handle the out-of-bounds access correctly. In Chrome we play it safe by not trusting the drivers and emulate the older behavior everywhere (not just where it is required). BUG=429053 TEST=gpu_unittests R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2446773002 Cr-Commit-Position: refs/heads/master@{#427224}
-
azurewei authored
If the shelf is auto-hidden, show the opt-in IME menu with accelerator 'Alt+Shilf+K', the IME menu bubble cannot be oped right (it opens half off the screen, shifted to the right). We should notify to bring out the shelf before showing the IME menu. When closing the opt-in IME menu with 'Esc' key, the shelf cannot be auto hidden immediately. We should notify the auto hide state changed to auto hide the shelf. BUG=642423 TEST=Verified on local build. Review-Url: https://codereview.chromium.org/2432163006 Cr-Commit-Position: refs/heads/master@{#427223}
-
gogerald authored
This gives better user experience since compound drawable do not support click event. BUG=657178,640430 Review-Url: https://codereview.chromium.org/2434383002 Cr-Commit-Position: refs/heads/master@{#427222}
-
twellington authored
Currently the Bar may show either an animated sprite or a thumbnail. Add support for a static icon which may be shown instead of a thumbnail. BUG=657063 Review-Url: https://codereview.chromium.org/2449653002 Cr-Commit-Position: refs/heads/master@{#427221}
-
ynovikov authored
BUG=655147, 658832, 658842, 658844, 658898 CQ_INCLUDE_TRYBOTS=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;master.tryserver.chromium.android:android_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2445973002 Cr-Commit-Position: refs/heads/master@{#427220}
-
wangxianzhu authored
Previously we match blink setting/feature names ignoring case. This causes trouble when the name is used in a case-sensitive environment, e.g. Linux file system. Make them case-sensitive to avoid the trouble. third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=slimmingPaintInvalidation which is a violation of the new case-sensitive rule is removed in this CL. It will be re-added in https://codereview.chromium.org/2448633002/ to avoid problems on platforms using case-insensitive file names. Review-Url: https://codereview.chromium.org/2445123002 Cr-Commit-Position: refs/heads/master@{#427219}
-
jbudorick authored
BUG=623989 TBR=dpranke@chromium.org Review-Url: https://codereview.chromium.org/2437383002 Cr-Commit-Position: refs/heads/master@{#427218}
-
dalecurtis authored
This prevents repeated rendering of the first frame and ensures the algorithm knows about the frame being painted so that future calls to OnLastFrameDropped() don't muck with statistics incorrectly. Results seem slightly mixed, but maybe the official perf bot will provide stronger evidence. It's a good change regardless. BUG=627172, 656231 TEST=perf tests. Review-Url: https://codereview.chromium.org/2437623004 Cr-Commit-Position: refs/heads/master@{#427217}
-
bmcquade authored
metrics_web_contents_observer.h/.cc have become quite complex. This change factors the PageLoadTracker code into its own files, in order to make each individual file more manageable. Review-Url: https://codereview.chromium.org/2435233002 Cr-Commit-Position: refs/heads/master@{#427216}
-
yosin authored
This patch converts "editing/selection/5497643.html" to use |assert_selection()| to simplify test case and renames to "after-removing-textarea.html" to provide a hint what this test verifies for improving code health. BUG=n/a TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2441363002 Cr-Commit-Position: refs/heads/master@{#427215}
-
warx authored
Changes include: (1) Suspect content::RunAllPendingInMessageLoop is the reason for flaky, since BrowserWindow::IsActive is asynchronous on Mac and Linux. (2) Construct a non-empty url as there is a DCHECK here: https://cs.chromium.org/chromium/src/chrome/browser/ui/browser_navigator.cc?type=cs&sq=package:chromium&rcl=1476314269&l=530 (3) function->set_extension as there is a DCHECK here: https://cs.chromium.org/chromium/src/chrome/browser/extensions/browser_extension_window_controller.cc?type=cs&q=browser_extension_window_controller.cc&sq=package:chromium&l=87 BUG=136562 TEST=change is on test itself If flaky is still observed, please disable the test again. Review-Url: https://codereview.chromium.org/2419763002 Cr-Commit-Position: refs/heads/master@{#427214}
-
wangxianzhu authored
Now it returns PaintInvalidationBoundsChange instead of PaintInvalidationIncremental when bounds change for non-LayoutBox. Then we don't need to override PaintInvalidationIncremental with PaintInvalidationFull in ObjectPaintInvalidatorWithContext:: invalidatePaintIfNeeded(). About layout test changes: - Some test no longer produce PaintInvalidationSelection invalidations when the object is doing full paint invalidation; - Some "full" invalidations are now "bounds change" invalidations. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2442383002 Cr-Commit-Position: refs/heads/master@{#427213}
-
ericwilligers authored
Observer lists now support range-based for loops. BUG=655021 Review-Url: https://codereview.chromium.org/2440303002 Cr-Commit-Position: refs/heads/master@{#427212}
-
rockot authored
Previously we were only flushing queued messages in OnProcessLaunched. This means that any messages queued during initialization would never be delivered for in-process renderers. Specifically this can negatively affect webview behavior in production. BUG=656582 R=jam@chromium.org Review-Url: https://codereview.chromium.org/2448663003 Cr-Commit-Position: refs/heads/master@{#427211}
-
amaralp authored
Previously clank would not call View#startActionMode for a FloatingPastePopup menu if the copy/paste clipboard was empty (because there would be nothing in the menu). This is a problem because apps using WebView may want to add items to the FloatingPastePopup menu (using startActionMode) even if the clipboard is empty. This patch makes clank call View#startActionMode and make an empty menu when there is nothing to paste. BUG=652916 Review-Url: https://codereview.chromium.org/2443963003 Cr-Commit-Position: refs/heads/master@{#427210}
-
fgorski authored
This patch addresses the following problems: * Offline icon is not shown in omnibox on tablets * Offline verbose status is sometimes shown with green padlock * URL emphasis lags behind security icon update. This fix does the following: * Moves the offline icon from the navigation button to security button * Ensures that navigation button is never shown on phones * Calculates when to show: navigation/security/no button, to properly show or hide icon container. * Moves verbose status visibility control to security button related code (as that is where we show offline stuff and would show verbose security states) BUG=656088,648129 R=tedchoc@chromium.org Review-Url: https://codereview.chromium.org/2438413002 Cr-Commit-Position: refs/heads/master@{#427209}
-
piman authored
BUG=656572, 658668 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2443413002 Cr-Commit-Position: refs/heads/master@{#427208}
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug (or complain) build: https://crrev.com/71945ff218759ff4121b5c3f8ddc4843bba423c7 Roll recipe dependencies (trivial). (recipe-roller@chromium.org) https://crrev.com/93c1c44e6424b382a801036419c975fd4f7063ec Reland "Support xctests" (smut@google.com) https://crrev.com/a3a2062832e5218037413c5495ffc093d4b1ff8e Roll recipe dependencies (trivial). (recipe-roller@chromium.org) depot_tools: https://crrev.com/1a8439a7d9d0593a953a89b16cc154cd35f6a34e Clean up gclient sync's construction of the set of modified files (agable@chromium.org) https://crrev.com/c972d189fa495709f455b060a3c963e482d19a25 Remove SVN support from checkout.py (agable@chromium.org) TBR=martiniss@chromium.org,phajdan.jr@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Review-Url: https://codereview.chromium.org/2449703002 Cr-Commit-Position: refs/heads/master@{#427207}
-
thestig authored
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2444643002 Cr-Commit-Position: refs/heads/master@{#427206}
-
qinmin authored
When a download's MIME type is remapped, Chrome should use the new MIME type. However, when opening a download from download home, GUID is used to find the download. The download history stores the original MIME type, which is not remapped. This causes Chrome to incorrectly launch an intent even if the type is supported. BUG=657594 Review-Url: https://codereview.chromium.org/2437243002 Cr-Commit-Position: refs/heads/master@{#427205}
-
qinmin authored
When clicking on download notification, Chrome checks if the download file can be opened by itself. This calls into a native function. However, if user kills Chrome, and then clicks the notification, this generates a Broadcast to Chrome. When BroadcastReceiver runs, native library is not loaded. As a result, this generates a crash. This CL solves the problem by performing the mime type checking when download completes. So that we don't need to check it when BroadcastReceiver runs BUG=658012 Review-Url: https://codereview.chromium.org/2446643004 Cr-Commit-Position: refs/heads/master@{#427204}
-
thestig authored
https://chromium.googlesource.com/external/github.com/googlei18n/sfntly/+log/1ef790a..e33ba7a e33ba7a Merge pull request #60 from leizleiz/leizleiz-crbug 1bc53e1 Fix undefined shifts in ReadableFontData::ReadShort. d651349 Check for negative size in NameTable::NameAsBytes. 8475d2f Avoid NULL derefs inside FontHeaderTable::Builder. 1fba3b3 Fix undefined shifts in ReadableFontData::ReadLong. 083b02b Fix NULL pointer derefs in sfntly::Font::Builder. 6d1efaa Fix out of bound access in subtly sample program. cafc4c8 Merge pull request #59 from HalCanary/pronounciation 7d5169e README: pronounciation guide BUG=638573,641452,646300,646347,654663,655914 TBR=behdad@chromium.org Review-Url: https://codereview.chromium.org/2444123002 Cr-Commit-Position: refs/heads/master@{#427203}
-
dominickn authored
This CL compiles PermissionInfoBarDelegate only on Android. It also refactors the delegate subclasses to move their Create methods to PermissionInfoBarDelegate, simplifying the PermissionsQueueController. This refactor simplifies the work necessary to allow infobars to be switched out for modal permission prompt dialogs by centralising the delegate creation logic. BUG=658125 Review-Url: https://codereview.chromium.org/2443463003 Cr-Commit-Position: refs/heads/master@{#427202}
-
ikilpatrick authored
Creating derived constraint spaces from the layout opportunity iterator wasn't being used for the float case, and isn't needed for the text case either. Removing! BUG=635619 Review-Url: https://codereview.chromium.org/2438313003 Cr-Commit-Position: refs/heads/master@{#427201}
-
zmo authored
Also, refactor buffer access validation a bit to reduce duplicated codes. (Note that this is still part 1 of the work. We have more buffer access paths that we need to put in buffer access validation.) BUG=654201 TEST=gpu_unittests, webgl_conformance R=piman@chromium.org CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2435803004 Cr-Commit-Position: refs/heads/master@{#427200}
-
tedchoc authored
FLAG_ACTIVITY_RETAIN_IN_RECENTS is required on L+ or the activities disappear on upgrade. BUG=656196 Review-Url: https://codereview.chromium.org/2445133002 Cr-Commit-Position: refs/heads/master@{#427199}
-
jam authored
They already work. BUG=504347,575215 Review-Url: https://codereview.chromium.org/2448623002 Cr-Commit-Position: refs/heads/master@{#427198}
-
ccameron authored
We're crashing due to a null m_stateRestorer in the fuzzer. It's unclear how this is possible, so add CHECKs to indicate where this is going wrong. These CHECKS should be changed to DCHECKs when the issue is addressed. BUG=658265 Review-Url: https://codereview.chromium.org/2439073003 Cr-Commit-Position: refs/heads/master@{#427197}
-
luoe authored
Before, switching devices in Device Mode would set the zoom scale to fit the window. Now, devices will remember their last used mode. BUG=656020 Review-Url: https://codereview.chromium.org/2431823002 Cr-Commit-Position: refs/heads/master@{#427196}
-
mahmadi authored
BUG=653836 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2428083002 Cr-Commit-Position: refs/heads/master@{#427195}
-
xidachen authored
Most of these tests are testing conformance for TypedArrays, ArrayBuffer, bufferData, and some basic WebGL functions. I believe all these tests are upstreamed in Github, so there is no reason to keep it here. Note that I didn't delete all tests under this dir, only the ones I can quickly locate its duplicates on conformance test suite. BUG=none Review-Url: https://codereview.chromium.org/2447493002 Cr-Commit-Position: refs/heads/master@{#427194}
-
avi authored
BUG=555865 Review-Url: https://codereview.chromium.org/2442953002 Cr-Commit-Position: refs/heads/master@{#427193}
-
yusukes authored
Also, add GetAppIndex() to ArcNavigationThrottle and use it from ArcExternalProtocolDialog to reduce code duplication. BUG=None TEST=try Review-Url: https://codereview.chromium.org/2443313002 Cr-Commit-Position: refs/heads/master@{#427192}
-
warx authored
BUG=658124 TEST=self sustained Review-Url: https://codereview.chromium.org/2442933002 Cr-Commit-Position: refs/heads/master@{#427191}
-
rockot authored
Changes serviceConnectionError() to be a no-op if Platform::current() is null. This can happen because MessageLoop destruction may invoke the callback after Blink shutdown. TBRing since this precise change was recommended by haraken@ and I'd like to make sure the fix lands ASAP. BUG=650637 TBR=haraken@chromium.org Review-Url: https://codereview.chromium.org/2446723002 Cr-Commit-Position: refs/heads/master@{#427190}
-
dougt authored
Revert of Add threadsafe version of PermissionManager::GetPermissionStatus (patchset #5 id:80001 of https://codereview.chromium.org/2439673004/ ) Reason for revert: Going to address a number of issues that Raymes pointed out including: 1) It's unclear the purpose the overloaded GetPermissionStatus function (see https://google.github.io/styleguide/cppguide.html#Function_Overloading). It could be good to name it something that reflects its usage from a background thread. 2) In PermissionManager, it's unclear that it is threadsafe while the rest of the class isn't - we should add a comment. 3) It's unclear why HostContentSettingsMap needs to be passed in - it's already available in the PermissionContextBase. 4) I feel like it would be better to leave the default implementation empty in the PermissionContextBase and have NOTREACHED. Then if someone really wants to support querying a permission safely from a background thread, they have to think about it. Original issue's description: > Add threadsafe version of PermissionManager::GetPermissionStatus > > Add a version of GetPermissionStatus that takes a host_content_settings_map. > This method is guaranteed to be threadsafe. > > BUG=658020 > > R=jochen, mlamouri > > Committed: https://crrev.com/d6b19d48cf91f89c1ec414485b781f2ef2434521 > Cr-Commit-Position: refs/heads/master@{#427078} TBR=mlamouri@chromium.org,jochen@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=658020 Review-Url: https://codereview.chromium.org/2446863002 Cr-Commit-Position: refs/heads/master@{#427189}
-
xidachen authored
The transferToImageBitmap is an API in OffscreenCanvas. This API could throw exception in certain cases, which means that the OffscreenCanvas::transferToImageBitmap() method has a ExceptionState& parameter. In our current implementation, we do all the exception check in the above method. However, we still pass the ExceptionState& parameter to the CanvasRenderingContext::transferToImageBitmap() method, and this method is overriden by OffscreenCanvasRenderingContext2D, WebGLRenderingContext, and WebGL2RenderingContext. So this method in all these sub-classes also take a ExceptionState& parameter but do nothing with it. We should not need to pass this parameter to CanvasRenderingContext::transferToImageBitmap. TBR=kbr@chromium.org, zmo@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2440213003 Cr-Commit-Position: refs/heads/master@{#427188}
-
mattdr authored
Added by mistake in https://chromiumcodereview.appspot.com/2436913003 BUG=webrtc:6376 Review-Url: https://codereview.chromium.org/2450553002 Cr-Commit-Position: refs/heads/master@{#427187}
-