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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLAreaElement.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2004, 2005, 2006, 2009, 2011 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2009, 2011 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 12 matching lines...) Expand all
23 23
24 #include "core/HTMLNames.h" 24 #include "core/HTMLNames.h"
25 #include "core/dom/ElementTraversal.h" 25 #include "core/dom/ElementTraversal.h"
26 #include "core/html/HTMLImageElement.h" 26 #include "core/html/HTMLImageElement.h"
27 #include "core/html/HTMLMapElement.h" 27 #include "core/html/HTMLMapElement.h"
28 #include "core/html/parser/HTMLParserIdioms.h" 28 #include "core/html/parser/HTMLParserIdioms.h"
29 #include "core/layout/HitTestResult.h" 29 #include "core/layout/HitTestResult.h"
30 #include "core/layout/LayoutImage.h" 30 #include "core/layout/LayoutImage.h"
31 #include "platform/graphics/Path.h" 31 #include "platform/graphics/Path.h"
32 #include "platform/transforms/AffineTransform.h" 32 #include "platform/transforms/AffineTransform.h"
33 #include "wtf/PtrUtil.h" 33 #include "platform/wtf/PtrUtil.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 namespace { 37 namespace {
38 38
39 // Adapt a double to the allowed range of a LayoutUnit and narrow it to float 39 // Adapt a double to the allowed range of a LayoutUnit and narrow it to float
40 // precision. 40 // precision.
41 float ClampCoordinate(double value) { 41 float ClampCoordinate(double value) {
42 return LayoutUnit(value).ToFloat(); 42 return LayoutUnit(value).ToFloat();
43 } 43 }
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 SelectionBehaviorOnFocus selection_behavior) { 225 SelectionBehaviorOnFocus selection_behavior) {
226 GetDocument().UpdateStyleAndLayoutTreeForNode(this); 226 GetDocument().UpdateStyleAndLayoutTreeForNode(this);
227 if (!IsFocusable()) 227 if (!IsFocusable())
228 return; 228 return;
229 229
230 if (HTMLImageElement* image_element = this->ImageElement()) 230 if (HTMLImageElement* image_element = this->ImageElement())
231 image_element->UpdateFocusAppearance(selection_behavior); 231 image_element->UpdateFocusAppearance(selection_behavior);
232 } 232 }
233 233
234 } // namespace blink 234 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/FormData.cpp ('k') | third_party/WebKit/Source/core/html/HTMLButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698