1. 25 Apr, 2017 2 commits
  2. 22 Apr, 2017 1 commit
    • wangjimmy's avatar
      Add associated interfaces & bindings. · 6aabe530
      wangjimmy authored
      Add message serialize and deserialize associated endpoint handles.
      Add new MessageV2Builder, add encode and decode for associated endpoint handles.
      Modify tmpl to generate AssociatedInterfacePtr and use MessageV2Builder.
      Add associated_interface_ptr.html layout test to test encoding/decoding.
      
      BUG=695635
      
      Review-Url: https://codereview.chromium.org/2820783002
      Cr-Commit-Position: refs/heads/master@{#466531}
      6aabe530
  3. 21 Apr, 2017 2 commits
  4. 20 Apr, 2017 2 commits
    • bsheedy's avatar
      Make VR latency results compatible with perf dashboard, refactor into classes · a1584819
      bsheedy authored
      Makes the following changes to the automated VR latency testing script:
      - Adds the functionality to save latency and correlation results in a format
          compatible with the Chrome performance dashboard
      - Refactors the code into separate classes and files for improved readability
          and to better support future Windows latency testing
      - Runs the test multiple times (default 10) to get an average and standard deviation
      
      BUG=708747
      
      Review-Url: https://codereview.chromium.org/2823883003
      Cr-Commit-Position: refs/heads/master@{#466147}
      a1584819
    • thakis's avatar
      Remove enable_media_router. · 678822e9
      thakis authored
      It was set to false only on iOS and cast, but the define is mostly used
      in chrome/ which isn't used in neither iOS nor cast builds.
      
      No intended behavior change.
      
      BUG=461815,704958
      TBR=cpu
      
      Review-Url: https://codereview.chromium.org/2760403003
      Cr-Commit-Position: refs/heads/master@{#466043}
      678822e9
  5. 13 Apr, 2017 2 commits
    • noel's avatar
      Add LLVM fuzzer: QCMS color space and color transform · 6997c5c9
      noel authored
      Add fuzzer that reads test input and creates a color profile
      from it (or bails if not). Given that profile |test|, create
      another profile |srgb| used to transform colors to/from when
      running the color transform fuzzer test stage.
      
      Test ICC version 2 profiles only since ICC version 4 support
      in QCMS is not enabled in Chrome.
      
      Add third_party/qcms/DEPS: allows qcms_color_space_fuzzer to
      use //base and //testing code.
      
      Speed: achieves ~2300 execs/s on Mac Air. Seed corpus of ICC
      profiles uploaded to qcms_color_space_fuzzer GCS bucket.
      
      Set max_len to 4Meg (color profiles can be large and this is
      the limit that Chrome accepts), and use the ICC profile dict
      added in http://crrev.com/461603
      
      TBR=inferno@chromium.org
      BUG=708016
      
      Review-Url: https://codereview.chromium.org/2807083002
      Cr-Commit-Position: refs/heads/master@{#464398}
      6997c5c9
    • bsheedy's avatar
      Add automated VR latency tester · 84541d55
      bsheedy authored
      Adds a script to automatically measure the motion-to-photon/app latency
      for VR. This requires specialized hardware to measure the latency and move
      the device during the test, so it is only meant to be run on our swarming
      bot that has been set up to work with it.
      
      Has not yet been set up to run continuously, but currently works if manually
      triggered to run on our bot, so can be useful for teammates that do not have
      the necessary hardware to measure latency themselves.
      
      BUG=708747
      
      Review-Url: https://codereview.chromium.org/2799783002
      Cr-Commit-Position: refs/heads/master@{#464230}
      84541d55
  6. 10 Apr, 2017 1 commit
  7. 06 Apr, 2017 1 commit
  8. 04 Apr, 2017 1 commit
  9. 03 Apr, 2017 1 commit
    • mfomitchev's avatar
      Moving LatencyInfo into a separate component. · 3ba450ad
      mfomitchev authored
      This is necessary so that various parts of the GPU code do not need to depend on
      ui/events.
      
      BUG=686865
      TBR=ben@chromium.org
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;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/2783973002
      Cr-Commit-Position: refs/heads/master@{#461475}
      3ba450ad
  10. 02 Apr, 2017 1 commit
    • yzshen's avatar
      Mojo JS bindings: change module loading solution. · a0646991
      yzshen authored
      This change takes place on the mojo/public/js/new_bindings copy so it doesn't
      affect existing users.
      
      - This change gets rid of AMD module loading. Now the bindings API is defined in
      the "mojo" namespace. At build time, all bindings files are combined
      into a single file "mojo_bindings.js". Users should use <script> tag to include
      this file (as well as generated mojom.js files).
      
      - Generated mojom.js files export their definitions under the same namespace as
      the "module" statement in the corresponding mojom files.
      
      - This change also adds a "use_new_js_bindings" option to the generator. It
        duplicates the control message mojom files in order to generate two
        different flavors of JS bindings.
      
      - The new bindings use the Mojo system API defined by Web IDL.
      
      BUG=699569
      
      Review-Url: https://codereview.chromium.org/2759563004
      Cr-Original-Commit-Position: refs/heads/master@{#459654}
      Committed: https://chromium.googlesource.com/chromium/src/+/e6a5534bb3fe61b5224f1a22e43ba957190ad5d0
      Review-Url: https://codereview.chromium.org/2759563004
      Cr-Commit-Position: refs/heads/master@{#461349}
      a0646991
  11. 31 Mar, 2017 1 commit
    • yutak's avatar
      Reland: Move wtf_unittests to platform/wtf/. · 6fbccafc
      yutak authored
      This relands the exact same patch as the previous commit
      https://codereview.chromium.org/2771783003 did. This patch was reverted
      because the offending CL was dependent on it.
      
      TBRing since the exact same change was approved before.
      
      > This patch moves all the cpp files for wtf_unittests to their new home
      > platform/wtf. The target "wtf_unittests" is removed from wtf/BUILD.gn, and
      > it's added in platform/wtf/BUILD.gn. Due to this change, a few other files
      > need to be updated, too.
      
      BUG=691465
      TBR=haraken@chromium.org,thakis@chromium.org
      
      Review-Url: https://codereview.chromium.org/2787293002
      Cr-Commit-Position: refs/heads/master@{#461072}
      6fbccafc
  12. 30 Mar, 2017 1 commit
  13. 27 Mar, 2017 2 commits
    • vasilii's avatar
      Revert "Move files in wtf/ to platform/wtf/" · 9cd48d5c
      vasilii authored
      This reverts 2 CLs:
      https://codereview.chromium.org/2771783003
      https://codereview.chromium.org/2767153004
      
      Compilation on Windows was broken after r459386 if is_component_build=true.
      [6/3401] LINK(DLL) blink_platform.dll blink_platform.dll.lib blink_platform.dll.pdb
      FAILED: blink_platform.dll blink_platform.dll.lib blink_platform.dll.pdb
      C:/python_27_amd64/files/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /nologo /IMPLIB:./blink_platform.dll.lib /DLL /OUT:./blink_platform.dll /PDB:./blink_platform.dll.pdb @./blink_platform.dll.rsp
      LINK : fatal error LNK1104: cannot open file 'wtf.dll.lib'
      [55/3401] CXX irt_x64/obj/third_party/icu/icui18n/tzfmt.o
      ninja: build stopped: subcommand failed.
      
      'wtf.dll.lib' isn't created because it doesn't contain any symbols to export.
      
      BUG=691465
      TBR=yutak@chromium.org
      
      Review-Url: https://codereview.chromium.org/2774333002
      Cr-Commit-Position: refs/heads/master@{#459796}
      9cd48d5c
    • yutak's avatar
      Move wtf_unittests to platform/wtf/. · c3434c4e
      yutak authored
      This patch moves all the cpp files for wtf_unittests to their new home
      platform/wtf. The target "wtf_unittests" is removed from wtf/BUILD.gn, and
      it's added in platform/wtf/BUILD.gn. Due to this change, a few other files
      need to be updated, too.
      
      BUG=691465
      
      Review-Url: https://codereview.chromium.org/2771783003
      Cr-Commit-Position: refs/heads/master@{#459715}
      c3434c4e
  14. 22 Mar, 2017 1 commit
  15. 20 Mar, 2017 3 commits
    • wnwen's avatar
      Accessibility: Add gn file to build colorenhancer · 2c84eb65
      wnwen authored
      Initial migration of the old accessibility_extensions.gyp file which
      was removed during the gyp purge. Starting with the colorenhancer
      extension.
      
      BUG=701521
      
      Review-Url: https://codereview.chromium.org/2763573003
      Cr-Commit-Position: refs/heads/master@{#458230}
      2c84eb65
    • vasilii's avatar
      Revert of RELAND: ShapeDetection: use mojom::Bitmap for mojo interface.... · 0919785c
      vasilii authored
      Revert of RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (patchset #2 id:20001 of https://codereview.chromium.org/2753413002/ )
      
      Reason for revert:
      Broke shapedetection/detection-on-worker.html
      shapedetection/detection-security-test.html reliably:
      
      18:14:35.412 4150   [10306:39683:0319/181429.446067:1229254778376:WARNING:url_request_job_manager.cc(90)] Failed to map: layout-test-mojom://content/shell/renderer/layout_test/frame_interface_registry
      18:14:35.413 4150   [10306:39683:0319/181429.446194:1229254899173:WARNING:url_request_job_manager.cc(90)] Failed to map: layout-test-mojom://content/shell/renderer/layout_test/interface_registry
      18:14:35.413 4150   [10308:771:0319/181429.450430:1229259136455:ERROR:mojo_context_state.cc(199)] Failed to fetch source for module "content/shell/renderer/layout_test/frame_interface_registry"
      18:14:35.413 4150   [10308:771:0319/181429.450505:1229259209121:ERROR:mojo_context_state.cc(199)] Failed to fetch source for module "content/shell/renderer/layout_test/interface_registry"
      18:14:35.413 4150   [10308:771:0319/181429.452582:1229261287723:ERROR:mojo_context_state.cc(199)] Failed to fetch source for module "skia/public/interfaces/bitmap.mojom"
      18:14:35.414 4111 [46631/51882] shapedetection/detection-security-test.html failed unexpectedly (test timed out)
      
      Original issue's description:
      > RELAND: ShapeDetection: use mojom::Bitmap for mojo interface.
      >
      > Original CL got reverted due to shapedetection/detection-on-worker.html
      > fail to fetch source for module skia/public/interfaces/bitmap.mojom.
      >
      > This CL includes the generated JS bindings for skia/public/interfaces/bitmap.mojom
      > in the layout tests archive.
      >
      > Original CL description ------------------------------------------------
      > ShapeDetection: use mojom::Bitmap for mojo interface.
      >
      > This CL uses mojo::Bitmap for mojo ShapeDetection interfaces definition,
      > so that the Detect API is completely flexible and friendly.
      >
      > BUG=665488
      > TEST(Layout)=
      >  third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
      >  third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-empty-input.html
      >  third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
      >  third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
      >  third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html
      >  third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html
      >  third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html
      >
      > Review-Url: https://codereview.chromium.org/2629433003
      > Cr-Commit-Position: refs/heads/master@{#446142}
      > (cherry picked from commit 33adf4c8)
      >
      > Conflicts:
      > 	third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
      > 	third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
      > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
      >
      > TBR=rockot@chromium.org, dtrainor@chromium.org, haraken@chromium.org, bsalomon@google.com, tsepez@chromium.org
      > since the gist of the CL hasn't changed.
      >
      > Review-Url: https://codereview.chromium.org/2681913003
      > Cr-Original-Commit-Position: refs/heads/master@{#450582}
      > Review-Url: https://codereview.chromium.org/2753413002
      > Cr-Commit-Position: refs/heads/master@{#458010}
      > Committed: https://chromium.googlesource.com/chromium/src/+/b1caeee1ee08c8b3bcaa423c8aa4a9f06e9ce40a
      
      TBR=bsalomon@google.com,dtrainor@chromium.org,haraken@chromium.org,rockot@chromium.org,tsepez@chromium.org,mcasas@chromium.org,dpranke@chromium.org,junwei.fu@intel.com
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=665488
      
      Review-Url: https://codereview.chromium.org/2755393002
      Cr-Commit-Position: refs/heads/master@{#458033}
      0919785c
    • junwei.fu's avatar
      RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. · b1caeee1
      junwei.fu authored
      Original CL got reverted due to shapedetection/detection-on-worker.html
      fail to fetch source for module skia/public/interfaces/bitmap.mojom.
      
      This CL includes the generated JS bindings for skia/public/interfaces/bitmap.mojom
      in the layout tests archive.
      
      Original CL description ------------------------------------------------
      ShapeDetection: use mojom::Bitmap for mojo interface.
      
      This CL uses mojo::Bitmap for mojo ShapeDetection interfaces definition,
      so that the Detect API is completely flexible and friendly.
      
      BUG=665488
      TEST(Layout)=
       third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
       third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-empty-input.html
       third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
       third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
       third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html
       third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html
       third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html
      
      Review-Url: https://codereview.chromium.org/2629433003
      Cr-Commit-Position: refs/heads/master@{#446142}
      (cherry picked from commit 33adf4c8)
      
      Conflicts:
      	third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
      	third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
      
      TBR=rockot@chromium.org, dtrainor@chromium.org, haraken@chromium.org, bsalomon@google.com, tsepez@chromium.org
      since the gist of the CL hasn't changed.
      
      Review-Url: https://codereview.chromium.org/2681913003
      Cr-Original-Commit-Position: refs/heads/master@{#450582}
      Review-Url: https://codereview.chromium.org/2753413002
      Cr-Commit-Position: refs/heads/master@{#458010}
      b1caeee1
  16. 17 Mar, 2017 1 commit
  17. 16 Mar, 2017 1 commit
    • ajwong's avatar
      Build addr2line-pdb from tcmalloc for use in memory-infra symbolization · bf193279
      ajwong authored
      The memory-infra tools were first written on linux where the
      symbolization was done using addr2line. Turns out tcmalloc has some old
      code (with a few small bugs) that wraps the windows dbghelp.dll
      symbolization APIs in an addr2line-like interface called addr2line-pdb.
      
      This CL
        * fixes the small format string bugs
        * makes the windows library configuration #defines more friendly
          for chromium build
        * modifies addr2line to expect addresses relative to DllBase to better
          simulate how addr2line works with modules in linux.
      
      The last point is important. Windows DLL have a concept of "default load
      address" which hints to the OS where to load the binary image after
      relocation. The dbghelp.dll symbolization library will load the module
      at this location in the virtual address space meaning the caller of
      these functions would need to be aware of the base address. This makes
      things unnecessarily complex in the face of ASLR and also diverges from
      the behavior of addr2line when used with linux-style DSOs. This CL
      simply adds the module base address to the incoming addresses thereby
      making the input relative addresses for the module which both is easier
      to use and lines up better with linux's addr2line behavior.
      
      BUG=694792
      
      Review-Url: https://codereview.chromium.org/2730473002
      Cr-Commit-Position: refs/heads/master@{#457271}
      bf193279
  18. 10 Mar, 2017 1 commit
  19. 09 Mar, 2017 1 commit
    • rtoy's avatar
      Copy HRTF files to webaudio/resources/hrtf · 45c33100
      rtoy authored
      Don't reference the files in Source/platform/audio/resources from the
      tests.  Copy them to webaudio/resources/hrtf.  And add a README to
      indicate where these files came from.  The README in
      platform/audio/resources already references this directory, so we're
      all set.
      
      Also removed the files from BUILD.gn, reverting the previous
      change.
      
      BUG=693838,
      TEST=hrtf-database.html
      
      Review-Url: https://codereview.chromium.org/2741543002
      Cr-Commit-Position: refs/heads/master@{#455853}
      45c33100
  20. 08 Mar, 2017 1 commit
  21. 02 Mar, 2017 1 commit
  22. 27 Feb, 2017 1 commit
  23. 20 Feb, 2017 1 commit
  24. 18 Feb, 2017 1 commit
    • tansell's avatar
      WebKit LayoutTests needs more resources. · 2bf83ac0
      tansell authored
      It needs the PerformanceTests directory. This should fix the following
      failures;
       * fast/harness/perftests/perf-runner-compute-statistics.html
       * fast/harness/perftests/runs-per-second-iterations.html
       * fast/harness/perftests/runs-per-second-log.html
       * fast/harness/perftests/measure-frame-time.html
       * fast/harness/perftests/measure-time.html
      Which are failing with;
       CONSOLE ERROR: line 66: Uncaught ReferenceError: PerfTestRunner is not
       defined
      
      It needs the extracted devtools resources (bug https://crbug.com/693723
      created for this). This should fix the following failures;
       * inspector-protocol/heap-profiler/heap-samples-in-snapshot.html
       * inspector-protocol/heap-profiler/heap-snapshot-with-active-dom-object.html
       * inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html
       * inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html
      Which are failing with;
       TypeError: HeapSnapshotWorker.HeapSnapshotLoader is not a constructor
      
      BUG=52475,693723
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2705653002
      Cr-Commit-Position: refs/heads/master@{#451412}
      2bf83ac0
  25. 17 Feb, 2017 1 commit
  26. 16 Feb, 2017 3 commits
  27. 15 Feb, 2017 1 commit
    • thomasanderson's avatar
      Remove libgtk3ui from gn_all · 108710be
      thomasanderson authored
      Now that Chromium is switching to use_gtk3=true by default, it is
      unnecessary to build libgtk3ui from gn_all.
      
      In addition, this CL also guards libgtk2ui with !use_gtk3 so that
      gtk+-2.0.pc is not required during gn gen (and so gtk+-3.0.pc is not
      required for a gtk2 build).
      
      BUG=668446
      R=dpranke@chromium.org,erg@chromium.org
      
      Review-Url: https://codereview.chromium.org/2695823006
      Cr-Commit-Position: refs/heads/master@{#450611}
      108710be
  28. 07 Feb, 2017 2 commits
  29. 31 Jan, 2017 1 commit
  30. 28 Jan, 2017 1 commit