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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2177783003: [Editing][DOM][CodeHealth] Move Node::*editable* functions to core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies)
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 19 matching lines...) Expand all
30 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 30 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
31 #include "core/HTMLNames.h" 31 #include "core/HTMLNames.h"
32 #include "core/InputTypeNames.h" 32 #include "core/InputTypeNames.h"
33 #include "core/clipboard/DataObject.h" 33 #include "core/clipboard/DataObject.h"
34 #include "core/clipboard/DataTransfer.h" 34 #include "core/clipboard/DataTransfer.h"
35 #include "core/dom/DOMNodeIds.h" 35 #include "core/dom/DOMNodeIds.h"
36 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
37 #include "core/dom/TouchList.h" 37 #include "core/dom/TouchList.h"
38 #include "core/dom/shadow/FlatTreeTraversal.h" 38 #include "core/dom/shadow/FlatTreeTraversal.h"
39 #include "core/dom/shadow/ShadowRoot.h" 39 #include "core/dom/shadow/ShadowRoot.h"
40 #include "core/editing/EditingUtilities.h"
40 #include "core/editing/Editor.h" 41 #include "core/editing/Editor.h"
41 #include "core/editing/FrameSelection.h" 42 #include "core/editing/FrameSelection.h"
42 #include "core/editing/SelectionController.h" 43 #include "core/editing/SelectionController.h"
43 #include "core/events/DragEvent.h" 44 #include "core/events/DragEvent.h"
44 #include "core/events/EventPath.h" 45 #include "core/events/EventPath.h"
45 #include "core/events/GestureEvent.h" 46 #include "core/events/GestureEvent.h"
46 #include "core/events/KeyboardEvent.h" 47 #include "core/events/KeyboardEvent.h"
47 #include "core/events/MouseEvent.h" 48 #include "core/events/MouseEvent.h"
48 #include "core/events/PointerEvent.h" 49 #include "core/events/PointerEvent.h"
49 #include "core/events/TextEvent.h" 50 #include "core/events/TextEvent.h"
(...skipping 2535 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 2586
2586 FrameHost* EventHandler::frameHost() const 2587 FrameHost* EventHandler::frameHost() const
2587 { 2588 {
2588 if (!m_frame->page()) 2589 if (!m_frame->page())
2589 return nullptr; 2590 return nullptr;
2590 2591
2591 return &m_frame->page()->frameHost(); 2592 return &m_frame->page()->frameHost();
2592 } 2593 }
2593 2594
2594 } // namespace blink 2595 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698