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

Side by Side Diff: content/renderer/render_view.h

Issue 6811022: Add IPC plumbing code for Quota API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 virtual void reportFindInPageSelection(int request_id, 571 virtual void reportFindInPageSelection(int request_id,
572 int active_match_ordinal, 572 int active_match_ordinal,
573 const WebKit::WebRect& sel); 573 const WebKit::WebRect& sel);
574 574
575 virtual void openFileSystem(WebKit::WebFrame* frame, 575 virtual void openFileSystem(WebKit::WebFrame* frame,
576 WebKit::WebFileSystem::Type type, 576 WebKit::WebFileSystem::Type type,
577 long long size, 577 long long size,
578 bool create, 578 bool create,
579 WebKit::WebFileSystemCallbacks* callbacks); 579 WebKit::WebFileSystemCallbacks* callbacks);
580 580
581 virtual void queryStorageUsageAndQuota(
582 WebKit::WebFrame* frame,
583 WebKit::WebStorageQuotaType type,
584 WebKit::WebStorageQuotaCallbacks* callbacks);
585
586 virtual void requestStorageQuota(
587 WebKit::WebFrame* frame,
588 WebKit::WebStorageQuotaType type,
589 unsigned long long requested_size,
590 WebKit::WebStorageQuotaCallbacks* callbacks);
591
581 // WebKit::WebPageSerializerClient implementation ---------------------------- 592 // WebKit::WebPageSerializerClient implementation ----------------------------
582 593
583 virtual void didSerializeDataForFrame(const WebKit::WebURL& frame_url, 594 virtual void didSerializeDataForFrame(const WebKit::WebURL& frame_url,
584 const WebKit::WebCString& data, 595 const WebKit::WebCString& data,
585 PageSerializationStatus status); 596 PageSerializationStatus status);
586 597
587 // webkit_glue::WebPluginPageDelegate implementation ------------------------- 598 // webkit_glue::WebPluginPageDelegate implementation -------------------------
588 599
589 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 600 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
590 const FilePath& file_path, 601 const FilePath& file_path,
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // bunch of stuff, you should probably create a helper class and put your 1342 // bunch of stuff, you should probably create a helper class and put your
1332 // data and methods on that to avoid bloating RenderView more. You can use 1343 // data and methods on that to avoid bloating RenderView more. You can use
1333 // the Observer interface to filter IPC messages and receive frame change 1344 // the Observer interface to filter IPC messages and receive frame change
1334 // notifications. 1345 // notifications.
1335 // --------------------------------------------------------------------------- 1346 // ---------------------------------------------------------------------------
1336 1347
1337 DISALLOW_COPY_AND_ASSIGN(RenderView); 1348 DISALLOW_COPY_AND_ASSIGN(RenderView);
1338 }; 1349 };
1339 1350
1340 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1351 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698