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

Side by Side Diff: Source/WebKit/chromium/src/ChromeClientImpl.cpp

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
OLDNEW
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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 m_webView->setPageScaleFactorLimits(computed.minimumScale, computed.maximumS cale); 678 m_webView->setPageScaleFactorLimits(computed.minimumScale, computed.maximumS cale);
679 #endif 679 #endif
680 } 680 }
681 681
682 void ChromeClientImpl::print(Frame* frame) 682 void ChromeClientImpl::print(Frame* frame)
683 { 683 {
684 if (m_webView->client()) 684 if (m_webView->client())
685 m_webView->client()->printPage(WebFrameImpl::fromFrame(frame)); 685 m_webView->client()->printPage(WebFrameImpl::fromFrame(frame));
686 } 686 }
687 687
688 #if ENABLE(SQL_DATABASE)
689 void ChromeClientImpl::exceededDatabaseQuota(Frame* frame, const String& databas eName, DatabaseDetails) 688 void ChromeClientImpl::exceededDatabaseQuota(Frame* frame, const String& databas eName, DatabaseDetails)
690 { 689 {
691 // Chromium users cannot currently change the default quota 690 // Chromium users cannot currently change the default quota
692 } 691 }
693 #endif
694 692
695 void ChromeClientImpl::reachedMaxAppCacheSize(int64_t spaceNeeded) 693 void ChromeClientImpl::reachedMaxAppCacheSize(int64_t spaceNeeded)
696 { 694 {
697 ASSERT_NOT_REACHED(); 695 ASSERT_NOT_REACHED();
698 } 696 }
699 697
700 void ChromeClientImpl::reachedApplicationCacheOriginQuota(SecurityOrigin*, int64 _t) 698 void ChromeClientImpl::reachedApplicationCacheOriginQuota(SecurityOrigin*, int64 _t)
701 { 699 {
702 ASSERT_NOT_REACHED(); 700 ASSERT_NOT_REACHED();
703 } 701 }
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 { 1196 {
1199 } 1197 }
1200 1198
1201 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title) 1199 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title)
1202 { 1200 {
1203 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); 1201 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title);
1204 } 1202 }
1205 #endif 1203 #endif
1206 1204
1207 } // namespace WebKit 1205 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/ChromeClientImpl.h ('k') | Source/WebKit/chromium/src/DatabaseObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698