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

Side by Side Diff: third_party/WebKit/Source/core/editing/commands/DocumentExecCommand.cpp

Issue 2817863002: Rewrite references to "wtf/" to "platform/wtf/" in core/editing. (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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
(...skipping 16 matching lines...) Expand all
27 * Boston, MA 02110-1301, USA. 27 * Boston, MA 02110-1301, USA.
28 */ 28 */
29 29
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 31
32 #include "core/editing/Editor.h" 32 #include "core/editing/Editor.h"
33 #include "core/events/ScopedEventQueue.h" 33 #include "core/events/ScopedEventQueue.h"
34 #include "core/html/TextControlElement.h" 34 #include "core/html/TextControlElement.h"
35 #include "core/inspector/ConsoleMessage.h" 35 #include "core/inspector/ConsoleMessage.h"
36 #include "platform/Histogram.h" 36 #include "platform/Histogram.h"
37 #include "wtf/AutoReset.h" 37 #include "platform/wtf/AutoReset.h"
38 #include "wtf/StdLibExtras.h" 38 #include "platform/wtf/StdLibExtras.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 namespace { 42 namespace {
43 43
44 Editor::Command GetCommand(Document* document, const String& command_name) { 44 Editor::Command GetCommand(Document* document, const String& command_name) {
45 LocalFrame* frame = document->GetFrame(); 45 LocalFrame* frame = document->GetFrame();
46 if (!frame || frame->GetDocument() != document) 46 if (!frame || frame->GetDocument() != document)
47 return Editor::Command(); 47 return Editor::Command();
48 48
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 exception_state.ThrowDOMException( 145 exception_state.ThrowDOMException(
146 kInvalidStateError, 146 kInvalidStateError,
147 "queryCommandValue is only supported on HTML documents."); 147 "queryCommandValue is only supported on HTML documents.");
148 return ""; 148 return "";
149 } 149 }
150 150
151 return GetCommand(this, command_name).Value(); 151 return GetCommand(this, command_name).Value();
152 } 152 }
153 153
154 } // namespace blink 154 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698