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

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: comments reflected 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
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 virtual void reportFindInPageSelection(int request_id, 574 virtual void reportFindInPageSelection(int request_id,
575 int active_match_ordinal, 575 int active_match_ordinal,
576 const WebKit::WebRect& sel); 576 const WebKit::WebRect& sel);
577 577
578 virtual void openFileSystem(WebKit::WebFrame* frame, 578 virtual void openFileSystem(WebKit::WebFrame* frame,
579 WebKit::WebFileSystem::Type type, 579 WebKit::WebFileSystem::Type type,
580 long long size, 580 long long size,
581 bool create, 581 bool create,
582 WebKit::WebFileSystemCallbacks* callbacks); 582 WebKit::WebFileSystemCallbacks* callbacks);
583 583
584 virtual void queryStorageUsageAndQuota(
585 WebKit::WebFrame* frame,
586 WebKit::WebStorageQuotaType type,
587 WebKit::WebStorageQuotaCallbacks* callbacks);
588
589 virtual void requestStorageQuota(
590 WebKit::WebFrame* frame,
591 WebKit::WebStorageQuotaType type,
592 unsigned long long requested_size,
593 WebKit::WebStorageQuotaCallbacks* callbacks);
594
584 // WebKit::WebPageSerializerClient implementation ---------------------------- 595 // WebKit::WebPageSerializerClient implementation ----------------------------
585 596
586 virtual void didSerializeDataForFrame(const WebKit::WebURL& frame_url, 597 virtual void didSerializeDataForFrame(const WebKit::WebURL& frame_url,
587 const WebKit::WebCString& data, 598 const WebKit::WebCString& data,
588 PageSerializationStatus status); 599 PageSerializationStatus status);
589 600
590 // webkit_glue::WebPluginPageDelegate implementation ------------------------- 601 // webkit_glue::WebPluginPageDelegate implementation -------------------------
591 602
592 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 603 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
593 const FilePath& file_path, 604 const FilePath& file_path,
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 // bunch of stuff, you should probably create a helper class and put your 1350 // bunch of stuff, you should probably create a helper class and put your
1340 // data and methods on that to avoid bloating RenderView more. You can use 1351 // data and methods on that to avoid bloating RenderView more. You can use
1341 // the Observer interface to filter IPC messages and receive frame change 1352 // the Observer interface to filter IPC messages and receive frame change
1342 // notifications. 1353 // notifications.
1343 // --------------------------------------------------------------------------- 1354 // ---------------------------------------------------------------------------
1344 1355
1345 DISALLOW_COPY_AND_ASSIGN(RenderView); 1356 DISALLOW_COPY_AND_ASSIGN(RenderView);
1346 }; 1357 };
1347 1358
1348 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1359 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698