| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 // Callback invoked when the application cache origin quota is reached. This | 204 // Callback invoked when the application cache origin quota is reached. This |
| 205 // means that the resources attempting to be cached via the manifest are | 205 // means that the resources attempting to be cached via the manifest are |
| 206 // more than allowed on this origin. This callback allows the chrome client | 206 // more than allowed on this origin. This callback allows the chrome client |
| 207 // to take action, such as prompting the user to ask to increase the quota | 207 // to take action, such as prompting the user to ask to increase the quota |
| 208 // for this origin. The totalSpaceNeeded parameter is the total amount of | 208 // for this origin. The totalSpaceNeeded parameter is the total amount of |
| 209 // storage, in bytes, needed to store the new cache along with all of the | 209 // storage, in bytes, needed to store the new cache along with all of the |
| 210 // other existing caches for the origin that would not be replaced by | 210 // other existing caches for the origin that would not be replaced by |
| 211 // the new cache. | 211 // the new cache. |
| 212 virtual void reachedApplicationCacheOriginQuota(SecurityOrigin*, int64_t tot
alSpaceNeeded) = 0; | 212 virtual void reachedApplicationCacheOriginQuota(SecurityOrigin*, int64_t tot
alSpaceNeeded) = 0; |
| 213 | 213 |
| 214 #if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION) | 214 #if ENABLE(DRAGGABLE_REGION) |
| 215 virtual void annotatedRegionsChanged(); | 215 virtual void annotatedRegionsChanged(); |
| 216 #endif | 216 #endif |
| 217 | 217 |
| 218 virtual void populateVisitedLinks(); | 218 virtual void populateVisitedLinks(); |
| 219 | 219 |
| 220 virtual FloatRect customHighlightRect(Node*, const AtomicString& type, const
FloatRect& lineRect); | 220 virtual FloatRect customHighlightRect(Node*, const AtomicString& type, const
FloatRect& lineRect); |
| 221 virtual void paintCustomHighlight(Node*, const AtomicString& type, const Flo
atRect& boxRect, const FloatRect& lineRect, bool behindText, bool entireLine); | 221 virtual void paintCustomHighlight(Node*, const AtomicString& type, const Flo
atRect& boxRect, const FloatRect& lineRect, bool behindText, bool entireLine); |
| 222 | 222 |
| 223 virtual bool shouldReplaceWithGeneratedFileForUpload(const String& path, Str
ing& generatedFilename); | 223 virtual bool shouldReplaceWithGeneratedFileForUpload(const String& path, Str
ing& generatedFilename); |
| 224 virtual String generateReplacementFile(const String& path); | 224 virtual String generateReplacementFile(const String& path); |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 | 385 |
| 386 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; | 386 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; |
| 387 virtual bool shouldNotifyOnFormChanges() { return false; }; | 387 virtual bool shouldNotifyOnFormChanges() { return false; }; |
| 388 | 388 |
| 389 protected: | 389 protected: |
| 390 virtual ~ChromeClient() { } | 390 virtual ~ChromeClient() { } |
| 391 }; | 391 }; |
| 392 | 392 |
| 393 } | 393 } |
| 394 #endif // ChromeClient_h | 394 #endif // ChromeClient_h |
| OLD | NEW |