| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 void AnnotatedRegionsChanged() override; | 131 void AnnotatedRegionsChanged() override; |
| 132 ColorChooser* OpenColorChooser(LocalFrame*, | 132 ColorChooser* OpenColorChooser(LocalFrame*, |
| 133 ColorChooserClient*, | 133 ColorChooserClient*, |
| 134 const Color&) override; | 134 const Color&) override; |
| 135 DateTimeChooser* OpenDateTimeChooser( | 135 DateTimeChooser* OpenDateTimeChooser( |
| 136 DateTimeChooserClient*, | 136 DateTimeChooserClient*, |
| 137 const DateTimeChooserParameters&) override; | 137 const DateTimeChooserParameters&) override; |
| 138 void OpenFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; | 138 void OpenFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; |
| 139 void EnumerateChosenDirectory(FileChooser*) override; | 139 void EnumerateChosenDirectory(FileChooser*) override; |
| 140 void SetCursor(const Cursor&, LocalFrame*) override; | 140 void SetCursor(const Cursor&, LocalFrame*) override; |
| 141 void SetCursorOverridden(bool) override; |
| 141 Cursor LastSetCursorForTesting() const override; | 142 Cursor LastSetCursorForTesting() const override; |
| 142 // The client keeps track of which touch/mousewheel event types have handlers, | 143 // The client keeps track of which touch/mousewheel event types have handlers, |
| 143 // and if they do, whether the handlers are passive and/or blocking. This | 144 // and if they do, whether the handlers are passive and/or blocking. This |
| 144 // allows the client to know which optimizations can be used for the | 145 // allows the client to know which optimizations can be used for the |
| 145 // associated event classes. | 146 // associated event classes. |
| 146 void SetEventListenerProperties(LocalFrame*, | 147 void SetEventListenerProperties(LocalFrame*, |
| 147 WebEventListenerClass, | 148 WebEventListenerClass, |
| 148 WebEventListenerProperties) override; | 149 WebEventListenerProperties) override; |
| 149 WebEventListenerProperties EventListenerProperties( | 150 WebEventListenerProperties EventListenerProperties( |
| 150 LocalFrame*, | 151 LocalFrame*, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 173 const CompositedSelection&) override; | 174 const CompositedSelection&) override; |
| 174 | 175 |
| 175 // ChromeClient methods: | 176 // ChromeClient methods: |
| 176 void PostAccessibilityNotification(AXObject*, | 177 void PostAccessibilityNotification(AXObject*, |
| 177 AXObjectCache::AXNotification) override; | 178 AXObjectCache::AXNotification) override; |
| 178 String AcceptLanguages() override; | 179 String AcceptLanguages() override; |
| 179 void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) override; | 180 void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) override; |
| 180 | 181 |
| 181 // ChromeClientImpl: | 182 // ChromeClientImpl: |
| 182 void SetNewWindowNavigationPolicy(WebNavigationPolicy); | 183 void SetNewWindowNavigationPolicy(WebNavigationPolicy); |
| 183 void SetCursorOverridden(bool); | |
| 184 | 184 |
| 185 bool HasOpenedPopup() const override; | 185 bool HasOpenedPopup() const override; |
| 186 PopupMenu* OpenPopupMenu(LocalFrame&, HTMLSelectElement&) override; | 186 PopupMenu* OpenPopupMenu(LocalFrame&, HTMLSelectElement&) override; |
| 187 PagePopup* OpenPagePopup(PagePopupClient*) override; | 187 PagePopup* OpenPagePopup(PagePopupClient*) override; |
| 188 void ClosePagePopup(PagePopup*) override; | 188 void ClosePagePopup(PagePopup*) override; |
| 189 DOMWindow* PagePopupWindowForTesting() const override; | 189 DOMWindow* PagePopupWindowForTesting() const override; |
| 190 | 190 |
| 191 bool ShouldOpenModalDialogDuringPageDismissal( | 191 bool ShouldOpenModalDialogDuringPageDismissal( |
| 192 LocalFrame&, | 192 LocalFrame&, |
| 193 DialogType, | 193 DialogType, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 DEFINE_TYPE_CASTS(ChromeClientImpl, | 259 DEFINE_TYPE_CASTS(ChromeClientImpl, |
| 260 ChromeClient, | 260 ChromeClient, |
| 261 client, | 261 client, |
| 262 client->IsChromeClientImpl(), | 262 client->IsChromeClientImpl(), |
| 263 client.IsChromeClientImpl()); | 263 client.IsChromeClientImpl()); |
| 264 | 264 |
| 265 } // namespace blink | 265 } // namespace blink |
| 266 | 266 |
| 267 #endif | 267 #endif |
| OLD | NEW |