- 14 Feb, 2015 13 commits
-
-
dfalcantara authored
Moves a bunch of code from AppBannerManager into the new Java-side AppBannerInfoBarDelegate. This effectively makes it so that once an app banner is created by the AppBannerManager the AppBannerInfoBar is on its own for managing installation and blocking of the app it's promoting. Main changes include getting the WebContents and Tab from the infobar() itself rather than relying on the AppBannerManager to provide it. Further cleanup is required on the AppBannerManager to clean up the creation pipline. BUG=457414 Review URL: https://codereview.chromium.org/921073002 Cr-Commit-Position: refs/heads/master@{#316345}
-
vmiura authored
Using picture->playback() was causing some corrupted tiles however it seemed fixed. I was able to reproduce the bug on about:tracing, so reverting back to using SkMultiPictureDraw until fixed. TBR=vmpstr@chromium.org NOTRY=true BUG=454500 Review URL: https://codereview.chromium.org/926673003 Cr-Commit-Position: refs/heads/master@{#316344}
-
estade authored
Not hooked up to anything until https://codereview.chromium.org/910043002/ lands. BUG=437116 Review URL: https://codereview.chromium.org/915173011 Cr-Commit-Position: refs/heads/master@{#316343}
-
asargent authored
All it was doing with it is passing it through to its completion callback (apart from 2 VLOG statements). This CL changes to binding it to the callback directly with the base::Bind call. Also rename UpdateCallback to ResultsCallback, because that seemed like a better name to me. And run our autoformatting thing As Required By Law. BUG=458373 Review URL: https://codereview.chromium.org/924603003 Cr-Commit-Position: refs/heads/master@{#316342}
-
jbauman authored
The context lost callback will be called on the thread that the command buffer was bound to, and with the lock held. BUG=454500 Review URL: https://codereview.chromium.org/917223003 Cr-Commit-Position: refs/heads/master@{#316341}
-
erikchen authored
The URLs are used to generate fake Chromium profiles. BUG= Review URL: https://codereview.chromium.org/918893002 Cr-Commit-Position: refs/heads/master@{#316340}
-
cmumford authored
Verified working by commenting out the call to ackReceivedBlobs in Blink's IDBRequest::setBlobInfo() - test failed as expected. BUG=457502 Review URL: https://codereview.chromium.org/917353002 Cr-Commit-Position: refs/heads/master@{#316339}
-
asvitkine authored
This allows turning off safe-browsing experimentally for a percentage of users on Canary and seeing its impact on start up performance metrics. BUG=450037 Review URL: https://codereview.chromium.org/924543002 Cr-Commit-Position: refs/heads/master@{#316338}
-
lfg authored
This fixes with a use-after-free in the RenderFrameProxy reported by the asan bots, but uncovers another one. TEST=NavigateRemoteFrame BUG=357747 Review URL: https://codereview.chromium.org/929463004 Cr-Commit-Position: refs/heads/master@{#316337}
-
nasko authored
Most callsites in Chrome use process id, routing id pair. FindByRoutingID has the parameters in reverse order leading to bugs. This CL fixes the ordering. BUG=454610 Review URL: https://codereview.chromium.org/924953002 Cr-Commit-Position: refs/heads/master@{#316336}
-
rvargas authored
BUG=417532 Review URL: https://codereview.chromium.org/924803004 Cr-Commit-Position: refs/heads/master@{#316335}
-
robliao authored
Added support to download a finch guided extension for CrOS builds with the app list extension build bit enabled. BUG=457335 Review URL: https://codereview.chromium.org/775193003 Cr-Commit-Position: refs/heads/master@{#316334}
-
vmiura authored
Enable flag: --enable-threaded-gpu-rasterization This patch enables threaded rasterization in GpuTileTaskWorkerPool. There are some not yet landed/rolled dependencies: InProcessContextProvider Context Lost handling (jbauman@). Without this the feature should be considered unstable on WebViews. BUG=454500 Review URL: https://codereview.chromium.org/916723002 Cr-Commit-Position: refs/heads/master@{#316333}
-
- 13 Feb, 2015 27 commits
-
-
rdevlin.cronin authored
Was supposed to be added in https://codereview.chromium.org/923463003/, but missed it. BUG=458325 TBR=kalman@chromium.org Review URL: https://codereview.chromium.org/924143003 Cr-Commit-Position: refs/heads/master@{#316332}
-
nednguyen authored
Replace the expensive operation options.CreateParser() with parser = optparse.OptionParser() BUG=418375 Review URL: https://codereview.chromium.org/928573003 Cr-Commit-Position: refs/heads/master@{#316331}
-
megjablon authored
A resource throttle and ui manager for the Data Reduction Proxy bypass interstitials. The intersitial is shown when the user loads a resource that returns a data reduction proxy bypass on http. The user can choose to continue loading the page or go back to the previous page. If the user accepts loading the page, the intertitial will not be shown again for another 5 minutes. BUG=428408 Review URL: https://codereview.chromium.org/684223003 Cr-Commit-Position: refs/heads/master@{#316330}
-
rpaquay authored
BUG=458684 TBR=estade@chromium.org Review URL: https://codereview.chromium.org/930463002 Cr-Commit-Position: refs/heads/master@{#316329}
-
fsamuel authored
GuestViewManager mapped <owner WebContents, element instance ID> => guest instance ID on attachment. This routed IPCs from a given BrowserPlugin to the appropriate guest. Element instance IDs are unique per process. This mapping is fine in Chrome Apps where the embedder doesn't navigate but not for when the embedder is capable of cross-process navigation. In that case, element instance IDs of two BrowserPlugins in two different embedder processes of the same WebContents have the same key, and would thus route to the same guest. This is an issue because the lifetime of the exiting document overlaps with the lifetime of the entering document. Thus, racy behavior can occur. In particular, when navigating from one PDF to another, IPCs for tear down destined for the exiting BrowserPlugin can occasionally get routed to the entering BrowserPlugin. In bug 436339's case, the first step of tear down is to hide the guest content. That IPC ends up going to the entering guest, and so the new PDF is not displayed on screen. This CL fixes the issue by using <embedder process id, element instance ID> as the key to map to a guest instead of the embedder WebContents as the first component. BUG=436339 Review URL: https://codereview.chromium.org/921473006 Cr-Commit-Position: refs/heads/master@{#316328}
-
danakj authored
When splitting the picture pile list on LayerTreeHostImpl up into a list on each LayerTreeImpl, a bug was introduced in the pair gathering code. If a layer is not in the RSLL on the active tree, we need to still generate a pair for the pending twin if it is in the RSLL, so that we will raster the layer and block activation on it. R=enne, vmpstr BUG=458411 NOTRY=true Review URL: https://codereview.chromium.org/926023003 Cr-Commit-Position: refs/heads/master@{#316327}
-
sergeyu authored
TBR=wez@chromium.org BUG=458691 Review URL: https://codereview.chromium.org/923923003 Cr-Commit-Position: refs/heads/master@{#316326}
-
nasko authored
The CHECK helped narrow down the reasons for the failure and we know now that the sync IPC is failing. It needs more investigation why it happens, but the check can be removed now. BUG=397744 Review URL: https://codereview.chromium.org/922373004 Cr-Commit-Position: refs/heads/master@{#316325}
-
thakis authored
Revert of Roll ANGLE 592ab9dd91e..4085347266. (patchset #1 id:1 of https://codereview.chromium.org/925693002/) Reason for revert: Caused all kinds of build issues on the clang/win bots (try/catch are used, a few DISALLOW_COPY_AND_ASSSIGNs are qualified, and something about const params): http://build.chromium.org/p/chromium.fyi/builders/CrWinClang64%28dbg%29/builds/968/steps/compile/logs/stdio ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(94,5) : error: expected member name or ';' after declaration specifiers DISALLOW_COPY_AND_ASSIGN(Buffer11::BufferStorage); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ..\..\third_party\angle\src\common/angleutils.h(25,14) : note: expanded from macro 'DISALLOW_COPY_AND_ASSIGN' TypeName(const TypeName&) = delete; \ ^ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(94,5) : error: expected ')' (Probable fix: Drop the qualifier, and move it into the inner class if it's not there already) ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(124,40) : error: non-friend class member 'NativeStorage' cannot have a qualified name DISALLOW_COPY_AND_ASSIGN(Buffer11::NativeStorage); ~~~~~~~~~~^ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(124,40) : error: non-friend class member 'NativeStorage' cannot have a qualified name DISALLOW_COPY_AND_ASSIGN(Buffer11::NativeStorage); ~~~~~~~~~~^ Then a few of these: ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(211,9) : error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage' if (stagingBuffer->getDataRevision() > mResolvedDataRevision) ^~~~~~~~~~~~~ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(213,13) : error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage' if (stagingBuffer->getSize() > mResolvedData.size()) ^~~~~~~~~~~~~ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(215,39) : error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage' if (!mResolvedData.resize(stagingBuffer->getSize())) ^~~~~~~~~~~~~ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(230,60) : error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage' memcpy(mResolvedData.data(), mappedResource.pData, stagingBuffer->getSize()); ^~~~~~~~~~~~~ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(234,33) : error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage' mResolvedDataRevision = stagingBuffer->getDataRevision(); ^~~~~~~~~~~~~ ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(269,13) : error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage' if (stagingBuffer->getSize() < requiredSize) ^~~~~~~~~~~~~ And a bunch of these: In file included from ..\..\third_party\angle\src\libANGLE\renderer\d3d\ProgramD3D.cpp:14: In file included from C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\future:11: In file included from C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\functional:6: In file included from C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\xfunctional:7: C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\xstring(2214,3) : error: cannot compile this try statement yet _TRY_BEGIN ^~~~~~~~~~ C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\xstddef(30,21) : note: expanded from macro '_TRY_BEGIN' #define _TRY_BEGIN try { ^ Sorry about reverting something for an FYI bot, but the bot's been red all day for various reasons, and I'd like it to be green over the long weekend. I'll try a local build with the roll patched in and I'll send you fixes for the issues, to make up for it a bit. Original issue's description: > Roll ANGLE 592ab9dd91e..4085347266. > > https://chromium.googlesource.com/angle/angle/+log/592ab9dd91e..4085347266 > > BUG=391957,436191,450257,447419,452587,453543 > R=zmo@chromium.org,bajones@chromium.org > > Committed: https://crrev.com/8e556e6de2c40fbf7379056facb6c9fa5f508f3e > Cr-Commit-Position: refs/heads/master@{#316292} TBR=bajones@chromium.org,zmo@chromium.org,jmadill@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=391957,436191,450257,447419,452587,453543 Review URL: https://codereview.chromium.org/927753002 Cr-Commit-Position: refs/heads/master@{#316324}
-
dbeam authored
R=mlerman@chromium.org BUG=457255 Review URL: https://codereview.chromium.org/924783002 Cr-Commit-Position: refs/heads/master@{#316323}
-
estark authored
Before this change, fullscreen and mouse lock were allowed on file:// URLs without giving the user a chance to Allow or Deny them and without showing any persistent UI. This change makes it so that users are always prompted with persistent UI on file:// URLs. There is no way to remember the preference to show or hide the persistent permission bubble because file:// URLs lack a clear origin concept. BUG=455953,455882 TEST=Download http://adrifelt.github.io/demos/all-permissions (right click, Save As). Open the downloaded file in Chrome. Click "Fullscreen": a permissions bubble should have "Dismiss" and "Exit full screen" buttons, where "Dismiss" just dismisses the bubble. If you click Dismiss, the bubble should again show up when you enter fullscreen a second time. For Pointer Lock, the bubble should show Allow and Deny buttons, and the mouse should not be locked until you click Allow. Clicking Allow or Deny should not affect the behavior of the bubble if you press Pointer Lock again. Review URL: https://codereview.chromium.org/903683005 Cr-Commit-Position: refs/heads/master@{#316322}
-
orenb authored
The latest <paper-checkbox> matches the Material Design spec. The MD-Settings page will make use of this button in a follow-up CL. Since paper-checkbox isn't currently used in Chromium there shouldn't be any side effects for this change. BUG=457513 NOPRESUBMIT=true Review URL: https://codereview.chromium.org/913353002 Cr-Commit-Position: refs/heads/master@{#316321}
-
rtenneti authored
allocating it's own buffer. No functional change. Merge internal change: 85952670 R=rch@chromium.org Review URL: https://codereview.chromium.org/912163002 Cr-Commit-Position: refs/heads/master@{#316320}
-
sbc authored
Previously we were installing and using libssl0.9.8:i386 which was actually a miss-match with the 1.0.0 headers installed by libssl-dev. TEST=local (remove links and run install-build-deps.sh) Review URL: https://codereview.chromium.org/913183004 Cr-Commit-Position: refs/heads/master@{#316319}
-
fsamuel authored
setValueIgnoreMutation should call setValue so that derived attribute objects only need to modify setValue to get the desired behavior. BUG=none TBR=lazyboy@chromium.org Review URL: https://codereview.chromium.org/928623002 Cr-Commit-Position: refs/heads/master@{#316318}
-
jsbell authored
Tansaction => Transaction - apparently we were running low on 'R's at the time. R=cmumford@chromium.org Review URL: https://codereview.chromium.org/919343003 Cr-Commit-Position: refs/heads/master@{#316317}
-
hans authored
Unless we're targeting Android, Linux builders don't have the NDK checked out. BUG=452726 NOTRY=true Review URL: https://codereview.chromium.org/927703002 Cr-Commit-Position: refs/heads/master@{#316316}
-
nednguyen authored
This is to prepare for switching rasterize_and_micro_record's action_name_to_run from empty string to 'RunPageInteractions'. BUG=418375 Review URL: https://codereview.chromium.org/924133002 Cr-Commit-Position: refs/heads/master@{#316315}
-
dcastagna authored
The perf test texture_upload_perftest has been updated to use these new measurements. BUG=423481 Review URL: https://codereview.chromium.org/893673002 Cr-Commit-Position: refs/heads/master@{#316314}
-
thakis authored
The Mac valgrind bot started reporting the following after https://codereview.chromium.org/918533005/ landed: UninitCondition Conditional jump or move depends on uninitialised value(s) x_zone_size find_registered_purgeable_zone malloc_make_nonpurgeable imageio_make_nonpurgeable cache_get_and_retain CGImageReadSessionGetCachedImageBlockData copyImageBlockSetPNG ImageProviderCopyImageBlockSetCallback img_blocks_create img_blocks_extent img_data_lock CGSImageDataLock ripc_AcquireImage ripc_DrawImage CGContextDrawImage __-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1 -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] __-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1 -[NSImage _usingBestRepresentationForRect:context:hints:body:] -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] -[NSImage hitTestRect:withImageDestinationRect:context:hints:flipped:] ui::ThreePartImage::HitTestImage(CGPoint, NSImage*, CGRect) const ui::ThreePartImage::HitTest(CGPoint, CGRect) const ui::test::ThreePartImageTest_HitTest_Test::TestBody() I can't see anything wrong, and a very similar stack is already suppressed, so just suppress the report. BUG=453996,173779 TBR=andresantoso@chromium.org Review URL: https://codereview.chromium.org/927733002 Cr-Commit-Position: refs/heads/master@{#316313}
-
rockot authored
This unifies sources lists between GYP and GN builds and gets app_shell_unittests building on GN in most environments. BUG= Review URL: https://codereview.chromium.org/922093002 Cr-Commit-Position: refs/heads/master@{#316312}
-
nednguyen authored
Review URL: https://codereview.chromium.org/921283002 Cr-Commit-Position: refs/heads/master@{#316311}
-
Michael Giuffrida authored
BUG=458315 R=dzhioev@chromium.org Review URL: https://codereview.chromium.org/920223002 Cr-Commit-Position: refs/heads/master@{#316310}
-
erikchen authored
BUG=458397 Review URL: https://codereview.chromium.org/921983004 Cr-Commit-Position: refs/heads/master@{#316309}
-
newt authored
Review URL: https://codereview.chromium.org/922383004 Cr-Commit-Position: refs/heads/master@{#316308}
-
wjmaclean authored
This CL enables webview tags with allowsscaling="on" to respond to pinch touch gestures. BUG=453785 Review URL: https://codereview.chromium.org/916363003 Cr-Commit-Position: refs/heads/master@{#316307}
-
danakj authored
We were computing occlusion twice, once in UpdateDrawProperties and once in CalculateRenderPasses. Now just do it once in UpdateDrawProperties, which means we don't have to do that work at all if we draw again without dirtying the render surface layer list. This moves the call to UpdateTiles out of the loop for occlusion, instead calling it directly on each of the picture layers on the tree, meaning it does not have to be virtual anymore. This makes it possible for us to call UpdateTiles on picture layers that were not part of the RenderSurfaceLayerList. Though for now I left the behaviour as is with a TODO. Also removed all the old LayerTreeHostOcclusionTests. Added a few new ones to ensure occlusion gets saved correctly in layers and surfaces. The test cases that would be missing, I moved to be OcclusionTrackerTests. R=enne, vmpstr BUG=446751 Review URL: https://codereview.chromium.org/915083004 Cr-Commit-Position: refs/heads/master@{#316306}
-