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

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

Issue 2643623002: Convert ExternalPopupMenu Timer to TaskRunnerTimer. (Closed)
Patch Set: Convert to UnspecedTimer Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ExternalPopupMenu.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void didCancel() override; 81 void didCancel() override;
82 82
83 bool showInternal(); 83 bool showInternal();
84 void dispatchEvent(TimerBase*); 84 void dispatchEvent(TimerBase*);
85 void update(); 85 void update();
86 86
87 Member<HTMLSelectElement> m_ownerElement; 87 Member<HTMLSelectElement> m_ownerElement;
88 Member<LocalFrame> m_localFrame; 88 Member<LocalFrame> m_localFrame;
89 WebViewImpl& m_webView; 89 WebViewImpl& m_webView;
90 std::unique_ptr<WebMouseEvent> m_syntheticEvent; 90 std::unique_ptr<WebMouseEvent> m_syntheticEvent;
91 Timer<ExternalPopupMenu> m_dispatchEventTimer; 91 TaskRunnerTimer<ExternalPopupMenu> m_dispatchEventTimer;
92 // The actual implementor of the show menu. 92 // The actual implementor of the show menu.
93 WebExternalPopupMenu* m_webExternalPopupMenu; 93 WebExternalPopupMenu* m_webExternalPopupMenu;
94 bool m_needsUpdate = false; 94 bool m_needsUpdate = false;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // ExternalPopupMenu_h 99 #endif // ExternalPopupMenu_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ExternalPopupMenu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698