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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 void setStatusbarText(LocalFrame*, const String&); | 108 void setStatusbarText(LocalFrame*, const String&); |
109 | 109 |
110 IntRect windowResizerRect() const; | 110 IntRect windowResizerRect() const; |
111 | 111 |
112 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags); | 112 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags); |
113 | 113 |
114 void setToolTip(const HitTestResult&); | 114 void setToolTip(const HitTestResult&); |
115 | 115 |
116 void print(LocalFrame*); | 116 void print(LocalFrame*); |
117 | 117 |
118 PassOwnPtr<ColorChooser> createColorChooser(LocalFrame*, ColorChooserClient*
, const Color& initialColor); | 118 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh
ooserClient*, const Color& initialColor); |
119 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons
t DateTimeChooserParameters&); | 119 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons
t DateTimeChooserParameters&); |
120 void openTextDataListChooser(HTMLInputElement&); | 120 void openTextDataListChooser(HTMLInputElement&); |
121 | 121 |
122 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>); | 122 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>); |
123 void enumerateChosenDirectory(FileChooser*); | 123 void enumerateChosenDirectory(FileChooser*); |
124 | 124 |
125 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const; | 125 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const; |
126 | 126 |
127 bool hasOpenedPopup() const; | 127 bool hasOpenedPopup() const; |
128 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie
nt*) const; | 128 PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, PopupMenuClie
nt*) const; |
129 | 129 |
130 void registerPopupOpeningObserver(PopupOpeningObserver*); | 130 void registerPopupOpeningObserver(PopupOpeningObserver*); |
131 void unregisterPopupOpeningObserver(PopupOpeningObserver*); | 131 void unregisterPopupOpeningObserver(PopupOpeningObserver*); |
132 | 132 |
133 void willBeDestroyed(); | 133 void willBeDestroyed(); |
134 | 134 |
135 private: | 135 private: |
136 Chrome(Page*, ChromeClient*); | 136 Chrome(Page*, ChromeClient*); |
137 void notifyPopupOpeningObservers() const; | 137 void notifyPopupOpeningObservers() const; |
138 | 138 |
139 Page* m_page; | 139 Page* m_page; |
140 ChromeClient* m_client; | 140 ChromeClient* m_client; |
141 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 141 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
142 }; | 142 }; |
143 | 143 |
144 } | 144 } // namespace blink |
145 | 145 |
146 #endif // Chrome_h | 146 #endif // Chrome_h |
OLD | NEW |