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

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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 virtual void reportFindInPageSelection(int request_id, 577 virtual void reportFindInPageSelection(int request_id,
578 int active_match_ordinal, 578 int active_match_ordinal,
579 const WebKit::WebRect& sel); 579 const WebKit::WebRect& sel);
580 580
581 virtual void openFileSystem(WebKit::WebFrame* frame, 581 virtual void openFileSystem(WebKit::WebFrame* frame,
582 WebKit::WebFileSystem::Type type, 582 WebKit::WebFileSystem::Type type,
583 long long size, 583 long long size,
584 bool create, 584 bool create,
585 WebKit::WebFileSystemCallbacks* callbacks); 585 WebKit::WebFileSystemCallbacks* callbacks);
586 586
587 virtual void queryStorageUsageAndQuota(
588 WebKit::WebFrame* frame,
589 WebKit::WebStorageQuotaType type,
590 WebKit::WebStorageQuotaCallbacks* callbacks);
591
592 virtual void requestStorageQuota(
593 WebKit::WebFrame* frame,
594 WebKit::WebStorageQuotaType type,
595 unsigned long long requested_size,
596 WebKit::WebStorageQuotaCallbacks* callbacks);
597
587 // WebKit::WebPageSerializerClient implementation ---------------------------- 598 // WebKit::WebPageSerializerClient implementation ----------------------------
588 599
589 virtual void didSerializeDataForFrame(const WebKit::WebURL& frame_url, 600 virtual void didSerializeDataForFrame(const WebKit::WebURL& frame_url,
590 const WebKit::WebCString& data, 601 const WebKit::WebCString& data,
591 PageSerializationStatus status); 602 PageSerializationStatus status);
592 603
593 // webkit_glue::WebPluginPageDelegate implementation ------------------------- 604 // webkit_glue::WebPluginPageDelegate implementation -------------------------
594 605
595 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 606 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
596 const FilePath& file_path, 607 const FilePath& file_path,
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 // bunch of stuff, you should probably create a helper class and put your 1357 // bunch of stuff, you should probably create a helper class and put your
1347 // data and methods on that to avoid bloating RenderView more. You can use 1358 // data and methods on that to avoid bloating RenderView more. You can use
1348 // the Observer interface to filter IPC messages and receive frame change 1359 // the Observer interface to filter IPC messages and receive frame change
1349 // notifications. 1360 // notifications.
1350 // --------------------------------------------------------------------------- 1361 // ---------------------------------------------------------------------------
1351 1362
1352 DISALLOW_COPY_AND_ASSIGN(RenderView); 1363 DISALLOW_COPY_AND_ASSIGN(RenderView);
1353 }; 1364 };
1354 1365
1355 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1366 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698