1. 12 Sep, 2014 40 commits
    • rsadam's avatar
      Change keyboard animation. · 20814d26
      rsadam authored
      BUG=355572
      
      Review URL: https://codereview.chromium.org/562373002
      
      Cr-Commit-Position: refs/heads/master@{#294647}
      20814d26
    • reed's avatar
      use NewUninitialized, cheaper than NewWithMalloc · a351adc8
      reed authored
      TBR=miguelg@chromium.org
      
      Review URL: https://codereview.chromium.org/569483002
      
      Cr-Commit-Position: refs/heads/master@{#294646}
      a351adc8
    • mostynb's avatar
      use OVERRIDE macro consistently in spdy_framer_test.cc · db3bbbfe
      mostynb authored
      Followup to CL 485833002, which mixed use of the OVERRIDE macro and
      bare override.
      
      BUG=400336
      
      Review URL: https://codereview.chromium.org/562353004
      
      Cr-Commit-Position: refs/heads/master@{#294645}
      db3bbbfe
    • Jian Li's avatar
      Fix incorrect link in gcm.json · 282871ec
      Jian Li authored
      BUG=none
      R=fgorski@chromium.org
      TBR=kalman@chromium.org
      
      Review URL: https://codereview.chromium.org/566933004
      
      Cr-Commit-Position: refs/heads/master@{#294644}
      282871ec
    • danakj's avatar
      Roll trace-viewer DEPS to 28dca0dcd6dd243beb96b2f091a1b78772d5b91d · d09441f8
      danakj authored
      TBR=dsinclair, nduca
      
      Review URL: https://codereview.chromium.org/540293003
      
      Cr-Commit-Position: refs/heads/master@{#294643}
      d09441f8
    • dpranke's avatar
      Remove the w3c test repos from DEPS (and remove the expectations file). · c359d304
      dpranke authored
      The W3C test suites are now being imported directly into Blink
      (checked in under LayoutTests/imported). We no longer need to
      pull in the repos via DEPS or have a separate expectations file.
      
      This is patchset 4 of 4 and completes the cutover.
      
      TBR=eseidel@chromium.org
      BUG=413467
      
      Review URL: https://codereview.chromium.org/557733003
      
      Cr-Commit-Position: refs/heads/master@{#294642}
      c359d304
    • Brett Wilson's avatar
      Add chrome test support target to GN build. · 052ce134
      Brett Wilson authored
      Instead of putting all the files in a bit test_support target, I made separate smaller test support targets for the various sub-projects (browser, common, etc.) and linked those in. This helps distribute the complexity.
      
      R=jamesr@chromium.org
      
      Review URL: https://codereview.chromium.org/559543003
      
      Cr-Commit-Position: refs/heads/master@{#294641}
      052ce134
    • weitaosu's avatar
      Revert of Convert device::UsbConfigDescriptor and friends to structs.... · f4995483
      weitaosu authored
      Revert of Convert device::UsbConfigDescriptor and friends to structs. (patchset #2 id:60001 of https://codereview.chromium.org/562763002/)
      
      Reason for revert:
      This broken the Linux ASan LSan Tests:
      http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%283%29/builds/7506
      http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/5717
      
      Sample callstacks:
      
      Direct leak of 400 byte(s) in 10 object(s) allocated from:
          #0 0x55c6eb in __interceptor_malloc (/b/build/slave/Linux_ASan_LSan_Tests__3_/build/src/out/Release/browser_tests+0x55c6eb)
          #1 0xab24bb8 in raw_desc_to_config third_party/libusb/src/libusb/descriptor.c:501:45
          #2 0xab24ab9 in libusb_get_active_config_descriptor third_party/libusb/src/libusb/descriptor.c:601:7
          #3 0xab14aae in device::UsbDeviceImpl::GetConfiguration() device/usb/usb_device_impl.cc:199:9
          #4 0xb37d57b in EnumerateOnFileThread(crypto::RSAPrivateKey*, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, scoped_refptr\u003Cbase::MessageLoopProxy>) chrome/browser/devtools/device/usb/android_usb_device.cc:262:42
          #5 0xb38aebf in Run base/bind_internal.h:288:12
          #6 0xb38aebf in base::internal::InvokeHelper\u003Cfalse, void, base::internal::RunnableAdapter\u003Cvoid (*)(crypto::RSAPrivateKey*, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, scoped_refptr\u003Cbase::MessageLoopProxy>)>, void (crypto::RSAPrivateKey* const&, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, base::MessageLoopProxy*)>::MakeItSo(base::internal::RunnableAdapter\u003Cvoid (*)(crypto::RSAPrivateKey*, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, scoped_refptr\u003Cbase::MessageLoopProxy>)>, crypto::RSAPrivateKey* const&, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, base::MessageLoopProxy*) base/bind_internal.h:927
          #7 0x2d58bff in Run base/callback.h:401:12
          #8 0x2d58bff in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) base/debug/task_annotator.cc:62
          #9 0x2ca519c in base::MessageLoop::RunTask(base::PendingTask const&) base/message_loop/message_loop.cc:446:3
          #10 0x2ca629e in DeferOrRunPendingTask base/message_loop/message_loop.cc:456:5
          #11 0x2ca629e in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:565
          #12 0x2c23ddf in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:232:21
          #13 0x2cd57b4 in base::RunLoop::Run() base/run_loop.cc:49:3
          #14 0x2ca39c4 in base::MessageLoop::Run() base/message_loop/message_loop.cc:308:3
          #15 0x50fd018 in content::BrowserThreadImpl::FileThreadRun(base::MessageLoop*) content/browser/browser_thread_impl.cc:190:3
          #16 0x50fdca7 in content::BrowserThreadImpl::Run(base::MessageLoop*) content/browser/browser_thread_impl.cc:244:14
          #17 0x2d1ebc8 in base::Thread::ThreadMain() base/threading/thread.cc:228:5
          #18 0x2d12b20 in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:80:3
          #19 0x7f4d560a3e99 in start_thread /build/buildd/eglibc-2.15/nptl/pthread_create.c:308
      
      Direct leak of 400 byte(s) in 10 object(s) allocated from:
          #0 0x55c6eb in __interceptor_malloc (/b/build/slave/Linux_ASan_LSan_Tests__1_/build/src/out/Release/browser_tests+0x55c6eb)
          #1 0xab24bb8 in raw_desc_to_config third_party/libusb/src/libusb/descriptor.c:501:45
          #2 0xab24ab9 in libusb_get_active_config_descriptor third_party/libusb/src/libusb/descriptor.c:601:7
          #3 0xab14aae in device::UsbDeviceImpl::GetConfiguration() device/usb/usb_device_impl.cc:199:9
          #4 0xb37d57b in EnumerateOnFileThread(crypto::RSAPrivateKey*, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, scoped_refptr\u003Cbase::MessageLoopProxy>) chrome/browser/devtools/device/usb/android_usb_device.cc:262:42
          #5 0xb38aebf in Run base/bind_internal.h:288:12
          #6 0xb38aebf in base::internal::InvokeHelper\u003Cfalse, void, base::internal::RunnableAdapter\u003Cvoid (*)(crypto::RSAPrivateKey*, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, scoped_refptr\u003Cbase::MessageLoopProxy>)>, void (crypto::RSAPrivateKey* const&, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, base::MessageLoopProxy*)>::MakeItSo(base::internal::RunnableAdapter\u003Cvoid (*)(crypto::RSAPrivateKey*, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, scoped_refptr\u003Cbase::MessageLoopProxy>)>, crypto::RSAPrivateKey* const&, base::Callback\u003Cvoid (std::__1::vector\u003Cscoped_refptr\u003CAndroidUsbDevice>, std::__1::allocator\u003Cscoped_refptr\u003CAndroidUsbDevice> > > const&)> const&, base::MessageLoopProxy*) base/bind_internal.h:927
          #7 0x2d58bff in Run base/callback.h:401:12
          #8 0x2d58bff in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) base/debug/task_annotator.cc:62
          #9 0x2ca519c in base::MessageLoop::RunTask(base::PendingTask const&) base/message_loop/message_loop.cc:446:3
          #10 0x2ca629e in DeferOrRunPendingTask base/message_loop/message_loop.cc:456:5
          #11 0x2ca629e in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:565
          #12 0x2c23ddf in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:232:21
          #13 0x2cd57b4 in base::RunLoop::Run() base/run_loop.cc:49:3
          #14 0x2ca39c4 in base::MessageLoop::Run() base/message_loop/message_loop.cc:308:3
          #15 0x50fd018 in content::BrowserThreadImpl::FileThreadRun(base::MessageLoop*) content/browser/browser_thread_impl.cc:190:3
          #16 0x50fdca7 in content::BrowserThreadImpl::Run(base::MessageLoop*) content/browser/browser_thread_impl.cc:244:14
          #17 0x2d1ebc8 in base::Thread::ThreadMain() base/threading/thread.cc:228:5
          #18 0x2d12b20 in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:80:3
          #19 0x7f4aef980e99 in start_thread /build/buildd/eglibc-2.15/nptl/pthread_create.c:308
      
      Original issue's description:
      > Convert device::UsbConfigDescriptor and friends to structs.
      >
      > These classes do not need to be classes and expecially don't need to be
      > abstract classes as this leads to a complicated implementation and
      > complicated tests. All USB devices no matter the platform will have the
      > same descriptor data.
      >
      > This change follows the model of device::HidDeviceInfo.
      >
      > BUG=
      >
      > Committed: https://crrev.com/be9e363a3af57bd313fbb96ec3b5fa02cef769b5
      > Cr-Commit-Position: refs/heads/master@{#294594}
      
      TBR=dgozman@chromium.org,rockot@chromium.org,rpaquay@chromium.org,pfeldman@chromium.org,reillyg@chromium.org
      NOTREECHECKS=true
      NOTRY=true
      BUG=
      
      Review URL: https://codereview.chromium.org/567003002
      
      Cr-Commit-Position: refs/heads/master@{#294640}
      f4995483
    • dschuff's avatar
      NaCl: Update revision in DEPS, r13733 -> r13739 · 4c1e40ba
      dschuff authored
      This pulls in the following Native Client changes:
      
      r13734: (dyen) Added support for extending basic thread functions in irt_ext.
      r13735: (dyen) Added testing for file link operations in irt_ext tests.
      r13738: (dschuff) Override xcode architecture for ia32 standalone builds
      r13739: (hidehiko) Non-SFI mode: Add -malign-double flag to pnacl-translate.
      
      BUG=none
      TEST=browser_tests and nacl_integration
      CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_rel_precise32,linux_arm_cross_compile,linux_nacl_sdk_build
      
      Review URL: https://codereview.chromium.org/569683002
      
      Cr-Commit-Position: refs/heads/master@{#294639}
      4c1e40ba
    • thestig's avatar
      PDF: Manipulate the selected text buffer to deal with special 0xfffe hyphens. · 974086e8
      thestig authored
      Also format text to match Adobe Reader.
      
      BUG=307523
      TEST=Manual, see bug (and duplicates for more examples)
      
      Review URL: https://codereview.chromium.org/566773005
      
      Cr-Commit-Position: refs/heads/master@{#294638}
      974086e8
    • mohan.reddy's avatar
      Refactoring the weak_ptr_factory order in content/browser/renderer_host · eef1b591
      mohan.reddy authored
      Changing in the intialization order of WeakPtrFactory such that all
      member variables should appear before the WeakPtrFactory to ensure
      that any WeakPtrs to Controller are invalidated before its members
      variable's destructors are executed, rendering them invalid.
      
      BUG=303818
      
      Review URL: https://codereview.chromium.org/567923002
      
      Cr-Commit-Position: refs/heads/master@{#294637}
      eef1b591
    • erikchen's avatar
      mac: Use immersive fullscreen for html5 style fullscreen. · 802fbf73
      erikchen authored
      This accidentally changed during the large fullscreen refactor. The method
      enterPresentationModeForURL:* was previously used to enter both immersive
      fullscreen and AppKit Fullscreen. Now it is only used to enter AppKit
      Fullscreen.
      
      BUG=406656
      
      Review URL: https://codereview.chromium.org/565803004
      
      Cr-Commit-Position: refs/heads/master@{#294636}
      802fbf73
    • dmazzoni's avatar
      Quick fix for backslash in ascii art interpreted as multi-line comment · 26215c30
      dmazzoni authored
      BUG=none
      TBR=chirantan,xiyuan
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/568853002
      
      Cr-Commit-Position: refs/heads/master@{#294635}
      26215c30
    • bradnelson's avatar
      Add gyp_vars to fake context in sdk build script. · 5831c275
      bradnelson authored
      We reuse SetupWindowEnvironment from the nacl build, in the sdk build.
      To do this we inject a fake build context.
      Previously windows in particular just needed an empty mutable context.
      Now it assumes gyp_vars is set to a list of some kind.
      Initializing 'gyp_vars' to unblock a deps roll.
      
      BUG=None
      TEST=trybots
      R=binji@chromium.org
      
      Review URL: https://codereview.chromium.org/566963002
      
      Cr-Commit-Position: refs/heads/master@{#294634}
      5831c275
    • tfarina's avatar
      bookmarks: Enable running BookmarkEditorView unit tests on Linux. · 5631bd75
      tfarina authored
      Previously it was running only on Windows, but due to migration to Aura,
      we should be running it on Linux as well.
      
      This makes the necessary changes to get it running on Linux.
      
      BUG=None
      TEST=unit_tests --gtest_filter=BookmarkEditor*
      R=sky@chromium.org
      
      Review URL: https://codereview.chromium.org/565143002
      
      Cr-Commit-Position: refs/heads/master@{#294633}
      5631bd75
    • dcheng's avatar
      Remove implicit conversion from scoped_refptr to T* in tools/gn · b66e11da
      dcheng authored
      This patch was generated by running the rewrite_scoped_refptr clang tool
      on a ChromeOS build.
      
      BUG=110610
      
      Review URL: https://codereview.chromium.org/555163004
      
      Cr-Commit-Position: refs/heads/master@{#294632}
      b66e11da
    • wjmaclean's avatar
      Move webrequest_api_constants.h/.cc · 4b2da4cd
      wjmaclean authored
      In preparation for moving webrequest_action, webrequest_rules_registry,
      we need to move this dependency.
      
      BUG=352293
      
      Review URL: https://codereview.chromium.org/565273002
      
      Cr-Commit-Position: refs/heads/master@{#294631}
      4b2da4cd
    • dalecurtis's avatar
      Revert of Gardening: Revert "Use AudioStreamMonitor to control power save... · bc6572e1
      dalecurtis authored
      Revert of Gardening: Revert "Use AudioStreamMonitor to control power save blocking." (patchset #1 id:1 of https://codereview.chromium.org/562863002/)
      
      Reason for revert:
      Bugs should be fixed now... will CQ this revert.
      
      Original issue's description:
      > Gardening: Revert "Use AudioStreamMonitor to control power save blocking."
      >
      > This reverts commit 484d29dc.
      >
      > This patch made media/media-controller-playbackrate.html test crash on DEBUG.
      >
      > it crashes at content/browser/web_contents/web_contents_impl.cc:4296 on DCHECK
      > Looks like AddMediaPlayerEntry was called twice for the same player_cookie
      >
      > It is not clear how it happens due to async nature of the notification.
      > The author is sleeping at the moment, so I decided to roll back the patch.
      >
      > BUG=
      > TBR=dalecurtis@chromium.org
      >
      > Committed: https://crrev.com/0381a74131887eb13b5d457cce756fb7066411ea
      > Cr-Commit-Position: refs/heads/master@{#294370}
      
      TBR=loislo@chromium.org,jam@chromium.org,miu@chromium.org,scherkus@chromium.org
      BUG=43667, 367785
      
      Review URL: https://codereview.chromium.org/569713002
      
      Cr-Commit-Position: refs/heads/master@{#294630}
      bc6572e1
    • dcheng's avatar
      Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/login · 130d3f51
      dcheng authored
      This patch was generated by running the rewrite_scoped_refptr clang tool
      on a ChromeOS build.
      
      BUG=110610
      
      Review URL: https://codereview.chromium.org/563553005
      
      Cr-Commit-Position: refs/heads/master@{#294629}
      130d3f51
    • dcheng's avatar
      Remove implicit conversions from scoped_refptr to T* in c/b/ui/webui · e610c024
      dcheng authored
      This patch was generated by running the rewrite_scoped_refptr clang tool
      on a ChromeOS build.
      
      BUG=110610
      
      Review URL: https://codereview.chromium.org/561903002
      
      Cr-Commit-Position: refs/heads/master@{#294628}
      e610c024
    • jamescook's avatar
      Move most extension feature unit tests to extensions_unittests · 2a8b7f14
      jamescook authored
      They don't need to run in Chrome's unit_tests suite any more.
      
      The tests that depend on Chrome's version channel information move to
      ChromeChannelFeatureFilterTest.
      
      BUG=413319,397165
      TEST=unit_tests ChromeChannelFeatureFilterTest.* and extensions_unittests
      
      Review URL: https://codereview.chromium.org/563923004
      
      Cr-Commit-Position: refs/heads/master@{#294627}
      2a8b7f14
    • tdresser's avatar
      Test that gesture events are created with correct coordinates. · 4fc3e94b
      tdresser authored
      BUG=412875
      TEST=WindowEventDispatcherTest.GestureEventCoordinates
      
      Review URL: https://codereview.chromium.org/564923003
      
      Cr-Commit-Position: refs/heads/master@{#294626}
      4fc3e94b
    • jamesr's avatar
      Add mojo_view_manager -> skia dep · ba547288
      jamesr authored
      Fixes windows component error since we use SkMatrix in DrawViewTree.
      
      BUG=413727
      
      Review URL: https://codereview.chromium.org/566933003
      
      Cr-Commit-Position: refs/heads/master@{#294625}
      ba547288
    • dnicoara's avatar
      Moving input device hotplug event processing outside of ui/display · 67548025
      dnicoara authored
      The change decouples input device hotplug event processing from output device
      hotplug processing. In addition, for input device event processing, it takes
      advantage of the X11 caches in ui/events and simplifies how hotplug events are
      propagated to the system.
      
      Depends on https://codereview.chromium.org/508303002/
      
      BUG=381326
      
      Review URL: https://codereview.chromium.org/336863002
      
      Cr-Commit-Position: refs/heads/master@{#294624}
      67548025
    • rdevlin.cronin's avatar
      Pop extensions out of the action overflow menu · 4d6a24d9
      rdevlin.cronin authored
      Extension actions that are dragged out of the overflow menu should not force
      another inside; rather they should "pop out" and cause the container to grow.
      Analogously, actions dragged in should reduce the size of the container.
      
      BUG=411394
      
      Review URL: https://codereview.chromium.org/550313002
      
      Cr-Commit-Position: refs/heads/master@{#294623}
      4d6a24d9
    • loislo's avatar
      Blink roll a6d61dbff0a4bce30fce5b29c2efb77a94ddc3ee:a11635f657e0f1ce75179fd7336a309a604ff847 · 4e9cb3a2
      loislo authored
      TBR=loislo
      BUG=
      
      Review URL: https://codereview.chromium.org/563273002
      
      Cr-Commit-Position: refs/heads/master@{#294622}
      4e9cb3a2
    • hansmuller's avatar
      JavaScript Content Handler Version 0.0 · b2cf607c
      hansmuller authored
      BUG=403645
      
      Review URL: https://codereview.chromium.org/467263006
      
      Cr-Commit-Position: refs/heads/master@{#294621}
      b2cf607c
    • nyquist's avatar
      Remove most usages of guava. · 56f97b71
      nyquist authored
      This CL removes most usages of the guava library.
      
      TBR=thakis@chromium.org,brettw@chromium.org,yfriedman@chromium.org
      BUG=412673
      
      Review URL: https://codereview.chromium.org/565743002
      
      Cr-Commit-Position: refs/heads/master@{#294620}
      56f97b71
    • cpu's avatar
      Revert "Disable HiResTimerManagerTest.ToggleOnOff on DrMemory." · 003f9b25
      cpu authored
      This reverts commit aefdf297.
      
      There was a logic bug.
      
      BUG=408911
      TBR= bruening
      
      Review URL: https://codereview.chromium.org/567793002
      
      Cr-Commit-Position: refs/heads/master@{#294619}
      003f9b25
    • nasko's avatar
      Revert of Non-plafrom-specific part of an OwnerSettingsService is moved to... · 1d9925fd
      nasko authored
      Revert of Non-plafrom-specific part of an OwnerSettingsService is moved to components/ownership/*. (patchset #4 id:60001 of https://codereview.chromium.org/548323003/)
      
      Reason for revert:
      Breaks compile on multiple bots:
      
      http://build.chromium.org/p/chromium.win/builders/Win%20Builder%20%28dbg%29/builds/3134
      http://build.chromium.org/p/chromium.mac/builders/Mac%20Builder%20%28dbg%29/builds/73424
      http://build.chromium.org/p/chromium.webkit/builders/GPU%20Win%20Builder%20%28dbg%29/builds/13365
      
      Original issue's description:
      > Non-plafrom-specific part of an OwnerSettingsService is moved to components/ownership/*.
      >
      > BUG=398856
      > TEST=existing browser_tests and unit_tests
      > R=erg@chromium.org, jochen@chromium.org, nkostylev@chromium.org, pastarmovj@chromium.org
      >
      > Committed: https://chromium.googlesource.com/chromium/src/+/46a58bffbe303d3484d7cc288b47bfae5388109c
      
      TBR=jochen@chromium.org,erg@chromium.org,nkostylev@chromium.org,pastarmovj@chromium.org,ygorshenin@chromium.org
      NOTREECHECKS=true
      NOTRY=true
      BUG=398856
      
      Review URL: https://codereview.chromium.org/565293003
      
      Cr-Commit-Position: refs/heads/master@{#294618}
      1d9925fd
    • davemoore's avatar
      Deregister window classes · 445ee792
      davemoore authored
      BUG=
      
      Review URL: https://codereview.chromium.org/557513002
      
      Cr-Commit-Position: refs/heads/master@{#294617}
      445ee792
    • landell's avatar
      Forward kPpapiInProcess flag to zygote process · 5dfcebfb
      landell authored
      Make sure this flag can be used for out of sandbox plugin setup.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/562073002
      
      Cr-Commit-Position: refs/heads/master@{#294616}
      5dfcebfb
    • skia-deps-roller's avatar
      Skia roll 1f777e8:8365830 · 09352616
      skia-deps-roller authored
      https://skia.googlesource.com/skia/+log/1f777e8580a67f2f975151bc414a1695696aa635..83658305a1bda2d862f50145ecf5cb697b575e86
      
      CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
      TBR=fmalita@google.com
      
      Review URL: https://codereview.chromium.org/564133002
      
      Cr-Commit-Position: refs/heads/master@{#294615}
      09352616
    • davidben's avatar
      Settings: manage location.hash explicitly on a Page. · 3c4d3347
      davidben authored
      Maintain the current hash associated each Page's state and use that rather than
      querying location.hash directly. This fixes several long-standing issues with
      the settings search page and the back/forward list:
      
      - Opening an overlay from a search page no longer keeps the fragment in the
        URL.
      - Closing an overlay no longer loses the search in the URL.
      - Navigating back from one search page to another actually works.
      - Navigating back from the search page doesn't clear the search box.
      
      Add tests for this behavior.
      
      BUG=410204
      
      Review URL: https://codereview.chromium.org/555163007
      
      Cr-Commit-Position: refs/heads/master@{#294614}
      3c4d3347
    • jamesr's avatar
      Compositor bindings for mojo html_viewer · 40cf556f
      jamesr authored
      This binds mojo's html_viewer to a compositor implementation that uses surfaces
      to present. It reuses the bindings for the WebLayer* types in cc/blink and adds
      a new implementation of blink::WebLayerTreeView that shares some things with
      content/renderer/gpu/render_widget_compositor.cc but is distinct enough to be
      its own class. Whenever the compositor resizes (and thus needs a new surface id)
      it passes the surface id to the view manager client lib.
      
      This also adds mojo bindings for a few new quad types that are used on the web.
      We don't yet have support for video quad types, but we don't have the media
      system hooked up to html_viewer yet either so these will not be generated.
      
      Committed: https://crrev.com/2abb46fdc18d2110b443a9e570ea393e3b0a42c5
      Cr-Commit-Position: refs/heads/master@{#294546}
      
      Review URL: https://codereview.chromium.org/558343004
      
      Cr-Commit-Position: refs/heads/master@{#294613}
      40cf556f
    • qinmin's avatar
      Provide fine grained media playback time thru interpolation · 4360c7c1
      qinmin authored
      This CL includes the following changes:
      1. Reduces the interval of media time update msg to 16 ms
      2. Use interpolation to calculate the current playback time, and guarantee that time is always incrementing
      
      BUG=327425
      
      Review URL: https://codereview.chromium.org/545993002
      
      Cr-Commit-Position: refs/heads/master@{#294612}
      4360c7c1
    • vollick's avatar
      Revert of Generalize scroll parent work in CalculateDrawProperties (patchset... · eb19494a
      vollick authored
      Revert of Generalize scroll parent work in CalculateDrawProperties (patchset #6 id:160001 of https://codereview.chromium.org/548963002/)
      
      Reason for revert:
      This patch seems to be exposing some bugs. They bugs appear not to be directly related to this patch, but I'm going to revert for now until I can investigate.
      
      Original issue's description:
      > Generalize scroll parent work in CalculateDrawProperties
      >
      > Previously, CDP would fail if the scroll child wasn't the immediate
      > descendant of the lowest common ancestor of the scroll parent and child.
      >
      > With this patch I've fixed up two things so that CDP can handle these
      > cases.
      >
      > 1. Dumber sorting.
      >   I've made sorting simpler by removing assumptions about the tree
      >   topology. Instead, I assigned "sort weights" to the layers in
      >   PreCalculateMetaInformation. The approach is pretty naive. As I
      >   walk the tree I assign a monotonically increasing weight. If I ever
      >   hit a scroll child before its parent, I jump up to the lowest common
      >   ancestor and make sure that the child of the LCA is assigned the
      >   smallest weight in the tree so far (the negative of the next
      >   monotonically increasing weight). This ensures that the scroll parent
      >   will be visited first. Here's a picture of a layer tree and the
      >   weights that would be assigned.
      >
      >   lca(0)
      >   + filler(1)
      >   | + scroll child(2)
      >   + more-filler(-3)
      >     + scroll parent(4)
      >
      >   It would be a huge bummer if we had to sort all the time, though, so
      >   I've taken care to flag the LCA if I ever have to assign a negative
      >   weight so that we only sort in that case.
      >
      >   Here's my argument for the correctness of the algorithm. Clearly,
      >   we force correct ordering of a particular scroll child/parent pair,
      >   but the worry is that by setting a negative weight, we'll force an
      >   illegal ordering (i.e., we'll "undo" an ordering we've forced
      >   earlier in the algorithm). Here's a diagram.
      >
      >   lca
      >   + subtree with scroll parent #1
      >   + subtree with scroll child #1 and scroll_parent #2
      >   + subtree with scroll child #2.
      >
      >   Now, say we're processing scroll child #2. We want to be sure that
      >   we don't go reordering subtrees and mess up the relative ordering of
      >   scroll child #1 and scroll parent #1's subtrees.
      >
      >   But we know that this is impossible. Since we've already visited the
      >   subtree with scroll child #1, scroll child #2 will necessarily get a
      >   higher sort weight, so we'll never need to force any reordering in
      >   this case; we won't assign any negative weights here.
      >
      >   Say the ordering were changed such that when processing scroll child
      >   #2, we haven't seen scroll child #1's subtree. We're also fine in
      >   this case because we will do any ordering fixups required when we do
      >   eventually visit scroll child #1.
      >
      >   The only case where we get into trouble is when we have a cycle. For
      >   example,
      >
      >   lca
      >    + scroll parent 1
      >    | + scroll child 2
      >    + scroll parent 2
      >      + scroll child 1
      >
      >   No ordering could satisfy a situation with a cycle, but this is
      >   an impossible situation as CSS stacking defines a well defined, non
      >   circular order.
      >
      > 2. Proper clip transformations.
      >   We sometimes need to put the scroll parent's clip into the space of
      >   the scroll child's immediate parent. This needs to go through the
      >   LCA. Previously, we'd assumed that the LCA was going to be the scroll
      >   child's immediate parent, but we no longer make that assumption.
      >
      > BUG=403866
      >
      > Committed: https://crrev.com/7faedca87705b714845842e595bca262c4090fa4
      > Cr-Commit-Position: refs/heads/master@{#294521}
      
      TBR=danakj@chromium.org
      NOTREECHECKS=true
      NOTRY=true
      BUG=403866
      
      Review URL: https://codereview.chromium.org/563313002
      
      Cr-Commit-Position: refs/heads/master@{#294611}
      eb19494a
    • xiyuan's avatar
      cros: Enable Drive apps integration in app launcher. · fde6f25b
      xiyuan authored
      BUG=412954
      
      Review URL: https://codereview.chromium.org/556403002
      
      Cr-Commit-Position: refs/heads/master@{#294610}
      fde6f25b
    • Yuri Gorshenin's avatar
      Non-plafrom-specific part of an OwnerSettingsService is moved to components/ownership/*. · 46a58bff
      Yuri Gorshenin authored
      BUG=398856
      TEST=existing browser_tests and unit_tests
      R=erg@chromium.org, jochen@chromium.org, nkostylev@chromium.org, pastarmovj@chromium.org
      
      Review URL: https://codereview.chromium.org/548323003
      
      Cr-Commit-Position: refs/heads/master@{#294609}
      46a58bff
    • Brett Wilson's avatar
      Fix component build error in GN build. · 390e5e85
      Brett Wilson authored
      The shared memory support functions weren't getting exported properly, and the right targets didn't depend on it. This is the last component build failure in the GN build as of now.
      
      R=dpranke@chromium.org
      
      Review URL: https://codereview.chromium.org/549043005
      
      Cr-Commit-Position: refs/heads/master@{#294608}
      390e5e85