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

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

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 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 #include "ui/platform_window/android/platform_window_android.h" 5 #include "ui/platform_window/android/platform_window_android.h"
6 6
7 #include <android/input.h> 7 #include <android/input.h>
8 #include <android/native_window_jni.h> 8 #include <android/native_window_jni.h>
9 9
10 #include "base/android/context_utils.h" 10 #include "base/android/context_utils.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 171 }
172 172
173 void PlatformWindowAndroid::Hide() { 173 void PlatformWindowAndroid::Hide() {
174 // Nothing to do. View is always visible. 174 // Nothing to do. View is always visible.
175 } 175 }
176 176
177 void PlatformWindowAndroid::Close() { 177 void PlatformWindowAndroid::Close() {
178 delegate_->OnCloseRequest(); 178 delegate_->OnCloseRequest();
179 } 179 }
180 180
181 void PlatformWindowAndroid::PrepareForShutdown() {}
182
181 void PlatformWindowAndroid::SetBounds(const gfx::Rect& bounds) { 183 void PlatformWindowAndroid::SetBounds(const gfx::Rect& bounds) {
182 NOTIMPLEMENTED(); 184 NOTIMPLEMENTED();
183 } 185 }
184 186
185 gfx::Rect PlatformWindowAndroid::GetBounds() { 187 gfx::Rect PlatformWindowAndroid::GetBounds() {
186 return gfx::Rect(size_); 188 return gfx::Rect(size_);
187 } 189 }
188 190
189 void PlatformWindowAndroid::SetTitle(const base::string16& title) { 191 void PlatformWindowAndroid::SetTitle(const base::string16& title) {
190 NOTIMPLEMENTED(); 192 NOTIMPLEMENTED();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 226
225 void PlatformWindowAndroid::ConfineCursorToBounds(const gfx::Rect& bounds) { 227 void PlatformWindowAndroid::ConfineCursorToBounds(const gfx::Rect& bounds) {
226 NOTIMPLEMENTED(); 228 NOTIMPLEMENTED();
227 } 229 }
228 230
229 PlatformImeController* PlatformWindowAndroid::GetPlatformImeController() { 231 PlatformImeController* PlatformWindowAndroid::GetPlatformImeController() {
230 return &platform_ime_controller_; 232 return &platform_ime_controller_;
231 } 233 }
232 234
233 } // namespace ui 235 } // namespace ui
OLDNEW
« no previous file with comments | « ui/platform_window/android/platform_window_android.h ('k') | ui/platform_window/platform_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698