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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "platform/graphics/CanvasMetrics.h" 70 #include "platform/graphics/CanvasMetrics.h"
71 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" 71 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h"
72 #include "platform/graphics/ImageBuffer.h" 72 #include "platform/graphics/ImageBuffer.h"
73 #include "platform/graphics/RecordingImageBufferSurface.h" 73 #include "platform/graphics/RecordingImageBufferSurface.h"
74 #include "platform/graphics/StaticBitmapImage.h" 74 #include "platform/graphics/StaticBitmapImage.h"
75 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 75 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
76 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h" 76 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h"
77 #include "platform/graphics/paint/PaintCanvas.h" 77 #include "platform/graphics/paint/PaintCanvas.h"
78 #include "platform/image-encoders/ImageEncoderUtils.h" 78 #include "platform/image-encoders/ImageEncoderUtils.h"
79 #include "platform/transforms/AffineTransform.h" 79 #include "platform/transforms/AffineTransform.h"
80 #include "platform/wtf/CheckedNumeric.h"
81 #include "platform/wtf/PtrUtil.h"
80 #include "public/platform/Platform.h" 82 #include "public/platform/Platform.h"
81 #include "public/platform/WebTraceLocation.h" 83 #include "public/platform/WebTraceLocation.h"
82 #include "v8/include/v8.h" 84 #include "v8/include/v8.h"
83 #include "wtf/CheckedNumeric.h"
84 #include "wtf/PtrUtil.h"
85 85
86 namespace blink { 86 namespace blink {
87 87
88 using namespace HTMLNames; 88 using namespace HTMLNames;
89 89
90 namespace { 90 namespace {
91 91
92 // These values come from the WhatWG spec. 92 // These values come from the WhatWG spec.
93 const int kDefaultWidth = 300; 93 const int kDefaultWidth = 300;
94 const int kDefaultHeight = 150; 94 const int kDefaultHeight = 150;
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 // Creates a placeholder layer first before Surface is created. 1477 // Creates a placeholder layer first before Surface is created.
1478 surface_layer_bridge_->CreateSolidColorLayer(); 1478 surface_layer_bridge_->CreateSolidColorLayer();
1479 } 1479 }
1480 } 1480 }
1481 1481
1482 void HTMLCanvasElement::OnWebLayerReplaced() { 1482 void HTMLCanvasElement::OnWebLayerReplaced() {
1483 SetNeedsCompositingUpdate(); 1483 SetNeedsCompositingUpdate();
1484 } 1484 }
1485 1485
1486 } // namespace blink 1486 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLButtonElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698