Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: Source/WebCore/page/ChromeClient.h

Issue 13774005: Remove the ENABLE_SQL_DATABASE compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: python Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/loader/FrameLoader.cpp ('k') | Source/WebCore/workers/WorkerThread.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #ifndef ChromeClient_h 22 #ifndef ChromeClient_h
23 #define ChromeClient_h 23 #define ChromeClient_h
24 24
25 #include "AXObjectCache.h" 25 #include "AXObjectCache.h"
26 #include "ConsoleAPITypes.h" 26 #include "ConsoleAPITypes.h"
27 #include "ConsoleTypes.h" 27 #include "ConsoleTypes.h"
28 #include "Cursor.h" 28 #include "Cursor.h"
29 #include "DatabaseDetails.h"
29 #include "FocusDirection.h" 30 #include "FocusDirection.h"
30 #include "FrameLoader.h" 31 #include "FrameLoader.h"
31 #include "GraphicsContext.h" 32 #include "GraphicsContext.h"
32 #include "HostWindow.h" 33 #include "HostWindow.h"
33 #include "PopupMenu.h" 34 #include "PopupMenu.h"
34 #include "PopupMenuClient.h" 35 #include "PopupMenuClient.h"
35 #include "RenderEmbeddedObject.h" 36 #include "RenderEmbeddedObject.h"
36 #include "ScrollTypes.h" 37 #include "ScrollTypes.h"
37 #include "SearchPopupMenu.h" 38 #include "SearchPopupMenu.h"
38 #include "WebCoreKeyboardUIMode.h" 39 #include "WebCoreKeyboardUIMode.h"
39 #include <wtf/Forward.h> 40 #include <wtf/Forward.h>
40 #include <wtf/PassOwnPtr.h> 41 #include <wtf/PassOwnPtr.h>
41 #include <wtf/UnusedParam.h> 42 #include <wtf/UnusedParam.h>
42 #include <wtf/Vector.h> 43 #include <wtf/Vector.h>
43 44
44 #if ENABLE(SQL_DATABASE)
45 #include "DatabaseDetails.h"
46 #endif
47 45
48 #ifndef __OBJC__ 46 #ifndef __OBJC__
49 class NSMenu; 47 class NSMenu;
50 class NSResponder; 48 class NSResponder;
51 #endif 49 #endif
52 50
53 namespace WebCore { 51 namespace WebCore {
54 52
55 class AccessibilityObject; 53 class AccessibilityObject;
56 class ColorChooser; 54 class ColorChooser;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 virtual void unavailablePluginButtonClicked(Element*, RenderEmbeddedObject:: PluginUnavailabilityReason) const { } 180 virtual void unavailablePluginButtonClicked(Element*, RenderEmbeddedObject:: PluginUnavailabilityReason) const { }
183 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0; 181 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0;
184 182
185 virtual void setToolTip(const String&, TextDirection) = 0; 183 virtual void setToolTip(const String&, TextDirection) = 0;
186 184
187 virtual void print(Frame*) = 0; 185 virtual void print(Frame*) = 0;
188 virtual bool shouldRubberBandInDirection(ScrollDirection) const = 0; 186 virtual bool shouldRubberBandInDirection(ScrollDirection) const = 0;
189 187
190 virtual Color underlayColor() const { return Color(); } 188 virtual Color underlayColor() const { return Color(); }
191 189
192 #if ENABLE(SQL_DATABASE)
193 virtual void exceededDatabaseQuota(Frame*, const String& databaseName, Datab aseDetails) = 0; 190 virtual void exceededDatabaseQuota(Frame*, const String& databaseName, Datab aseDetails) = 0;
194 #endif
195 191
196 // Callback invoked when the application cache fails to save a cache object 192 // Callback invoked when the application cache fails to save a cache object
197 // because storing it would grow the database file past its defined maximum 193 // because storing it would grow the database file past its defined maximum
198 // size or past the amount of free space on the device. 194 // size or past the amount of free space on the device.
199 // The chrome client would need to take some action such as evicting some 195 // The chrome client would need to take some action such as evicting some
200 // old caches. 196 // old caches.
201 virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) = 0; 197 virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) = 0;
202 198
203 // Callback invoked when the application cache origin quota is reached. This 199 // Callback invoked when the application cache origin quota is reached. This
204 // means that the resources attempting to be cached via the manifest are 200 // means that the resources attempting to be cached via the manifest are
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 378
383 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; 379 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { };
384 virtual bool shouldNotifyOnFormChanges() { return false; }; 380 virtual bool shouldNotifyOnFormChanges() { return false; };
385 381
386 protected: 382 protected:
387 virtual ~ChromeClient() { } 383 virtual ~ChromeClient() { }
388 }; 384 };
389 385
390 } 386 }
391 #endif // ChromeClient_h 387 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/WebCore/loader/FrameLoader.cpp ('k') | Source/WebCore/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698