equal
deleted
inserted
replaced
135 // React on clicks and on keypresses. |
135 // React on clicks and on keypresses. |
136 // Don't make this KEYUP_EVENT again, it makes khtml follow links it shouldn't, |
136 // Don't make this KEYUP_EVENT again, it makes khtml follow links it shouldn't, |
137 // when pressing Enter in the combo. |
137 // when pressing Enter in the combo. |
138 if (m_isLink && (evt->type() == clickEvent || (evt->type() == keydownEvent && m_focused))) { |
138 if (m_isLink && (evt->type() == clickEvent || (evt->type() == keydownEvent && m_focused))) { |
139 MouseEvent* e = 0; |
139 MouseEvent* e = 0; |
140 if (evt->type() == clickEvent && evt->isMouseEvent()) |
140 |
141 |
141 |
142 #if PLATFORM(SYMBIAN) |
142 #if PLATFORM(SYMBIAN) |
|
143 if (evt->type() == clickEvent && evt->isMouseEvent()) { |
|
144 e = static_cast<MouseEvent*>(evt); |
|
145 |
143 if (m_soundstart) { |
146 if (m_soundstart) { |
144 m_soundstart->OnClick(document()->frame()); |
147 m_soundstart->OnClick(document()->frame()); |
145 } |
148 } |
|
149 } |
|
150 #else |
|
151 if (evt->type() == clickEvent && evt->isMouseEvent()) |
|
152 e = static_cast<MouseEvent*>(evt); |
146 #endif |
153 #endif |
147 |
154 |
148 e = static_cast<MouseEvent*>(evt); |
155 |
149 |
156 |
150 KeyboardEvent* k = 0; |
157 KeyboardEvent* k = 0; |
151 if (evt->type() == keydownEvent && evt->isKeyboardEvent()) |
158 if (evt->type() == keydownEvent && evt->isKeyboardEvent()) |
152 k = static_cast<KeyboardEvent*>(evt); |
159 k = static_cast<KeyboardEvent*>(evt); |
153 |
160 |