1. 18 May, 2020 2 commits
    • Bo Majewski's avatar
      Files app: Code refactoring · e60eb8e5
      Bo Majewski authored
      Moves static functions and enums associated with sharing action to
      FileTasks. This is due to the fact that sharing with Android apps can
      take a path through FileTasks without touching FileManagerCommands. This
      CL just prepares the code for the additional UMA records, without
      actually adding new recoding actions.
      
      Bug: 1063169
      Change-Id: Ic8833574241c0d9502b77356dbbb58c44211cf81
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198849Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
      Commit-Queue: Bo Majewski <majewski@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#769589}
      e60eb8e5
    • Darren Shen's avatar
      vk: Fix not showing emoji keyboard when triggered from right click menu. · e64e94fb
      Darren Shen authored
      There's a race condition with the right-click emoji menu:
      
      1. User clicks "emoji".
      2. We change the input_view_url to be the emoji url.
      3. We then force the keyboard to show by enabling it temporarily.
      4. This will wake up the extension JS code if it's been suspended.
      5. Extension JS will listen to 'onActivate' which triggers the engine to
         re-enable.
      6. Enabling will reset the input_view_url to be the url specified in the XKB
         manifest and we overwrite the emoji URL set in step 2.
      
      Hence, we need to prevent step 6 from overidding. A crude way to do this to add
      a boolean flag to indicate whether the inputview url is currently overridden.
      If it's overridden, then enabling the engine should not reset the inputview url.
      
      This is not an ideal solution, but it's the simplest with lowest impact.
      
      Bug: 887612
      Change-Id: I5530bb09ab9127bd0c56e86f8e08c89db84b0047
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198856
      Commit-Queue: Darren Shen <shend@chromium.org>
      Reviewed-by: default avatarShu Chen <shuchen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#769588}
      e64e94fb
  2. 17 May, 2020 38 commits