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

Side by Side Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 2016673002: Remove unnecessary inclusions of LayoutObject-derived headers in web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/events/WheelEvent.h" 50 #include "core/events/WheelEvent.h"
51 #include "core/frame/EventHandlerRegistry.h" 51 #include "core/frame/EventHandlerRegistry.h"
52 #include "core/frame/FrameView.h" 52 #include "core/frame/FrameView.h"
53 #include "core/frame/LocalFrame.h" 53 #include "core/frame/LocalFrame.h"
54 #include "core/frame/csp/ContentSecurityPolicy.h" 54 #include "core/frame/csp/ContentSecurityPolicy.h"
55 #include "core/html/HTMLFormElement.h" 55 #include "core/html/HTMLFormElement.h"
56 #include "core/html/HTMLPlugInElement.h" 56 #include "core/html/HTMLPlugInElement.h"
57 #include "core/input/EventHandler.h" 57 #include "core/input/EventHandler.h"
58 #include "core/layout/HitTestResult.h" 58 #include "core/layout/HitTestResult.h"
59 #include "core/layout/LayoutBox.h" 59 #include "core/layout/LayoutBox.h"
60 #include "core/layout/LayoutPart.h"
61 #include "core/layout/LayoutView.h" 60 #include "core/layout/LayoutView.h"
62 #include "core/loader/FrameLoadRequest.h" 61 #include "core/loader/FrameLoadRequest.h"
63 #include "core/page/FocusController.h" 62 #include "core/page/FocusController.h"
64 #include "core/page/Page.h" 63 #include "core/page/Page.h"
65 #include "core/page/scrolling/ScrollingCoordinator.h" 64 #include "core/page/scrolling/ScrollingCoordinator.h"
66 #include "core/paint/LayoutObjectDrawingRecorder.h" 65 #include "core/paint/LayoutObjectDrawingRecorder.h"
67 #include "core/paint/PaintLayer.h" 66 #include "core/paint/PaintLayer.h"
68 #include "modules/plugins/PluginOcclusionSupport.h" 67 #include "modules/plugins/PluginOcclusionSupport.h"
69 #include "platform/HostWindow.h" 68 #include "platform/HostWindow.h"
70 #include "platform/KeyboardCodes.h" 69 #include "platform/KeyboardCodes.h"
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 // frame view. 955 // frame view.
957 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec t); 956 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec t);
958 } 957 }
959 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); 958 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects);
960 // Convert to the plugin position. 959 // Convert to the plugin position.
961 for (size_t i = 0; i < cutOutRects.size(); i++) 960 for (size_t i = 0; i < cutOutRects.size(); i++)
962 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); 961 cutOutRects[i].move(-frameRect().x(), -frameRect().y());
963 } 962 }
964 963
965 } // namespace blink 964 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698