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

Issue 232653002: x11_util: Added GetInnerWindowBounds and GetWindowExtents. (Closed)

Created:
6 years, 8 months ago by Matt Giuca
Modified:
6 years, 2 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, Elliot Glaysher
Visibility:
Public.

Description

x11_util: Added GetInnerWindowBounds and GetWindowExtents. Renamed GetWindowRect to GetOuterWindowBounds, and re-implemented it in terms of GetInnerWindowBounds and GetWindowExtents. The separate access to inner bounds and extents can be used to cache extents to avoid having to query them repeatedly when they hardly ever change. BUG=357533 TBR=erg@chromium.org Committed: https://crrev.com/a42b23be397906c8d9a35da7a3e0c3b0e39fefd3 Cr-Commit-Position: refs/heads/master@{#299572}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 1

Patch Set 3 : Fix test compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -16 lines) Patch
M ui/base/x/x11_util.h View 1 3 chunks +12 lines, -3 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 6 chunks +33 lines, -12 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
Matt Giuca
Hi Dan, This is a precursor to https://codereview.chromium.org/216763002/. It's unclear whether that CL will go ...
6 years, 2 months ago (2014-10-14 00:25:59 UTC) #2
Daniel Erat
lgtm looks great!
6 years, 2 months ago (2014-10-14 14:17:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/232653002/20001
6 years, 2 months ago (2014-10-14 17:38:18 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/7707) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/24448)
6 years, 2 months ago (2014-10-14 17:54:42 UTC) #7
Matt Giuca
Adding erg for desktop_window_tree_host_x11_unittest.cc (TBR; mechanical change).
6 years, 2 months ago (2014-10-14 21:58:59 UTC) #9
Elliot Glaysher
lgtm
6 years, 2 months ago (2014-10-14 21:59:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/232653002/40001
6 years, 2 months ago (2014-10-14 22:00:16 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-14 22:47:37 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 22:48:16 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a42b23be397906c8d9a35da7a3e0c3b0e39fefd3
Cr-Commit-Position: refs/heads/master@{#299572}

Powered by Google App Engine
This is Rietveld 408576698