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

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

Issue 1406333003: aura: Support SurfaceDestroyed() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wth2
Patch Set: comment Created 5 years, 2 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_platform.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PLATFORM_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_
6 #define UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/aura/aura_export.h" 10 #include "ui/aura/aura_export.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // ui::PlatformWindowDelegate: 45 // ui::PlatformWindowDelegate:
46 void OnBoundsChanged(const gfx::Rect& new_bounds) override; 46 void OnBoundsChanged(const gfx::Rect& new_bounds) override;
47 void OnDamageRect(const gfx::Rect& damaged_region) override; 47 void OnDamageRect(const gfx::Rect& damaged_region) override;
48 void DispatchEvent(ui::Event* event) override; 48 void DispatchEvent(ui::Event* event) override;
49 void OnCloseRequest() override; 49 void OnCloseRequest() override;
50 void OnClosed() override; 50 void OnClosed() override;
51 void OnWindowStateChanged(ui::PlatformWindowState new_state) override; 51 void OnWindowStateChanged(ui::PlatformWindowState new_state) override;
52 void OnLostCapture() override; 52 void OnLostCapture() override;
53 void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget, 53 void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
54 float device_pixel_ratio) override; 54 float device_pixel_ratio) override;
55 void OnAcceleratedWidgetDestroyed() override;
55 void OnActivationChanged(bool active) override; 56 void OnActivationChanged(bool active) override;
56 57
57 gfx::AcceleratedWidget widget_; 58 gfx::AcceleratedWidget widget_;
58 scoped_ptr<ui::PlatformWindow> window_; 59 scoped_ptr<ui::PlatformWindow> window_;
59 gfx::NativeCursor current_cursor_; 60 gfx::NativeCursor current_cursor_;
60 bool has_capture_; 61 bool has_capture_;
61 gfx::Rect bounds_; 62 gfx::Rect bounds_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostPlatform); 64 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostPlatform);
64 }; 65 };
65 66
66 } // namespace aura 67 } // namespace aura
67 68
68 #endif // UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_ 69 #endif // UI_AURA_WINDOW_TREE_HOST_PLATFORM_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | ui/aura/window_tree_host_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698