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

Side by Side Diff: ui/platform_window/platform_window_delegate.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 | « ui/platform_window/android/platform_window_android.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_ 5 #ifndef UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_ 6 #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 28 matching lines...) Expand all
39 virtual void OnCloseRequest() = 0; 39 virtual void OnCloseRequest() = 0;
40 virtual void OnClosed() = 0; 40 virtual void OnClosed() = 0;
41 41
42 virtual void OnWindowStateChanged(PlatformWindowState new_state) = 0; 42 virtual void OnWindowStateChanged(PlatformWindowState new_state) = 0;
43 43
44 virtual void OnLostCapture() = 0; 44 virtual void OnLostCapture() = 0;
45 45
46 virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget, 46 virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
47 float device_pixel_ratio) = 0; 47 float device_pixel_ratio) = 0;
48 48
49 // Notifies the delegate that the widget cannot be used anymore until
50 // a new widget is made available through OnAcceleratedWidgetAvailable().
51 virtual void OnAcceleratedWidgetDestroyed() = 0;
52
49 virtual void OnActivationChanged(bool active) = 0; 53 virtual void OnActivationChanged(bool active) = 0;
50 }; 54 };
51 55
52 } // namespace ui 56 } // namespace ui
53 57
54 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_ 58 #endif // UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/platform_window/android/platform_window_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698