OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh
ooserClient*, const Color& initialColor); | 120 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh
ooserClient*, const Color& initialColor); |
121 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons
t DateTimeChooserParameters&); | 121 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons
t DateTimeChooserParameters&); |
122 void openTextDataListChooser(HTMLInputElement&); | 122 void openTextDataListChooser(HTMLInputElement&); |
123 | 123 |
124 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>); | 124 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>); |
125 void enumerateChosenDirectory(FileChooser*); | 125 void enumerateChosenDirectory(FileChooser*); |
126 | 126 |
127 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const; | 127 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const; |
128 | 128 |
129 bool hasOpenedPopup() const; | 129 bool hasOpenedPopup() const; |
130 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie
nt*) const; | 130 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie
nt*); |
131 | 131 |
132 void registerPopupOpeningObserver(PopupOpeningObserver*); | 132 void registerPopupOpeningObserver(PopupOpeningObserver*); |
133 void unregisterPopupOpeningObserver(PopupOpeningObserver*); | 133 void unregisterPopupOpeningObserver(PopupOpeningObserver*); |
134 | 134 |
135 void willBeDestroyed(); | 135 void willBeDestroyed(); |
136 | 136 |
137 private: | 137 private: |
138 Chrome(Page*, ChromeClient*); | 138 Chrome(Page*, ChromeClient*); |
139 void notifyPopupOpeningObservers() const; | 139 void notifyPopupOpeningObservers() const; |
140 | 140 |
141 Page* m_page; | 141 Page* m_page; |
142 ChromeClient* m_client; | 142 ChromeClient* m_client; |
143 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 143 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
144 }; | 144 }; |
145 | 145 |
146 } // namespace blink | 146 } // namespace blink |
147 | 147 |
148 #endif // Chrome_h | 148 #endif // Chrome_h |
OLD | NEW |