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

Side by Side Diff: ui/aura/window_tree_host_win.cc

Issue 196573023: Remove PrepareForShutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/window_tree_host_win.h ('k') | ui/aura/window_tree_host_x11.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/aura/window_tree_host_win.h" 5 #include "ui/aura/window_tree_host_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void WindowTreeHostWin::PostNativeEvent(const base::NativeEvent& native_event) { 218 void WindowTreeHostWin::PostNativeEvent(const base::NativeEvent& native_event) {
219 ::PostMessage( 219 ::PostMessage(
220 hwnd(), native_event.message, native_event.wParam, native_event.lParam); 220 hwnd(), native_event.message, native_event.wParam, native_event.lParam);
221 } 221 }
222 222
223 void WindowTreeHostWin::OnDeviceScaleFactorChanged( 223 void WindowTreeHostWin::OnDeviceScaleFactorChanged(
224 float device_scale_factor) { 224 float device_scale_factor) {
225 NOTIMPLEMENTED(); 225 NOTIMPLEMENTED();
226 } 226 }
227 227
228 void WindowTreeHostWin::PrepareForShutdown() {
229 NOTIMPLEMENTED();
230 }
231
232 ui::EventProcessor* WindowTreeHostWin::GetEventProcessor() { 228 ui::EventProcessor* WindowTreeHostWin::GetEventProcessor() {
233 return dispatcher(); 229 return dispatcher();
234 } 230 }
235 231
236 void WindowTreeHostWin::OnClose() { 232 void WindowTreeHostWin::OnClose() {
237 // TODO: this obviously shouldn't be here. 233 // TODO: this obviously shouldn't be here.
238 base::MessageLoopForUI::current()->Quit(); 234 base::MessageLoopForUI::current()->Quit();
239 } 235 }
240 236
241 LRESULT WindowTreeHostWin::OnKeyEvent(UINT message, 237 LRESULT WindowTreeHostWin::OnKeyEvent(UINT message,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 namespace test { 300 namespace test {
305 301
306 // static 302 // static
307 void SetUsePopupAsRootWindowForTest(bool use) { 303 void SetUsePopupAsRootWindowForTest(bool use) {
308 use_popup_as_root_window_for_test = use; 304 use_popup_as_root_window_for_test = use;
309 } 305 }
310 306
311 } // namespace test 307 } // namespace test
312 308
313 } // namespace aura 309 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_win.h ('k') | ui/aura/window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698