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

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

Issue 553603002: [ServiceWorker] Introduce isControlledByServiceWorker() in content::RenderFrameImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: isControlledByServiceWorker Created 6 years, 3 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.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 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, 430 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame,
431 const blink::WebURL& url); 431 const blink::WebURL& url);
432 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); 432 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame);
433 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); 433 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value);
434 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, 434 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame,
435 int arb_robustness_status_code); 435 int arb_robustness_status_code);
436 virtual void forwardInputEvent(const blink::WebInputEvent* event); 436 virtual void forwardInputEvent(const blink::WebInputEvent* event);
437 virtual void initializeChildFrame(const blink::WebRect& frame_rect, 437 virtual void initializeChildFrame(const blink::WebRect& frame_rect,
438 float scale_factor); 438 float scale_factor);
439 virtual blink::WebScreenOrientationClient* webScreenOrientationClient(); 439 virtual blink::WebScreenOrientationClient* webScreenOrientationClient();
440 virtual bool isControlledByServiceWorker();
440 441
441 // WebMediaPlayerDelegate implementation: 442 // WebMediaPlayerDelegate implementation:
442 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; 443 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE;
443 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; 444 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE;
444 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; 445 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE;
445 446
446 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move 447 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move
447 // this back to private member. 448 // this back to private member.
448 void OnNavigate(const FrameMsg_Navigate_Params& params); 449 void OnNavigate(const FrameMsg_Navigate_Params& params);
449 450
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 #endif 740 #endif
740 741
741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 742 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
742 743
743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 744 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
744 }; 745 };
745 746
746 } // namespace content 747 } // namespace content
747 748
748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 749 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698