| 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 void updateFromElement(UpdateReason) override; | 73 void updateFromElement(UpdateReason) override; |
| 74 void disconnectClient() override; | 74 void disconnectClient() override; |
| 75 | 75 |
| 76 // WebExternalPopupClient methods: | 76 // WebExternalPopupClient methods: |
| 77 void didChangeSelection(int index) override; | 77 void didChangeSelection(int index) override; |
| 78 void didAcceptIndex(int index) override; | 78 void didAcceptIndex(int index) override; |
| 79 void didAcceptIndices(const WebVector<int>& indices) override; | 79 void didAcceptIndices(const WebVector<int>& indices) override; |
| 80 void didCancel() override; | 80 void didCancel() override; |
| 81 | 81 |
| 82 bool showInternal(); | 82 bool showInternal(); |
| 83 void dispatchEvent(Timer<ExternalPopupMenu>*); | 83 void dispatchEvent(TimerBase*); |
| 84 void update(); | 84 void update(); |
| 85 | 85 |
| 86 Member<HTMLSelectElement> m_ownerElement; | 86 Member<HTMLSelectElement> m_ownerElement; |
| 87 Member<LocalFrame> m_localFrame; | 87 Member<LocalFrame> m_localFrame; |
| 88 WebViewImpl& m_webView; | 88 WebViewImpl& m_webView; |
| 89 std::unique_ptr<WebMouseEvent> m_syntheticEvent; | 89 std::unique_ptr<WebMouseEvent> m_syntheticEvent; |
| 90 Timer<ExternalPopupMenu> m_dispatchEventTimer; | 90 Timer<ExternalPopupMenu> m_dispatchEventTimer; |
| 91 // The actual implementor of the show menu. | 91 // The actual implementor of the show menu. |
| 92 WebExternalPopupMenu* m_webExternalPopupMenu; | 92 WebExternalPopupMenu* m_webExternalPopupMenu; |
| 93 bool m_needsUpdate = false; | 93 bool m_needsUpdate = false; |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace blink | 96 } // namespace blink |
| 97 | 97 |
| 98 #endif // ExternalPopupMenu_h | 98 #endif // ExternalPopupMenu_h |
| OLD | NEW |