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

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

Issue 2474603002: Don't include LayoutObject-derived headers where not needed. (Closed)
Patch Set: Created 4 years, 1 month 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 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
5 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) 5 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies)
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "core/html/HTMLDialogElement.h" 62 #include "core/html/HTMLDialogElement.h"
63 #include "core/html/HTMLFrameElementBase.h" 63 #include "core/html/HTMLFrameElementBase.h"
64 #include "core/html/HTMLFrameSetElement.h" 64 #include "core/html/HTMLFrameSetElement.h"
65 #include "core/html/HTMLInputElement.h" 65 #include "core/html/HTMLInputElement.h"
66 #include "core/input/EventHandlingUtil.h" 66 #include "core/input/EventHandlingUtil.h"
67 #include "core/input/InputDeviceCapabilities.h" 67 #include "core/input/InputDeviceCapabilities.h"
68 #include "core/input/TouchActionUtil.h" 68 #include "core/input/TouchActionUtil.h"
69 #include "core/layout/HitTestRequest.h" 69 #include "core/layout/HitTestRequest.h"
70 #include "core/layout/HitTestResult.h" 70 #include "core/layout/HitTestResult.h"
71 #include "core/layout/LayoutPart.h" 71 #include "core/layout/LayoutPart.h"
72 #include "core/layout/LayoutTextControlSingleLine.h"
73 #include "core/layout/LayoutView.h" 72 #include "core/layout/LayoutView.h"
74 #include "core/layout/api/LayoutViewItem.h" 73 #include "core/layout/api/LayoutViewItem.h"
75 #include "core/loader/DocumentLoader.h" 74 #include "core/loader/DocumentLoader.h"
76 #include "core/loader/FrameLoader.h" 75 #include "core/loader/FrameLoader.h"
77 #include "core/loader/FrameLoaderClient.h" 76 #include "core/loader/FrameLoaderClient.h"
78 #include "core/page/AutoscrollController.h" 77 #include "core/page/AutoscrollController.h"
79 #include "core/page/ChromeClient.h" 78 #include "core/page/ChromeClient.h"
80 #include "core/page/DragState.h" 79 #include "core/page/DragState.h"
81 #include "core/page/FocusController.h" 80 #include "core/page/FocusController.h"
82 #include "core/page/FrameTree.h" 81 #include "core/page/FrameTree.h"
(...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 } 2085 }
2087 2086
2088 FrameHost* EventHandler::frameHost() const { 2087 FrameHost* EventHandler::frameHost() const {
2089 if (!m_frame->page()) 2088 if (!m_frame->page())
2090 return nullptr; 2089 return nullptr;
2091 2090
2092 return &m_frame->page()->frameHost(); 2091 return &m_frame->page()->frameHost();
2093 } 2092 }
2094 2093
2095 } // namespace blink 2094 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMeterElement.cpp ('k') | third_party/WebKit/Source/core/layout/FlexibleBoxAlgorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698