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

Side by Side Diff: ui/platform_window/android/platform_window_android.h

Issue 2741533002: Fix AshWindowTreeHost shutdown for Ozone X11. (Closed)
Patch Set: Add to other PlatformWindow implementations. Created 3 years, 9 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
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_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_ 5 #ifndef UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_
6 #define UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_ 6 #define UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_
7 7
8 #include "base/android/jni_weak_ref.h" 8 #include "base/android/jni_weak_ref.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 jint key_code, 60 jint key_code,
61 jint unicode_character); 61 jint unicode_character);
62 62
63 private: 63 private:
64 void ReleaseWindow(); 64 void ReleaseWindow();
65 65
66 // Overridden from PlatformWindow: 66 // Overridden from PlatformWindow:
67 void Show() override; 67 void Show() override;
68 void Hide() override; 68 void Hide() override;
69 void Close() override; 69 void Close() override;
70 void PrepareForShutdown() override;
70 void SetBounds(const gfx::Rect& bounds) override; 71 void SetBounds(const gfx::Rect& bounds) override;
71 gfx::Rect GetBounds() override; 72 gfx::Rect GetBounds() override;
72 void SetTitle(const base::string16& title) override; 73 void SetTitle(const base::string16& title) override;
73 void SetCapture() override; 74 void SetCapture() override;
74 void ReleaseCapture() override; 75 void ReleaseCapture() override;
75 void ToggleFullscreen() override; 76 void ToggleFullscreen() override;
76 void Maximize() override; 77 void Maximize() override;
77 void Minimize() override; 78 void Minimize() override;
78 void Restore() override; 79 void Restore() override;
79 void SetCursor(PlatformCursor cursor) override; 80 void SetCursor(PlatformCursor cursor) override;
(...skipping 12 matching lines...) Expand all
92 PlatformImeControllerAndroid platform_ime_controller_; 93 PlatformImeControllerAndroid platform_ime_controller_;
93 94
94 base::WeakPtrFactory<PlatformWindowAndroid> weak_factory_; 95 base::WeakPtrFactory<PlatformWindowAndroid> weak_factory_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(PlatformWindowAndroid); 97 DISALLOW_COPY_AND_ASSIGN(PlatformWindowAndroid);
97 }; 98 };
98 99
99 } // namespace ui 100 } // namespace ui
100 101
101 #endif // UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_ 102 #endif // UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/platform_window/android/platform_window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698