1. 23 Dec, 2014 16 commits
    • skia-deps-roller's avatar
      Roll src/third_party/skia d582cab:16c8f14 · b66b285d
      skia-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/skia/+log/d582cab..16c8f14
      
      CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
      TBR=bungeman@google.com
      
      Review URL: https://codereview.chromium.org/819963002
      
      Cr-Commit-Position: refs/heads/master@{#309509}
      b66b285d
    • sergeyu's avatar
      Fix input injector on Linux to release all keys before injecting text event. · 90253bdd
      sergeyu authored
      When '<' and '>' Android keyboard generates KEYCODE_SHIFT_LEFT followed by
      KEYCODE_COMMA or KEYCODE_PERIOD. Android client sends shift event as a key
      event and then the actual character is sent as a text event. As result
      when the input injector tries to inject text event shift key is pressed
      and as result injected keys are not interpreted correctly. Fixed input
      injector to release all keys before trying to inject text events.
      
      BUG=407463
      
      Review URL: https://codereview.chromium.org/806223008
      
      Cr-Commit-Position: refs/heads/master@{#309508}
      90253bdd
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit 55af1ae:be75b55 (svn 187627:187632) · 50987629
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/55af1ae..be75b55
      
      TBR=haraken@chromium.org,gavinp@chromium.org
      
      Review URL: https://codereview.chromium.org/809323004
      
      Cr-Commit-Position: refs/heads/master@{#309507}
      50987629
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in gpu/. · 083dec1a
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/817413002
      
      Cr-Commit-Position: refs/heads/master@{#309506}
      083dec1a
    • tfarina's avatar
      tools/gn: convert NULL to nullptr all over it. · 9b636af5
      tfarina authored
      nullptr is one of the C++11 allowed features. See https://chromium-cpp.appspot.com/ and https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/4mijeJHzxLg.
      
      This patch was generated with the following command lines:
      
      $ ninja -C out/Debug -t compdb cxx > out/Debug/compile_commands.json
      $ cd out/Debug
      $ find ../../tools/gn -name '*.cc'  | xargs -n 16 -P 32 \
      ~/src/repos/llvm/build/bin/clang-modernize -use-nullptr -p . -include \
      tools/gn -format -style=Chromium
      $ ninja gn gn_unittests
      
      BUG=None
      TEST=compiles + gn_unittests
      R=brettw@chromium.org
      
      Review URL: https://codereview.chromium.org/798333005
      
      Cr-Commit-Position: refs/heads/master@{#309505}
      9b636af5
    • jungjik.lee's avatar
      Reduce tile memory size · 0acd2d55
      jungjik.lee authored
      One tile memory takes 160 bytes currently.
      This patch can reduce the tile memory by removing unnecessary
      variables and packing the booleans to 144 bytes.
      
      BUG=341919
      
      Review URL: https://codereview.chromium.org/810713002
      
      Cr-Commit-Position: refs/heads/master@{#309504}
      0acd2d55
    • derekjchow's avatar
      Add time to first paint metric to CastMetricsHelper. · 0b1cb7b3
      derekjchow authored
      New metrics to record when cast_shell makes an initial paint for a
      webpage.
      
      R=gunsch@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/819213002
      
      Cr-Commit-Position: refs/heads/master@{#309503}
      0b1cb7b3
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 429bbdd2
      avi authored
      Covers jingle/, media/, ppapi/, remoting/, rlz/, skia/, and sync/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/819203002
      
      Cr-Commit-Position: refs/heads/master@{#309502}
      429bbdd2
    • tfarina's avatar
      tools/gn: Add missing template unittest entry for the GYP version. · 3a928a84
      tfarina authored
      The GN version 'gn_unittests' target has template_unittest.cc in its
      source list, but the GYP version not. This patch fixes that making them
      match.
      
      BUG=None
      TEST=gn_unittests --gtest_filter=Template*
      TBR=brettw@chromium.org
      
      Review URL: https://codereview.chromium.org/825543002
      
      Cr-Commit-Position: refs/heads/master@{#309501}
      3a928a84
    • zmo's avatar
      Run gpu/command_buffer/build_gles2_cmd_buffer.py and commit all changes. · c0df1d71
      zmo authored
      It must be some leftovers from another CL.
      
      Cleaning this up makes code reviews in gpu/command_buffer much easier.
      
      BUG=
      TEST=gpu_unittests
      R=kbr@chromium.org
      TBR=jamesr@chromium.org,bajones@chromium.org
      
      Review URL: https://codereview.chromium.org/799143003
      
      Cr-Commit-Position: refs/heads/master@{#309500}
      c0df1d71
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in net/. · 2339883c
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/823663003
      
      Cr-Commit-Position: refs/heads/master@{#309499}
      2339883c
    • kundaji's avatar
      Check that dataReductionUpdateDailyLengths is reset. · d77dccab
      kundaji authored
      Fix data reduction proxy browser tests to check that
      dataReductionUpdateDailyLengths is reset after date lengths are updated.
      
      BUG=384394
      
      Review URL: https://codereview.chromium.org/823703002
      
      Cr-Commit-Position: refs/heads/master@{#309498}
      d77dccab
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in content/. · 6e342bf2
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/823713002
      
      Cr-Commit-Position: refs/heads/master@{#309497}
      6e342bf2
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 83883c85
      avi authored
      Covers content/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/803813003
      
      Cr-Commit-Position: refs/heads/master@{#309496}
      83883c85
    • stanisc's avatar
      Enable Null Syncable ID which is different than Root ID. · 60c25aeb
      stanisc authored
      This patch prepares sync codebase for supporting datatypes with
      implicit permanent forlders by introducing an empty/unset
      syncable ID.
      There was a notion of Null ID before but it was equivalent
      to the root ID which caused some confusion in the code - a Null
      ID would sometimes be used where a "root" would be appropriate
      and vice versa.
      See the following code fragment for an example:
      // TODO(sync): We could use null here, but to ease conversion we use "r".
      // fix this, this is madness :)
      inline bool IsNull() const {
        return IsRoot();
      }
      
      This change will be followed by one or two separate changes
      that will actually remove dependencies on PARENT_ID and
      SERVER_PARENT_ID and use a different way to organize nodes
      in the directory based on node's datatype rather than parent ID.
      
      This change impacts the following:
      1) The default ID value in EntryKernel ID fields and elsewhere is
      Null ID and not Root ID as it used to be.
      2) This means that some tests that depended on Root ID being
      set implicitly
      in PARENT_ID and SERVER_PARENT_ID now need to set these IDs explicitly.
      3) Node's GetPredecessorId, GetSuccessorId, and GetFirstChildId
      methods now return a null ID rather than a root ID when there
      is no predecessor, successor, or children.
      4) Small changed throughout the code to make sure that
      null IDs and root IDs are used accordingly (now that they
      are no longer equivalent).
      5) Changed some validation methods to accept Null IDs
      to avoid large changes in the test code.
      
      BUG=438313
      
      Review URL: https://codereview.chromium.org/805633004
      
      Cr-Commit-Position: refs/heads/master@{#309495}
      60c25aeb
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in webkit/. · 5794dbf6
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/825523002
      
      Cr-Commit-Position: refs/heads/master@{#309494}
      5794dbf6
  2. 22 Dec, 2014 24 commits
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in apps/. · 9dcda9db
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/818113002
      
      Cr-Commit-Position: refs/heads/master@{#309493}
      9dcda9db
    • gunsch's avatar
      Chromecast on Android buildfix: don't try to create a RendererFactory. · 8fb7fbcb
      gunsch authored
      The CMA code is not linked in for Android builds.
      
      R=erickung@chromium.org
      TBR=lcwu@chromium.org
      BUG=None
      
      Review URL: https://codereview.chromium.org/821793002
      
      Cr-Commit-Position: refs/heads/master@{#309492}
      8fb7fbcb
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit 6e7a766:55af1ae (svn 187624:187627) · 55decbcd
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/6e7a766..55af1ae
      
      TBR=haraken@chromium.org,gavinp@chromium.org
      
      Review URL: https://codereview.chromium.org/824803002
      
      Cr-Commit-Position: refs/heads/master@{#309491}
      55decbcd
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 9ab03720
      avi authored
      Covers courgette/, dbus/, device/, extensions/, gin/, google_apis/, and gpu/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/819193002
      
      Cr-Commit-Position: refs/heads/master@{#309490}
      9ab03720
    • sullivan's avatar
      Implement ubertracing. · fdb146cf
      sullivan authored
      This is based on Nat's patch: https://codereview.chromium.org/441873007/
      
      Move timeline and importers to use telemetry.timeline.TraceData
      
      This (admittedly massive) patch actually gives us an ubertrace object: the
      TraceData. The key way to understand this CL is to read timeline/trace_data.py file,
      then read importer.py. The rest is cosmetic fallout from the signature changes.
      
      A TraceData contains the data from many tracers, and is always serializable. A
      TimelineModel is constructed from a single TraceData. Internally, a
      TraceData is an in memory version of json of the following form:
        { traceEvents: ...
          inspectorTimelineEvnets: ...
          tabIds: ...
        }
      
      Since a TraceData has all the tracer data, the model and importer system was
      updated so that instead of there being 1 importer per value, the importers
      instead indicate which part of the TraceData they can handle, if any.
      
      BUG=356763
      
      Review URL: https://codereview.chromium.org/805463002
      
      Cr-Commit-Position: refs/heads/master@{#309489}
      fdb146cf
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in crypto/. · 0db63a93
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463#
      
      Review URL: https://codereview.chromium.org/825503002
      
      Cr-Commit-Position: refs/heads/master@{#309488}
      0db63a93
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in printing code. · 0f9f1d79
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/795043004
      
      Cr-Commit-Position: refs/heads/master@{#309487}
      0f9f1d79
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in remoting/. · e3c0115c
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/823733002
      
      Cr-Commit-Position: refs/heads/master@{#309486}
      e3c0115c
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 556c0502
      avi authored
      Covers chrome/browser/* from f on.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/816403003
      
      Cr-Commit-Position: refs/heads/master@{#309485}
      556c0502
    • pkotwicz's avatar
      Fix crash when the source browser window is deleted during a drag · 6b8237f5
      pkotwicz authored
      This CL makes Widget::RunShellDrag() and DesktopDragDropClientWin not crash if
      the browser window is deleted during a drag-drop operation. An extension can
      delete the browser window during the drag-drop operation.
      
      BUG=440534
      TEST=BookmarkBarViewTest22.*
      R=pkasting
      TBR=sky (The files in ui/views/widget are identical to the original CL)
      
      Review URL: https://codereview.chromium.org/819793002
      
      Cr-Commit-Position: refs/heads/master@{#309484}
      6b8237f5
    • dcheng's avatar
      Remove an empty destructor in tool/gn's LoaderTest. · 53b26086
      dcheng authored
      Review URL: https://codereview.chromium.org/818033005
      
      Cr-Commit-Position: refs/heads/master@{#309483}
      53b26086
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in jingle/. · a4ebdc48
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/822833002
      
      Cr-Commit-Position: refs/heads/master@{#309482}
      a4ebdc48
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in device/. · 40b4fa47
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/818093003
      
      Cr-Commit-Position: refs/heads/master@{#309481}
      40b4fa47
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in sql/. · 1b3b125e
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/817403002
      
      Cr-Commit-Position: refs/heads/master@{#309480}
      1b3b125e
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in ui/. · 2c695fc2
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/819943002
      
      Cr-Commit-Position: refs/heads/master@{#309479}
      2c695fc2
    • tapted's avatar
      Fix NativeWidgetMacTest.HideAndShowExternally · bc8f6025
      tapted authored
      This regressed in r308886 because the unit test changed from having no
      activation policy to having a "Regular" activation policy.
      
      With a regular activation policy, calls to [NSApp hide/show*:] are
      asynchronous, so the run loop needs to be flushed afterwards.
      
      Also adds an extra check for [NSWindow makeKeyAndOrderFront:]. It
      doesn't need a runloop flush for the visibility change, but it should
      have coverage anyway.
      
      BUG=378134
      
      Review URL: https://codereview.chromium.org/809903009
      
      Cr-Commit-Position: refs/heads/master@{#309478}
      bc8f6025
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in ash/. · 5a497214
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/817393002
      
      Cr-Commit-Position: refs/heads/master@{#309477}
      5a497214
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 3ef9ec9e
      avi authored
      Covers chrome/app* and chrome/browser/* through e.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/819133004
      
      Cr-Commit-Position: refs/heads/master@{#309476}
      3ef9ec9e
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 1772c1ae
      avi authored
      Covers cloud_print/ and components/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/818103002
      
      Cr-Commit-Position: refs/heads/master@{#309475}
      1772c1ae
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in sync/. · 520ae85e
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/792343004
      
      Cr-Commit-Position: refs/heads/master@{#309474}
      520ae85e
    • dfalcantara's avatar
      Move DocumentTabModelSelector and related classes upstream · df1702e8
      dfalcantara authored
      * Moves various classes upstream.
      * Changes ActivityDelegate to use the DocumentUtils to access
        the task's baseIntent instead of calling getTaskInfo() directly.
      * Findbugs file changed for fields that are only read downstream.
      
      Submitting with NOTRY as true to get around findbugs submission issues.
      
      BUG=443773
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/821063002
      
      Cr-Commit-Position: refs/heads/master@{#309473}
      df1702e8
    • lanwei's avatar
      Explicitly suppress scrolling for wheel events that will trigger zooming · b3361bcd
      lanwei authored
      We added a flag in Blink to decide if Ctrl-wheel-scroll should scroll or zoom, and now we use this flag in chromium code.
      
      This patch is part of a series:
      
      patch #1: https://codereview.chromium.org/759073002
      patch #2: This CL
      patch #3: https://codereview.chromium.org/768443002
      
      BUG=397027, 378755
      
      Review URL: https://codereview.chromium.org/739013008
      
      Cr-Commit-Position: refs/heads/master@{#309472}
      b3361bcd
    • derekjchow's avatar
      Support for defered media load to cast_content_render_client. · d355ff75
      derekjchow authored
      Adds cast_media_load_dererrer to prevent unwanted media from being
      played in web_contents that are not currently visible.
      
      R=gunsch@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/824733002
      
      Cr-Commit-Position: refs/heads/master@{#309471}
      d355ff75
    • rsadam's avatar
      Removes tray keyboard icon from the status area. · 05cb187d
      rsadam authored
      BUG=444655
      TEST=TrayKeyboardLockTest.HiddenOnCreation, TrayKeyboardLockTest.HidesOnA11yEnabled, TrayKeyboardLockTest.PerformActionOnDefaultView
      
      Review URL: https://codereview.chromium.org/818083002
      
      Cr-Commit-Position: refs/heads/master@{#309470}
      05cb187d