summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_ozone.h
diff options
context:
space:
mode:
authorjbauman <jbauman@chromium.org>2015-06-03 19:23:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-04 02:23:51 +0000
commit8da589acbe17b327b69abbece0c1c36a1a3b1f65 (patch)
tree0cb33611306faa3cbe69d9d8fe9c50d3784cb2aa /ui/aura/window_tree_host_ozone.h
parent613559e5bc149bf560e5422c31e17f1932e9baf6 (diff)
downloadchromium_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.h4
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;