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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 2468073002: Move LayerHitTestRects to a separate file. (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "core/frame/Navigator.h" 58 #include "core/frame/Navigator.h"
59 #include "core/frame/Screen.h" 59 #include "core/frame/Screen.h"
60 #include "core/frame/ScrollToOptions.h" 60 #include "core/frame/ScrollToOptions.h"
61 #include "core/frame/Settings.h" 61 #include "core/frame/Settings.h"
62 #include "core/frame/SuspendableTimer.h" 62 #include "core/frame/SuspendableTimer.h"
63 #include "core/frame/VisualViewport.h" 63 #include "core/frame/VisualViewport.h"
64 #include "core/html/HTMLFrameOwnerElement.h" 64 #include "core/html/HTMLFrameOwnerElement.h"
65 #include "core/input/EventHandler.h" 65 #include "core/input/EventHandler.h"
66 #include "core/inspector/ConsoleMessage.h" 66 #include "core/inspector/ConsoleMessage.h"
67 #include "core/inspector/InspectorInstrumentation.h" 67 #include "core/inspector/InspectorInstrumentation.h"
68 #include "core/inspector/InspectorTraceEvents.h"
68 #include "core/loader/DocumentLoader.h" 69 #include "core/loader/DocumentLoader.h"
69 #include "core/loader/FrameLoaderClient.h" 70 #include "core/loader/FrameLoaderClient.h"
70 #include "core/loader/SinkDocument.h" 71 #include "core/loader/SinkDocument.h"
71 #include "core/loader/appcache/ApplicationCache.h" 72 #include "core/loader/appcache/ApplicationCache.h"
72 #include "core/page/ChromeClient.h" 73 #include "core/page/ChromeClient.h"
73 #include "core/page/CreateWindow.h" 74 #include "core/page/CreateWindow.h"
74 #include "core/page/Page.h" 75 #include "core/page/Page.h"
75 #include "core/page/WindowFeatures.h" 76 #include "core/page/WindowFeatures.h"
76 #include "core/page/scrolling/ScrollingCoordinator.h" 77 #include "core/page/scrolling/ScrollingCoordinator.h"
77 #include "platform/EventDispatchForbiddenScope.h" 78 #include "platform/EventDispatchForbiddenScope.h"
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 1550
1550 LocalFrame* LocalDOMWindow::frame() const { 1551 LocalFrame* LocalDOMWindow::frame() const {
1551 // If the LocalDOMWindow still has a frame reference, that frame must point 1552 // If the LocalDOMWindow still has a frame reference, that frame must point
1552 // back to this LocalDOMWindow: otherwise, it's easy to get into a situation 1553 // back to this LocalDOMWindow: otherwise, it's easy to get into a situation
1553 // where script execution leaks between different LocalDOMWindows. 1554 // where script execution leaks between different LocalDOMWindows.
1554 SECURITY_DCHECK(!m_frame || m_frame->domWindow() == this); 1555 SECURITY_DCHECK(!m_frame || m_frame->domWindow() == this);
1555 return m_frame; 1556 return m_frame;
1556 } 1557 }
1557 1558
1558 } // namespace blink 1559 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698