| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "web/WebPagePopupImpl.h" | 32 #include "web/WebPagePopupImpl.h" |
| 33 | 33 |
| 34 #include "core/dom/ContextFeatures.h" | 34 #include "core/dom/ContextFeatures.h" |
| 35 #include "core/frame/FrameHost.h" | 35 #include "core/frame/FrameHost.h" |
| 36 #include "core/frame/FrameView.h" | 36 #include "core/frame/FrameView.h" |
| 37 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
| 38 #include "core/frame/PinchViewport.h" | 38 #include "core/frame/PinchViewport.h" |
| 39 #include "core/frame/Settings.h" | 39 #include "core/frame/Settings.h" |
| 40 #include "core/input/EventHandler.h" |
| 40 #include "core/layout/LayoutView.h" | 41 #include "core/layout/LayoutView.h" |
| 41 #include "core/loader/EmptyClients.h" | 42 #include "core/loader/EmptyClients.h" |
| 42 #include "core/loader/FrameLoadRequest.h" | 43 #include "core/loader/FrameLoadRequest.h" |
| 43 #include "core/page/DOMWindowPagePopup.h" | 44 #include "core/page/DOMWindowPagePopup.h" |
| 44 #include "core/page/EventHandler.h" | |
| 45 #include "core/page/FocusController.h" | 45 #include "core/page/FocusController.h" |
| 46 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
| 47 #include "core/page/PagePopupClient.h" | 47 #include "core/page/PagePopupClient.h" |
| 48 #include "modules/accessibility/AXObject.h" | 48 #include "modules/accessibility/AXObject.h" |
| 49 #include "modules/accessibility/AXObjectCacheImpl.h" | 49 #include "modules/accessibility/AXObjectCacheImpl.h" |
| 50 #include "platform/EventDispatchForbiddenScope.h" | 50 #include "platform/EventDispatchForbiddenScope.h" |
| 51 #include "platform/LayoutTestSupport.h" | 51 #include "platform/LayoutTestSupport.h" |
| 52 #include "platform/ScriptForbiddenScope.h" | 52 #include "platform/ScriptForbiddenScope.h" |
| 53 #include "platform/TraceEvent.h" | 53 #include "platform/TraceEvent.h" |
| 54 #include "platform/heap/Handle.h" | 54 #include "platform/heap/Handle.h" |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 // A WebPagePopupImpl instance usually has two references. | 519 // A WebPagePopupImpl instance usually has two references. |
| 520 // - One owned by the instance itself. It represents the visible widget. | 520 // - One owned by the instance itself. It represents the visible widget. |
| 521 // - One owned by a WebViewImpl. It's released when the WebViewImpl ask the | 521 // - One owned by a WebViewImpl. It's released when the WebViewImpl ask the |
| 522 // WebPagePopupImpl to close. | 522 // WebPagePopupImpl to close. |
| 523 // We need them because the closing operation is asynchronous and the widget | 523 // We need them because the closing operation is asynchronous and the widget |
| 524 // can be closed while the WebViewImpl is unaware of it. | 524 // can be closed while the WebViewImpl is unaware of it. |
| 525 return adoptRef(new WebPagePopupImpl(client)).leakRef(); | 525 return adoptRef(new WebPagePopupImpl(client)).leakRef(); |
| 526 } | 526 } |
| 527 | 527 |
| 528 } // namespace blink | 528 } // namespace blink |
| OLD | NEW |