| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void UpdateCompositedSelection(LocalFrame*, | 164 void UpdateCompositedSelection(LocalFrame*, |
| 165 const CompositedSelection&) override; | 165 const CompositedSelection&) override; |
| 166 | 166 |
| 167 // ChromeClient methods: | 167 // ChromeClient methods: |
| 168 String AcceptLanguages() override; | 168 String AcceptLanguages() override; |
| 169 void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) override; | 169 void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) override; |
| 170 | 170 |
| 171 // ChromeClientImpl: | 171 // ChromeClientImpl: |
| 172 void SetNewWindowNavigationPolicy(WebNavigationPolicy); | 172 void SetNewWindowNavigationPolicy(WebNavigationPolicy); |
| 173 | 173 |
| 174 void AutoscrollStart(WebFloatPoint viewport_point, LocalFrame*) override; |
| 175 void AutoscrollFling(WebFloatSize velocity, LocalFrame*) override; |
| 176 void AutoscrollEnd(LocalFrame*) override; |
| 177 |
| 174 bool HasOpenedPopup() const override; | 178 bool HasOpenedPopup() const override; |
| 175 PopupMenu* OpenPopupMenu(LocalFrame&, HTMLSelectElement&) override; | 179 PopupMenu* OpenPopupMenu(LocalFrame&, HTMLSelectElement&) override; |
| 176 PagePopup* OpenPagePopup(PagePopupClient*) override; | 180 PagePopup* OpenPagePopup(PagePopupClient*) override; |
| 177 void ClosePagePopup(PagePopup*) override; | 181 void ClosePagePopup(PagePopup*) override; |
| 178 DOMWindow* PagePopupWindowForTesting() const override; | 182 DOMWindow* PagePopupWindowForTesting() const override; |
| 179 | 183 |
| 180 bool ShouldOpenModalDialogDuringPageDismissal( | 184 bool ShouldOpenModalDialogDuringPageDismissal( |
| 181 LocalFrame&, | 185 LocalFrame&, |
| 182 DialogType, | 186 DialogType, |
| 183 const String& dialog_message, | 187 const String& dialog_message, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 253 |
| 250 DEFINE_TYPE_CASTS(ChromeClientImpl, | 254 DEFINE_TYPE_CASTS(ChromeClientImpl, |
| 251 ChromeClient, | 255 ChromeClient, |
| 252 client, | 256 client, |
| 253 client->IsChromeClientImpl(), | 257 client->IsChromeClientImpl(), |
| 254 client.IsChromeClientImpl()); | 258 client.IsChromeClientImpl()); |
| 255 | 259 |
| 256 } // namespace blink | 260 } // namespace blink |
| 257 | 261 |
| 258 #endif | 262 #endif |
| OLD | NEW |