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

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

Issue 2034393003: testRunner.layoutAndPaintAsyncThen ==> testRunner.compositeAsyncThen (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) 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 USING_FAST_MALLOC(WebPagePopupImpl); 58 USING_FAST_MALLOC(WebPagePopupImpl);
59 59
60 public: 60 public:
61 ~WebPagePopupImpl() override; 61 ~WebPagePopupImpl() override;
62 bool initialize(WebViewImpl*, PagePopupClient*); 62 bool initialize(WebViewImpl*, PagePopupClient*);
63 WebInputEventResult handleKeyEvent(const PlatformKeyboardEvent&); 63 WebInputEventResult handleKeyEvent(const PlatformKeyboardEvent&);
64 void closePopup(); 64 void closePopup();
65 WebWidgetClient* widgetClient() const { return m_widgetClient; } 65 WebWidgetClient* widgetClient() const { return m_widgetClient; }
66 bool hasSamePopupClient(WebPagePopupImpl* other) { return other && m_popupCl ient == other->m_popupClient; } 66 bool hasSamePopupClient(WebPagePopupImpl* other) { return other && m_popupCl ient == other->m_popupClient; }
67 LocalDOMWindow* window(); 67 LocalDOMWindow* window();
68 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
69 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri de; 68 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri de;
70 WebPoint positionRelativeToOwner() override; 69 WebPoint positionRelativeToOwner() override;
71 void postMessage(const String& message) override; 70 void postMessage(const String& message) override;
72 void cancel(); 71 void cancel();
73 72
74 private: 73 private:
75 // WebWidget functions 74 // WebWidget functions
76 void beginFrame(double lastFrameTimeMonotonic) override; 75 void beginFrame(double lastFrameTimeMonotonic) override;
77 void updateAllLifecyclePhases() override; 76 void updateAllLifecyclePhases() override;
78 void willCloseLayerTreeView() override; 77 void willCloseLayerTreeView() override;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 friend class PagePopupChromeClient; 120 friend class PagePopupChromeClient;
122 }; 121 };
123 122
124 DEFINE_TYPE_CASTS(WebPagePopupImpl, WebWidget, widget, widget->isPagePopup(), wi dget.isPagePopup()); 123 DEFINE_TYPE_CASTS(WebPagePopupImpl, WebWidget, widget, widget->isPagePopup(), wi dget.isPagePopup());
125 // WebPagePopupImpl is the only implementation of PagePopup, so no 124 // WebPagePopupImpl is the only implementation of PagePopup, so no
126 // further checking required. 125 // further checking required.
127 DEFINE_TYPE_CASTS(WebPagePopupImpl, PagePopup, popup, true, true); 126 DEFINE_TYPE_CASTS(WebPagePopupImpl, PagePopup, popup, true, true);
128 127
129 } // namespace blink 128 } // namespace blink
130 #endif // WebPagePopupImpl_h 129 #endif // WebPagePopupImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698