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

Side by Side Diff: remoting/host/capturer_fake.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/client/rectangle_update_decoder.h ('k') | remoting/host/capturer_fake_ascii.cc » ('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_fake.h" 5 #include "remoting/host/capturer_fake.h"
6 6
7 #include "gfx/rect.h" 7 #include "ui/gfx/rect.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 10
11 // CapturerFake generates a white picture of size kWidth x kHeight with a 11 // CapturerFake generates a white picture of size kWidth x kHeight with a
12 // rectangle of size kBoxWidth x kBoxHeight. The rectangle moves kSpeed pixels 12 // rectangle of size kBoxWidth x kBoxHeight. The rectangle moves kSpeed pixels
13 // per frame along both axes, and bounces off the sides of the screen. 13 // per frame along both axes, and bounces off the sides of the screen.
14 static const int kWidth = 800; 14 static const int kWidth = 800;
15 static const int kHeight = 600; 15 static const int kHeight = 600;
16 static const int kBoxWidth = 140; 16 static const int kBoxWidth = 140;
17 static const int kBoxHeight = 140; 17 static const int kBoxHeight = 140;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 row[x * kBytesPerPixel] = r; 95 row[x * kBytesPerPixel] = r;
96 row[x * kBytesPerPixel+1] = g; 96 row[x * kBytesPerPixel+1] = g;
97 row[x * kBytesPerPixel+2] = b; 97 row[x * kBytesPerPixel+2] = b;
98 row[x * kBytesPerPixel+3] = 0xff; 98 row[x * kBytesPerPixel+3] = 0xff;
99 } 99 }
100 row += bytes_per_row_; 100 row += bytes_per_row_;
101 } 101 }
102 } 102 }
103 103
104 } // namespace remoting 104 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/rectangle_update_decoder.h ('k') | remoting/host/capturer_fake_ascii.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698