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

Side by Side Diff: remoting/host/capturer_gdi.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « remoting/host/capturer_fake_ascii.cc ('k') | remoting/host/differ.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "remoting/host/capturer_gdi.h" 5 #include "remoting/host/capturer_gdi.h"
6 #include "remoting/host/differ.h" 6 #include "remoting/host/differ.h"
7 7
8 #include "gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 // 3780 pixels per meter is equivalent to 96 DPI, typical on desktop monitors. 12 // 3780 pixels per meter is equivalent to 96 DPI, typical on desktop monitors.
13 static const int kPixelsPerMeter = 3780; 13 static const int kPixelsPerMeter = 3780;
14 // 32 bit RGBA is 4 bytes per pixel. 14 // 32 bit RGBA is 4 bytes per pixel.
15 static const int kBytesPerPixel = 4; 15 static const int kBytesPerPixel = 4;
16 16
17 CapturerGdi::CapturerGdi(MessageLoop* message_loop) 17 CapturerGdi::CapturerGdi(MessageLoop* message_loop)
18 : Capturer(message_loop), 18 : Capturer(message_loop),
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 BitBlt(memory_dc_, 0, 0, width_, height_, desktop_dc_, 0, 0, 135 BitBlt(memory_dc_, 0, 0, width_, height_, desktop_dc_, 0, 0,
136 SRCCOPY | CAPTUREBLT); 136 SRCCOPY | CAPTUREBLT);
137 } 137 }
138 138
139 // static 139 // static
140 Capturer* Capturer::Create(MessageLoop* message_loop) { 140 Capturer* Capturer::Create(MessageLoop* message_loop) {
141 return new CapturerGdi(message_loop); 141 return new CapturerGdi(message_loop);
142 } 142 }
143 143
144 } // namespace remoting 144 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/capturer_fake_ascii.cc ('k') | remoting/host/differ.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698