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

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

Issue 857213003: Refactor sudden termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments Created 5 years, 10 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 virtual void handleAccessibilityFindInPageResult( 513 virtual void handleAccessibilityFindInPageResult(
514 int identifier, 514 int identifier,
515 int match_index, 515 int match_index,
516 const blink::WebAXObject& start_object, 516 const blink::WebAXObject& start_object,
517 int start_offset, 517 int start_offset,
518 const blink::WebAXObject& end_object, 518 const blink::WebAXObject& end_object,
519 int end_offset); 519 int end_offset);
520 virtual void didChangeManifest(blink::WebLocalFrame*); 520 virtual void didChangeManifest(blink::WebLocalFrame*);
521 virtual bool enterFullscreen(); 521 virtual bool enterFullscreen();
522 virtual bool exitFullscreen(); 522 virtual bool exitFullscreen();
523 void suddenTerminationDisablerChanged(
524 bool present,
525 blink::WebFrameClient::SuddenTerminationDisablerType type) override;
523 526
524 // WebMediaPlayerDelegate implementation: 527 // WebMediaPlayerDelegate implementation:
525 void DidPlay(blink::WebMediaPlayer* player) override; 528 void DidPlay(blink::WebMediaPlayer* player) override;
526 void DidPause(blink::WebMediaPlayer* player) override; 529 void DidPause(blink::WebMediaPlayer* player) override;
527 void PlayerGone(blink::WebMediaPlayer* player) override; 530 void PlayerGone(blink::WebMediaPlayer* player) override;
528 531
529 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move 532 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move
530 // this back to private member. 533 // this back to private member.
531 void OnNavigate(const FrameMsg_Navigate_Params& params); 534 void OnNavigate(const FrameMsg_Navigate_Params& params);
532 535
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 #endif 875 #endif
873 876
874 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 877 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
875 878
876 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 879 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
877 }; 880 };
878 881
879 } // namespace content 882 } // namespace content
880 883
881 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 884 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698