| OLD | NEW |
| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // WebExternalPopupClient methods: | 73 // WebExternalPopupClient methods: |
| 74 void didChangeSelection(int index) override; | 74 void didChangeSelection(int index) override; |
| 75 void didAcceptIndex(int index) override; | 75 void didAcceptIndex(int index) override; |
| 76 void didAcceptIndices(const WebVector<int>& indices) override; | 76 void didAcceptIndices(const WebVector<int>& indices) override; |
| 77 void didCancel() override; | 77 void didCancel() override; |
| 78 | 78 |
| 79 bool showInternal(); | 79 bool showInternal(); |
| 80 void dispatchEvent(Timer<ExternalPopupMenu>*); | 80 void dispatchEvent(Timer<ExternalPopupMenu>*); |
| 81 void update(); | 81 void update(); |
| 82 | 82 |
| 83 RawPtrWillBeMember<HTMLSelectElement> m_ownerElement; | 83 Member<HTMLSelectElement> m_ownerElement; |
| 84 RefPtrWillBeMember<LocalFrame> m_localFrame; | 84 Member<LocalFrame> m_localFrame; |
| 85 WebViewImpl& m_webView; | 85 WebViewImpl& m_webView; |
| 86 OwnPtr<WebMouseEvent> m_syntheticEvent; | 86 OwnPtr<WebMouseEvent> m_syntheticEvent; |
| 87 Timer<ExternalPopupMenu> m_dispatchEventTimer; | 87 Timer<ExternalPopupMenu> m_dispatchEventTimer; |
| 88 // The actual implementor of the show menu. | 88 // The actual implementor of the show menu. |
| 89 WebExternalPopupMenu* m_webExternalPopupMenu; | 89 WebExternalPopupMenu* m_webExternalPopupMenu; |
| 90 uint64_t m_shownDOMTreeVersion = 0; | 90 uint64_t m_shownDOMTreeVersion = 0; |
| 91 bool m_needsUpdate = false; | 91 bool m_needsUpdate = false; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| 95 | 95 |
| 96 #endif // ExternalPopupMenu_h | 96 #endif // ExternalPopupMenu_h |
| OLD | NEW |