OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PopupMenuImpl_h | 5 #ifndef PopupMenuImpl_h |
6 #define PopupMenuImpl_h | 6 #define PopupMenuImpl_h |
7 | 7 |
8 #include "core/page/PagePopupClient.h" | 8 #include "core/page/PagePopupClient.h" |
9 #include "platform/PopupMenu.h" | 9 #include "platform/PopupMenu.h" |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 void disconnectClient() override; | 43 void disconnectClient() override; |
44 void updateFromElement(UpdateReason) override; | 44 void updateFromElement(UpdateReason) override; |
45 | 45 |
46 // PagePopupClient functions: | 46 // PagePopupClient functions: |
47 void writeDocument(SharedBuffer*) override; | 47 void writeDocument(SharedBuffer*) override; |
48 void selectFontsFromOwnerDocument(Document&) override; | 48 void selectFontsFromOwnerDocument(Document&) override; |
49 void setValueAndClosePopup(int, const String&) override; | 49 void setValueAndClosePopup(int, const String&) override; |
50 void setValue(const String&) override; | 50 void setValue(const String&) override; |
51 void closePopup() override; | 51 void closePopup() override; |
52 Element& ownerElement() override; | 52 Element& ownerElement() override; |
| 53 float zoomFactor() override { return 1.0; } |
53 Locale& locale() override; | 54 Locale& locale() override; |
54 void didClosePopup() override; | 55 void didClosePopup() override; |
55 | 56 |
56 Member<ChromeClientImpl> m_chromeClient; | 57 Member<ChromeClientImpl> m_chromeClient; |
57 Member<HTMLSelectElement> m_ownerElement; | 58 Member<HTMLSelectElement> m_ownerElement; |
58 PagePopup* m_popup; | 59 PagePopup* m_popup; |
59 bool m_needsUpdate; | 60 bool m_needsUpdate; |
60 }; | 61 }; |
61 | 62 |
62 } // namespace blink | 63 } // namespace blink |
63 | 64 |
64 #endif // PopupMenuImpl_h | 65 #endif // PopupMenuImpl_h |
OLD | NEW |