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

Side by Side Diff: ui/aura/window_tree_host_ozone.h

Issue 1091323002: Send a message through the ozone channel to recreate buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | ui/aura/window_tree_host_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_WINDOW_TREE_HOST_OZONE_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_OZONE_H_
6 #define UI_AURA_WINDOW_TREE_HOST_OZONE_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_OZONE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/events/event_source.h" 10 #include "ui/events/event_source.h"
(...skipping 20 matching lines...) Expand all
31 void Show() override; 31 void Show() override;
32 void Hide() override; 32 void Hide() override;
33 gfx::Rect GetBounds() const override; 33 gfx::Rect GetBounds() const override;
34 void SetBounds(const gfx::Rect& bounds) override; 34 void SetBounds(const gfx::Rect& bounds) override;
35 gfx::Point GetLocationOnNativeScreen() const override; 35 gfx::Point GetLocationOnNativeScreen() const override;
36 void SetCapture() override; 36 void SetCapture() override;
37 void ReleaseCapture() override; 37 void ReleaseCapture() override;
38 void SetCursorNative(gfx::NativeCursor cursor_type) override; 38 void SetCursorNative(gfx::NativeCursor cursor_type) override;
39 void MoveCursorToNative(const gfx::Point& location) override; 39 void MoveCursorToNative(const gfx::Point& location) override;
40 void OnCursorVisibilityChangedNative(bool show) override; 40 void OnCursorVisibilityChangedNative(bool show) override;
41 void OnChangedSurface() override;
41 42
42 ui::PlatformWindow* platform_window() { return platform_window_.get(); } 43 ui::PlatformWindow* platform_window() { return platform_window_.get(); }
43 44
44 private: 45 private:
45 // ui::PlatformWindowDelegate: 46 // ui::PlatformWindowDelegate:
46 void OnBoundsChanged(const gfx::Rect&) override; 47 void OnBoundsChanged(const gfx::Rect&) override;
47 void OnDamageRect(const gfx::Rect& damaged_region) override; 48 void OnDamageRect(const gfx::Rect& damaged_region) override;
48 void DispatchEvent(ui::Event* event) override; 49 void DispatchEvent(ui::Event* event) override;
49 void OnCloseRequest() override; 50 void OnCloseRequest() override;
50 void OnClosed() override; 51 void OnClosed() override;
(...skipping 13 matching lines...) Expand all
64 65
65 // Current Aura cursor. 66 // Current Aura cursor.
66 gfx::NativeCursor current_cursor_; 67 gfx::NativeCursor current_cursor_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone); 69 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostOzone);
69 }; 70 };
70 71
71 } // namespace aura 72 } // namespace aura
72 73
73 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_ 74 #endif // UI_AURA_WINDOW_TREE_HOST_OZONE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | ui/aura/window_tree_host_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698