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

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

Issue 12047111: Set scale/orientation property to aura root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
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/root_window_host_win.h" 5 #include "ui/aura/root_window_host_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 void RootWindowHostWin::OnDeviceScaleFactorChanged( 240 void RootWindowHostWin::OnDeviceScaleFactorChanged(
241 float device_scale_factor) { 241 float device_scale_factor) {
242 NOTIMPLEMENTED(); 242 NOTIMPLEMENTED();
243 } 243 }
244 244
245 void RootWindowHostWin::PrepareForShutdown() { 245 void RootWindowHostWin::PrepareForShutdown() {
246 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
247 } 247 }
248 248
249 void RootWindowHostWin::SetHostWindowProperty(const std::string& name,
250 int value) {
251 }
Daniel Erat 2013/01/30 21:04:27 nit: NOTIMPLEMENTED()
252
249 void RootWindowHostWin::OnClose() { 253 void RootWindowHostWin::OnClose() {
250 // TODO: this obviously shouldn't be here. 254 // TODO: this obviously shouldn't be here.
251 MessageLoopForUI::current()->Quit(); 255 MessageLoopForUI::current()->Quit();
252 } 256 }
253 257
254 LRESULT RootWindowHostWin::OnKeyEvent(UINT message, 258 LRESULT RootWindowHostWin::OnKeyEvent(UINT message,
255 WPARAM w_param, 259 WPARAM w_param,
256 LPARAM l_param) { 260 LPARAM l_param) {
257 MSG msg = { hwnd(), message, w_param, l_param }; 261 MSG msg = { hwnd(), message, w_param, l_param };
258 ui::KeyEvent keyev(msg, message == WM_CHAR); 262 ui::KeyEvent keyev(msg, message == WM_CHAR);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 namespace test { 315 namespace test {
312 316
313 // static 317 // static
314 void SetUsePopupAsRootWindowForTest(bool use) { 318 void SetUsePopupAsRootWindowForTest(bool use) {
315 use_popup_as_root_window_for_test = use; 319 use_popup_as_root_window_for_test = use;
316 } 320 }
317 321
318 } // namespace test 322 } // namespace test
319 323
320 } // namespace aura 324 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698