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

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

Issue 2876403002: Move WebInputEventConversion from web/ to core/events/. (Closed)
Patch Set: Created 3 years, 7 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) 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 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "web/WebPagePopupImpl.h" 31 #include "web/WebPagePopupImpl.h"
32 32
33 #include "core/dom/ContextFeatures.h" 33 #include "core/dom/ContextFeatures.h"
34 #include "core/events/MessageEvent.h" 34 #include "core/events/MessageEvent.h"
35 #include "core/events/WebInputEventConversion.h"
35 #include "core/exported/WebViewBase.h" 36 #include "core/exported/WebViewBase.h"
36 #include "core/frame/FrameView.h" 37 #include "core/frame/FrameView.h"
37 #include "core/frame/LocalFrame.h" 38 #include "core/frame/LocalFrame.h"
38 #include "core/frame/LocalFrameClient.h" 39 #include "core/frame/LocalFrameClient.h"
39 #include "core/frame/Settings.h" 40 #include "core/frame/Settings.h"
40 #include "core/frame/VisualViewport.h" 41 #include "core/frame/VisualViewport.h"
41 #include "core/input/EventHandler.h" 42 #include "core/input/EventHandler.h"
42 #include "core/layout/api/LayoutAPIShim.h" 43 #include "core/layout/api/LayoutAPIShim.h"
43 #include "core/layout/api/LayoutViewItem.h" 44 #include "core/layout/api/LayoutViewItem.h"
44 #include "core/loader/EmptyClients.h" 45 #include "core/loader/EmptyClients.h"
(...skipping 12 matching lines...) Expand all
57 #include "platform/heap/Handle.h" 58 #include "platform/heap/Handle.h"
58 #include "platform/instrumentation/tracing/TraceEvent.h" 59 #include "platform/instrumentation/tracing/TraceEvent.h"
59 #include "platform/wtf/PtrUtil.h" 60 #include "platform/wtf/PtrUtil.h"
60 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h" 61 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h"
61 #include "public/platform/WebCursorInfo.h" 62 #include "public/platform/WebCursorInfo.h"
62 #include "public/platform/WebFloatRect.h" 63 #include "public/platform/WebFloatRect.h"
63 #include "public/web/WebAXObject.h" 64 #include "public/web/WebAXObject.h"
64 #include "public/web/WebFrameClient.h" 65 #include "public/web/WebFrameClient.h"
65 #include "public/web/WebViewClient.h" 66 #include "public/web/WebViewClient.h"
66 #include "public/web/WebWidgetClient.h" 67 #include "public/web/WebWidgetClient.h"
67 #include "web/WebInputEventConversion.h"
68 #include "web/WebLocalFrameImpl.h" 68 #include "web/WebLocalFrameImpl.h"
69 #include "web/WebSettingsImpl.h" 69 #include "web/WebSettingsImpl.h"
70 70
71 namespace blink { 71 namespace blink {
72 72
73 class PagePopupChromeClient final : public EmptyChromeClient { 73 class PagePopupChromeClient final : public EmptyChromeClient {
74 public: 74 public:
75 static PagePopupChromeClient* Create(WebPagePopupImpl* popup) { 75 static PagePopupChromeClient* Create(WebPagePopupImpl* popup) {
76 return new PagePopupChromeClient(popup); 76 return new PagePopupChromeClient(popup);
77 } 77 }
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // A WebPagePopupImpl instance usually has two references. 602 // A WebPagePopupImpl instance usually has two references.
603 // - One owned by the instance itself. It represents the visible widget. 603 // - One owned by the instance itself. It represents the visible widget.
604 // - One owned by a WebViewBase. It's released when the WebViewBase ask the 604 // - One owned by a WebViewBase. It's released when the WebViewBase ask the
605 // WebPagePopupImpl to close. 605 // WebPagePopupImpl to close.
606 // We need them because the closing operation is asynchronous and the widget 606 // We need them because the closing operation is asynchronous and the widget
607 // can be closed while the WebViewBase is unaware of it. 607 // can be closed while the WebViewBase is unaware of it.
608 return AdoptRef(new WebPagePopupImpl(client)).LeakRef(); 608 return AdoptRef(new WebPagePopupImpl(client)).LeakRef();
609 } 609 }
610 610
611 } // namespace blink 611 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698