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

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

Issue 2796183002: Introduce the nested namespace ::blink::cssvalue, start with CSSColorValue. (Closed)
Patch Set: Use the least possible namespace scoping when aliasing. 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-2008, 2013, 2014 Apple Inc. All rights reserved. 4 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved.
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
6 * (http://www.torchmobile.com/) 6 * (http://www.torchmobile.com/)
7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. 7 * Copyright (C) 2011 Motorola Mobility. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "core/svg/SVGSVGElement.h" 65 #include "core/svg/SVGSVGElement.h"
66 #include "platform/Language.h" 66 #include "platform/Language.h"
67 #include "platform/text/BidiResolver.h" 67 #include "platform/text/BidiResolver.h"
68 #include "platform/text/BidiTextRun.h" 68 #include "platform/text/BidiTextRun.h"
69 #include "platform/text/TextRunIterator.h" 69 #include "platform/text/TextRunIterator.h"
70 #include "wtf/StdLibExtras.h" 70 #include "wtf/StdLibExtras.h"
71 #include "wtf/text/CString.h" 71 #include "wtf/text/CString.h"
72 72
73 namespace blink { 73 namespace blink {
74 74
75 using namespace cssvalue;
75 using namespace HTMLNames; 76 using namespace HTMLNames;
76 using namespace WTF; 77 using namespace WTF;
77 78
78 using namespace std; 79 using namespace std;
79 80
80 namespace { 81 namespace {
81 82
82 // https://w3c.github.io/editing/execCommand.html#editing-host 83 // https://w3c.github.io/editing/execCommand.html#editing-host
83 bool isEditingHost(const Node& node) { 84 bool isEditingHost(const Node& node) {
84 if (!node.isHTMLElement()) 85 if (!node.isHTMLElement())
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 1183
1183 #ifndef NDEBUG 1184 #ifndef NDEBUG
1184 1185
1185 // For use in the debugger 1186 // For use in the debugger
1186 void dumpInnerHTML(blink::HTMLElement*); 1187 void dumpInnerHTML(blink::HTMLElement*);
1187 1188
1188 void dumpInnerHTML(blink::HTMLElement* element) { 1189 void dumpInnerHTML(blink::HTMLElement* element) {
1189 printf("%s\n", element->innerHTML().ascii().data()); 1190 printf("%s\n", element->innerHTML().ascii().data());
1190 } 1191 }
1191 #endif 1192 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698