diff options
author | jbauman <jbauman@chromium.org> | 2015-06-03 19:23:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-04 02:23:51 +0000 |
commit | 8da589acbe17b327b69abbece0c1c36a1a3b1f65 (patch) | |
tree | 0cb33611306faa3cbe69d9d8fe9c50d3784cb2aa /ui/aura/window_tree_host_ozone.h | |
parent | 613559e5bc149bf560e5422c31e17f1932e9baf6 (diff) | |
download | chromium_src-8da589acbe17b327b69abbece0c1c36a1a3b1f65.zip chromium_src-8da589acbe17b327b69abbece0c1c36a1a3b1f65.tar.gz chromium_src-8da589acbe17b327b69abbece0c1c36a1a3b1f65.tar.bz2 |
Hide compositor when DesktopWindowTreeHostWin::Hide is called.
This avoids trying to draw hidden windows and improves performance of resize because status bubble isn't continually redrawn.
Review URL: https://codereview.chromium.org/1157433008
Cr-Commit-Position: refs/heads/master@{#332768}
Diffstat (limited to 'ui/aura/window_tree_host_ozone.h')
-rw-r--r-- | ui/aura/window_tree_host_ozone.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/aura/window_tree_host_ozone.h b/ui/aura/window_tree_host_ozone.h index e4fcd02..e771109 100644 --- a/ui/aura/window_tree_host_ozone.h +++ b/ui/aura/window_tree_host_ozone.h @@ -28,8 +28,8 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost, // WindowTreeHost: ui::EventSource* GetEventSource() override; gfx::AcceleratedWidget GetAcceleratedWidget() override; - void Show() override; - void Hide() override; + void ShowImpl() override; + void HideImpl() override; gfx::Rect GetBounds() const override; void SetBounds(const gfx::Rect& bounds) override; gfx::Point GetLocationOnNativeScreen() const override; |