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

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

Issue 205313002: Revert 258077 "Remove PrepareForShutdown" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/ui/aura/window_tree_host_win.h ('k') | trunk/src/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
228 ui::EventProcessor* WindowTreeHostWin::GetEventProcessor() { 232 ui::EventProcessor* WindowTreeHostWin::GetEventProcessor() {
229 return dispatcher(); 233 return dispatcher();
230 } 234 }
231 235
232 void WindowTreeHostWin::OnClose() { 236 void WindowTreeHostWin::OnClose() {
233 // TODO: this obviously shouldn't be here. 237 // TODO: this obviously shouldn't be here.
234 base::MessageLoopForUI::current()->Quit(); 238 base::MessageLoopForUI::current()->Quit();
235 } 239 }
236 240
237 LRESULT WindowTreeHostWin::OnKeyEvent(UINT message, 241 LRESULT WindowTreeHostWin::OnKeyEvent(UINT message,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 namespace test { 304 namespace test {
301 305
302 // static 306 // static
303 void SetUsePopupAsRootWindowForTest(bool use) { 307 void SetUsePopupAsRootWindowForTest(bool use) {
304 use_popup_as_root_window_for_test = use; 308 use_popup_as_root_window_for_test = use;
305 } 309 }
306 310
307 } // namespace test 311 } // namespace test
308 312
309 } // namespace aura 313 } // namespace aura
OLDNEW
« no previous file with comments | « trunk/src/ui/aura/window_tree_host_win.h ('k') | trunk/src/ui/aura/window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698