Changeset 143511 in webkit


Ignore:
Timestamp:
Feb 20, 2013 2:56:54 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Add gyp option to switch ENABLE(SQL_DATABASE)
https://bugs.webkit.org/show_bug.cgi?id=109303
http://code.google.com/p/chromium/issues/detail?id=22208

Patch by Paweł Hajdan, Jr. <phajdan.jr@chromium.org> on 2013-02-20
Reviewed by Tony Chang.

This will be useful to implement build with system sqlite.

  • features.gypi:
  • src/ChromeClientImpl.cpp:

(WebKit):

  • src/ChromeClientImpl.h:

(ChromeClientImpl):

Location:
trunk/Source/WebKit/chromium
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r143505 r143511  
     12013-02-20  Paweł Hajdan, Jr.  <phajdan.jr@chromium.org>
     2
     3        Add gyp option to switch ENABLE(SQL_DATABASE)
     4        https://bugs.webkit.org/show_bug.cgi?id=109303
     5        http://code.google.com/p/chromium/issues/detail?id=22208
     6
     7        Reviewed by Tony Chang.
     8
     9        This will be useful to implement build with system sqlite.
     10
     11        * features.gypi:
     12        * src/ChromeClientImpl.cpp:
     13        (WebKit):
     14        * src/ChromeClientImpl.h:
     15        (ChromeClientImpl):
     16
    1172013-02-20  Dirk Schulze  <krit@webkit.org>
    218
  • trunk/Source/WebKit/chromium/features.gypi

    r143505 r143511  
    113113      'ENABLE_SMOOTH_SCROLLING=1',
    114114      'ENABLE_SPEECH_SYNTHESIS=0',
    115       'ENABLE_SQL_DATABASE=1',
     115      'ENABLE_SQL_DATABASE=<(enable_sql_database)',
    116116      'ENABLE_STYLE_SCOPED=1',
    117117      'ENABLE_SUBPIXEL_LAYOUT=1',
     
    153153      'use_accelerated_compositing%': 1,
    154154      'enable_skia_text%': 1,
     155      'enable_sql_database%': 1,
    155156      'enable_svg%': 1,
    156157      'enable_touch_events%': 1,
     
    159160    'use_accelerated_compositing%': '<(use_accelerated_compositing)',
    160161    'enable_skia_text%': '<(enable_skia_text)',
     162    'enable_sql_database%': '<(enable_sql_database)',
    161163    'enable_svg%': '<(enable_svg)',
    162164    'enable_touch_events%': '<(enable_touch_events)',
  • trunk/Source/WebKit/chromium/src/ChromeClientImpl.cpp

    r143295 r143511  
    685685}
    686686
     687#if ENABLE(SQL_DATABASE)
    687688void ChromeClientImpl::exceededDatabaseQuota(Frame* frame, const String& databaseName, DatabaseDetails)
    688689{
    689690    // Chromium users cannot currently change the default quota
    690691}
     692#endif
    691693
    692694void ChromeClientImpl::reachedMaxAppCacheSize(int64_t spaceNeeded)
  • trunk/Source/WebKit/chromium/src/ChromeClientImpl.h

    r140286 r143511  
    138138    virtual void dispatchViewportPropertiesDidChange(const WebCore::ViewportArguments&) const;
    139139    virtual void print(WebCore::Frame*);
     140#if ENABLE(SQL_DATABASE)
    140141    virtual void exceededDatabaseQuota(
    141142        WebCore::Frame*, const WTF::String& databaseName, WebCore::DatabaseDetails);
     143#endif
    142144    virtual void reachedMaxAppCacheSize(int64_t spaceNeeded);
    143145    virtual void reachedApplicationCacheOriginQuota(WebCore::SecurityOrigin*, int64_t totalSpaceNeeded);
Note: See TracChangeset for help on using the changeset viewer.