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

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

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 years, 8 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/page/PagePopupClient.h" 47 #include "core/page/PagePopupClient.h"
48 #include "core/page/PagePopupSupplement.h" 48 #include "core/page/PagePopupSupplement.h"
49 #include "modules/accessibility/AXObject.h" 49 #include "modules/accessibility/AXObject.h"
50 #include "modules/accessibility/AXObjectCacheImpl.h" 50 #include "modules/accessibility/AXObjectCacheImpl.h"
51 #include "platform/EventDispatchForbiddenScope.h" 51 #include "platform/EventDispatchForbiddenScope.h"
52 #include "platform/LayoutTestSupport.h" 52 #include "platform/LayoutTestSupport.h"
53 #include "platform/ScriptForbiddenScope.h" 53 #include "platform/ScriptForbiddenScope.h"
54 #include "platform/animation/CompositorAnimationHost.h" 54 #include "platform/animation/CompositorAnimationHost.h"
55 #include "platform/heap/Handle.h" 55 #include "platform/heap/Handle.h"
56 #include "platform/instrumentation/tracing/TraceEvent.h" 56 #include "platform/instrumentation/tracing/TraceEvent.h"
57 #include "platform/wtf/PtrUtil.h"
57 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h" 58 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h"
58 #include "public/platform/WebCursorInfo.h" 59 #include "public/platform/WebCursorInfo.h"
59 #include "public/platform/WebFloatRect.h" 60 #include "public/platform/WebFloatRect.h"
60 #include "public/web/WebAXObject.h" 61 #include "public/web/WebAXObject.h"
61 #include "public/web/WebFrameClient.h" 62 #include "public/web/WebFrameClient.h"
62 #include "public/web/WebViewClient.h" 63 #include "public/web/WebViewClient.h"
63 #include "public/web/WebWidgetClient.h" 64 #include "public/web/WebWidgetClient.h"
64 #include "web/WebInputEventConversion.h" 65 #include "web/WebInputEventConversion.h"
65 #include "web/WebLocalFrameImpl.h" 66 #include "web/WebLocalFrameImpl.h"
66 #include "web/WebSettingsImpl.h" 67 #include "web/WebSettingsImpl.h"
67 #include "web/WebViewImpl.h" 68 #include "web/WebViewImpl.h"
68 #include "wtf/PtrUtil.h"
69 69
70 namespace blink { 70 namespace blink {
71 71
72 class PagePopupChromeClient final : public EmptyChromeClient { 72 class PagePopupChromeClient final : public EmptyChromeClient {
73 public: 73 public:
74 static PagePopupChromeClient* create(WebPagePopupImpl* popup) { 74 static PagePopupChromeClient* create(WebPagePopupImpl* popup) {
75 return new PagePopupChromeClient(popup); 75 return new PagePopupChromeClient(popup);
76 } 76 }
77 77
78 void setWindowRect(const IntRect& rect, LocalFrame&) override { 78 void setWindowRect(const IntRect& rect, LocalFrame&) override {
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 // A WebPagePopupImpl instance usually has two references. 599 // A WebPagePopupImpl instance usually has two references.
600 // - One owned by the instance itself. It represents the visible widget. 600 // - One owned by the instance itself. It represents the visible widget.
601 // - One owned by a WebViewImpl. It's released when the WebViewImpl ask the 601 // - One owned by a WebViewImpl. It's released when the WebViewImpl ask the
602 // WebPagePopupImpl to close. 602 // WebPagePopupImpl to close.
603 // We need them because the closing operation is asynchronous and the widget 603 // We need them because the closing operation is asynchronous and the widget
604 // can be closed while the WebViewImpl is unaware of it. 604 // can be closed while the WebViewImpl is unaware of it.
605 return adoptRef(new WebPagePopupImpl(client)).leakRef(); 605 return adoptRef(new WebPagePopupImpl(client)).leakRef();
606 } 606 }
607 607
608 } // namespace blink 608 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.h ('k') | third_party/WebKit/Source/web/WebPepperSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698