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

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

Issue 389663003: aura: Remove WindowTreeHost::OnDeviceScaleFactorChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 void WindowTreeHostWin::OnCursorVisibilityChangedNative(bool show) { 143 void WindowTreeHostWin::OnCursorVisibilityChangedNative(bool show) {
144 NOTIMPLEMENTED(); 144 NOTIMPLEMENTED();
145 } 145 }
146 146
147 void WindowTreeHostWin::PostNativeEvent(const base::NativeEvent& native_event) { 147 void WindowTreeHostWin::PostNativeEvent(const base::NativeEvent& native_event) {
148 ::PostMessage( 148 ::PostMessage(
149 hwnd(), native_event.message, native_event.wParam, native_event.lParam); 149 hwnd(), native_event.message, native_event.wParam, native_event.lParam);
150 } 150 }
151 151
152 void WindowTreeHostWin::OnDeviceScaleFactorChanged(
153 float device_scale_factor) {
154 NOTIMPLEMENTED();
155 }
156
157 ui::EventProcessor* WindowTreeHostWin::GetEventProcessor() { 152 ui::EventProcessor* WindowTreeHostWin::GetEventProcessor() {
158 return dispatcher(); 153 return dispatcher();
159 } 154 }
160 155
161 void WindowTreeHostWin::OnClose() { 156 void WindowTreeHostWin::OnClose() {
162 // TODO: this obviously shouldn't be here. 157 // TODO: this obviously shouldn't be here.
163 base::MessageLoopForUI::current()->Quit(); 158 base::MessageLoopForUI::current()->Quit();
164 } 159 }
165 160
166 LRESULT WindowTreeHostWin::OnKeyEvent(UINT message, 161 LRESULT WindowTreeHostWin::OnKeyEvent(UINT message,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 namespace test { 224 namespace test {
230 225
231 // static 226 // static
232 void SetUsePopupAsRootWindowForTest(bool use) { 227 void SetUsePopupAsRootWindowForTest(bool use) {
233 use_popup_as_root_window_for_test = use; 228 use_popup_as_root_window_for_test = use;
234 } 229 }
235 230
236 } // namespace test 231 } // namespace test
237 232
238 } // namespace aura 233 } // 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