Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 2963583003: Remove special casing for context menu animation for BrowserActions. (Closed)

Created:
3 years, 5 months ago by Ted C
Modified:
3 years, 5 months ago
Reviewers:
Theresa, ltian
CC:
chromium-reviews, agrieve+watch_chromium.org, Theresa
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove special casing for context menu animation for BrowserActions. Instead of using a different animation type, generate "fake" touch coordinates at the center of the screen to get the same result. BUG=719080 Review-Url: https://codereview.chromium.org/2963583003 Cr-Commit-Position: refs/heads/master@{#482906} Committed: https://chromium.googlesource.com/chromium/src/+/7df4d3a9181f7138fb7ea00c5a8bf51db6e8250a

Patch Set 1 #

Total comments: 2

Patch Set 2 : use Display#getSize #

Patch Set 3 : Fix findbugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/widget/ContextMenuDialog.java View 1 chunk +2 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Ted C
PTAL
3 years, 5 months ago (2017-06-27 18:48:57 UTC) #2
Theresa
https://codereview.chromium.org/2963583003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java File chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java (right): https://codereview.chromium.org/2963583003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java#newcode106 chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java:106: getWindow().getDecorView().getWindowVisibleDisplayFrame(rect); The JavaDoc for this says: "This function requires ...
3 years, 5 months ago (2017-06-27 20:05:33 UTC) #4
Ted C
https://codereview.chromium.org/2963583003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java File chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java (right): https://codereview.chromium.org/2963583003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java#newcode106 chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java:106: getWindow().getDecorView().getWindowVisibleDisplayFrame(rect); On 2017/06/27 20:05:33, Theresa wrote: > The JavaDoc ...
3 years, 5 months ago (2017-06-27 20:58:01 UTC) #5
Theresa
lgtm
3 years, 5 months ago (2017-06-27 20:59:42 UTC) #6
ltian
On 2017/06/27 20:59:42, Theresa wrote: > lgtm lgtm
3 years, 5 months ago (2017-06-27 22:57:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2963583003/20001
3 years, 5 months ago (2017-06-27 23:42:05 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/298874)
3 years, 5 months ago (2017-06-28 00:52:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2963583003/40001
3 years, 5 months ago (2017-06-28 05:58:02 UTC) #14
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 06:51:22 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7df4d3a9181f7138fb7ea00c5a8b...

Powered by Google App Engine
This is Rietveld 408576698