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

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

Issue 11273059: ash: Clean up system background layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile errors, hopefully Created 8 years, 1 month 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/remote_root_window_host_win.h" 5 #include "ui/aura/remote_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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 GetCursorPos(&pt); 100 GetCursorPos(&pt);
101 *location_return = 101 *location_return =
102 gfx::Point(static_cast<int>(pt.x), static_cast<int>(pt.y)); 102 gfx::Point(static_cast<int>(pt.x), static_cast<int>(pt.y));
103 return true; 103 return true;
104 } 104 }
105 105
106 bool RemoteRootWindowHostWin::ConfineCursorToRootWindow() { 106 bool RemoteRootWindowHostWin::ConfineCursorToRootWindow() {
107 return true; 107 return true;
108 } 108 }
109 109
110 bool RemoteRootWindowHostWin::CopyAreaToSkCanvas(const gfx::Rect& source_bounds,
111 const gfx::Point& dest_offset,
112 SkCanvas* canvas) {
113 NOTIMPLEMENTED();
114 return false;
115 }
116
110 bool RemoteRootWindowHostWin::GrabSnapshot( 117 bool RemoteRootWindowHostWin::GrabSnapshot(
111 const gfx::Rect& snapshot_bounds, 118 const gfx::Rect& snapshot_bounds,
112 std::vector<unsigned char>* png_representation) { 119 std::vector<unsigned char>* png_representation) {
113 NOTIMPLEMENTED(); 120 NOTIMPLEMENTED();
114 return false; 121 return false;
115 } 122 }
116 123
117 void RemoteRootWindowHostWin::UnConfineCursor() { 124 void RemoteRootWindowHostWin::UnConfineCursor() {
118 } 125 }
119 126
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 void RemoteRootWindowHostWin::OnKeyUp(uint32 vkey, 172 void RemoteRootWindowHostWin::OnKeyUp(uint32 vkey,
166 uint32 repeat_count, 173 uint32 repeat_count,
167 uint32 scan_code) { 174 uint32 scan_code) {
168 ui::KeyEvent event(ui::ET_KEY_RELEASED, 175 ui::KeyEvent event(ui::ET_KEY_RELEASED,
169 ui::KeyboardCodeForWindowsKeyCode(vkey), 176 ui::KeyboardCodeForWindowsKeyCode(vkey),
170 0); 177 0);
171 delegate_->OnHostKeyEvent(&event); 178 delegate_->OnHostKeyEvent(&event);
172 } 179 }
173 180
174 } // namespace aura 181 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698