OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 void setToolTip(const String& tooltipText, TextDirection) override; | 104 void setToolTip(const String& tooltipText, TextDirection) override; |
105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; | 105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; |
106 void printDelegate(LocalFrame*) override; | 106 void printDelegate(LocalFrame*) override; |
107 void annotatedRegionsChanged() override; | 107 void annotatedRegionsChanged() override; |
108 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo
serClient*, const Color&) override; | 108 PassOwnPtrWillBeRawPtr<ColorChooser> openColorChooser(LocalFrame*, ColorChoo
serClient*, const Color&) override; |
109 PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserC
lient*, const DateTimeChooserParameters&) override; | 109 PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserC
lient*, const DateTimeChooserParameters&) override; |
110 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; | 110 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; |
111 void enumerateChosenDirectory(FileChooser*) override; | 111 void enumerateChosenDirectory(FileChooser*) override; |
112 void setCursor(const Cursor&, LocalFrame* localRoot) override; | 112 void setCursor(const Cursor&, LocalFrame* localRoot) override; |
113 Cursor lastSetCursorForTesting() const override; | 113 Cursor lastSetCursorForTesting() const override; |
114 void needTouchEvents(bool needTouchEvents) override; | 114 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope
rties) override; |
115 void setHaveWheelEventHandlers(bool hasEventHandlers) override; | 115 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co
nst override; |
116 bool haveWheelEventHandlers() const override; | |
117 void setHaveScrollEventHandlers(bool hasEventHandlers) override; | 116 void setHaveScrollEventHandlers(bool hasEventHandlers) override; |
118 bool haveScrollEventHandlers() const override; | 117 bool haveScrollEventHandlers() const override; |
119 void setTouchAction(TouchAction) override; | 118 void setTouchAction(TouchAction) override; |
120 | 119 |
121 GraphicsLayerFactory* graphicsLayerFactory() const override; | 120 GraphicsLayerFactory* graphicsLayerFactory() const override; |
122 | 121 |
123 // Pass 0 as the GraphicsLayer to detatch the root layer. | 122 // Pass 0 as the GraphicsLayer to detatch the root layer. |
124 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override
; | 123 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override
; |
125 | 124 |
126 void didPaint(const PaintArtifact&) override; | 125 void didPaint(const PaintArtifact&) override; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 Cursor m_lastSetMouseCursorForTesting; | 195 Cursor m_lastSetMouseCursorForTesting; |
197 bool m_cursorOverridden; | 196 bool m_cursorOverridden; |
198 bool m_didRequestNonEmptyToolTip; | 197 bool m_didRequestNonEmptyToolTip; |
199 }; | 198 }; |
200 | 199 |
201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 200 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
202 | 201 |
203 } // namespace blink | 202 } // namespace blink |
204 | 203 |
205 #endif | 204 #endif |
OLD | NEW |