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

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

Issue 1164073005: Allow script to request durable storage permission (chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased onto content setting patch Created 5 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 const blink::WebAXObject& start_object, 535 const blink::WebAXObject& start_object,
536 int start_offset, 536 int start_offset,
537 const blink::WebAXObject& end_object, 537 const blink::WebAXObject& end_object,
538 int end_offset); 538 int end_offset);
539 virtual void didChangeManifest(blink::WebLocalFrame*); 539 virtual void didChangeManifest(blink::WebLocalFrame*);
540 virtual void didChangeDefaultPresentation(blink::WebLocalFrame*); 540 virtual void didChangeDefaultPresentation(blink::WebLocalFrame*);
541 virtual bool enterFullscreen(); 541 virtual bool enterFullscreen();
542 virtual bool exitFullscreen(); 542 virtual bool exitFullscreen();
543 virtual blink::WebPermissionClient* permissionClient(); 543 virtual blink::WebPermissionClient* permissionClient();
544 virtual blink::WebAppBannerClient* appBannerClient(); 544 virtual blink::WebAppBannerClient* appBannerClient();
545 virtual blink::WebDurableStorageDispatcher* durableStorageDispatcher();
545 546
546 #if defined(ENABLE_WEBVR) 547 #if defined(ENABLE_WEBVR)
547 blink::WebVRClient* webVRClient() override; 548 blink::WebVRClient* webVRClient() override;
548 #endif 549 #endif
549 550
550 // WebMediaPlayerDelegate implementation: 551 // WebMediaPlayerDelegate implementation:
551 void DidPlay(blink::WebMediaPlayer* player) override; 552 void DidPlay(blink::WebMediaPlayer* player) override;
552 void DidPause(blink::WebMediaPlayer* player) override; 553 void DidPause(blink::WebMediaPlayer* player) override;
553 void PlayerGone(blink::WebMediaPlayer* player) override; 554 void PlayerGone(blink::WebMediaPlayer* player) override;
554 555
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 AccessibilityMode accessibility_mode_; 988 AccessibilityMode accessibility_mode_;
988 989
989 // Only valid if |accessibility_mode_| is anything other than 990 // Only valid if |accessibility_mode_| is anything other than
990 // AccessibilityModeOff. 991 // AccessibilityModeOff.
991 RendererAccessibility* renderer_accessibility_; 992 RendererAccessibility* renderer_accessibility_;
992 993
993 scoped_ptr<PermissionDispatcher> permission_client_; 994 scoped_ptr<PermissionDispatcher> permission_client_;
994 995
995 scoped_ptr<blink::WebAppBannerClient> app_banner_client_; 996 scoped_ptr<blink::WebAppBannerClient> app_banner_client_;
996 997
998 scoped_ptr<blink::WebDurableStorageDispatcher> durable_storage_dispatcher_;
999
997 #if defined(ENABLE_WEBVR) 1000 #if defined(ENABLE_WEBVR)
998 // The VR dispatcher attached to the frame, lazily initialized. 1001 // The VR dispatcher attached to the frame, lazily initialized.
999 scoped_ptr<VRDispatcher> vr_dispatcher_; 1002 scoped_ptr<VRDispatcher> vr_dispatcher_;
1000 #endif 1003 #endif
1001 1004
1002 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1005 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1003 // The external popup for the currently showing select popup. 1006 // The external popup for the currently showing select popup.
1004 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1007 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1005 #endif 1008 #endif
1006 1009
1007 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1010 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1008 1011
1009 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1012 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1010 }; 1013 };
1011 1014
1012 } // namespace content 1015 } // namespace content
1013 1016
1014 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1017 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698