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

Side by Side Diff: base/gfx/bitmap_platform_device_win.cc

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 2 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 | « base/gfx/bitmap_header.cc ('k') | base/gfx/gdi_util.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/gfx/bitmap_platform_device_win.h" 5 #include "base/gfx/bitmap_platform_device_win.h"
6 6
7 #include "base/gfx/bitmap_header.h" 7 #include "base/gfx/gdi_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "SkMatrix.h" 10 #include "SkMatrix.h"
11 #include "SkRegion.h" 11 #include "SkRegion.h"
12 #include "SkUtils.h" 12 #include "SkUtils.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 // When Windows draws text, is sets the fourth byte (which Skia uses for alpha) 16 // When Windows draws text, is sets the fourth byte (which Skia uses for alpha)
17 // to zero. This means that if we try compositing with text that Windows has 17 // to zero. This means that if we try compositing with text that Windows has
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 for (int j = 0; j < width; j++) { 457 for (int j = 0; j < width; j++) {
458 adjustor(data + j); 458 adjustor(data + j);
459 } 459 }
460 data += row_words; 460 data += row_words;
461 } 461 }
462 } 462 }
463 } 463 }
464 464
465 } // namespace gfx 465 } // namespace gfx
466 466
OLDNEW
« no previous file with comments | « base/gfx/bitmap_header.cc ('k') | base/gfx/gdi_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698