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

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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 virtual void handleAccessibilityFindInPageResult( 514 virtual void handleAccessibilityFindInPageResult(
515 int identifier, 515 int identifier,
516 int match_index, 516 int match_index,
517 const blink::WebAXObject& start_object, 517 const blink::WebAXObject& start_object,
518 int start_offset, 518 int start_offset,
519 const blink::WebAXObject& end_object, 519 const blink::WebAXObject& end_object,
520 int end_offset); 520 int end_offset);
521 virtual void didChangeManifest(blink::WebLocalFrame*); 521 virtual void didChangeManifest(blink::WebLocalFrame*);
522 virtual bool enterFullscreen(); 522 virtual bool enterFullscreen();
523 virtual bool exitFullscreen(); 523 virtual bool exitFullscreen();
524 void suddenTerminationDisablerChanged(
525 bool present,
526 blink::WebFrameClient::SuddenTerminationDisablerType type) override;
524 527
525 // WebMediaPlayerDelegate implementation: 528 // WebMediaPlayerDelegate implementation:
526 void DidPlay(blink::WebMediaPlayer* player) override; 529 void DidPlay(blink::WebMediaPlayer* player) override;
527 void DidPause(blink::WebMediaPlayer* player) override; 530 void DidPause(blink::WebMediaPlayer* player) override;
528 void PlayerGone(blink::WebMediaPlayer* player) override; 531 void PlayerGone(blink::WebMediaPlayer* player) override;
529 532
530 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move 533 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move
531 // this back to private member. 534 // this back to private member.
532 void OnNavigate(const FrameMsg_Navigate_Params& params); 535 void OnNavigate(const FrameMsg_Navigate_Params& params);
533 536
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 #endif 878 #endif
876 879
877 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 880 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
878 881
879 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 882 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
880 }; 883 };
881 884
882 } // namespace content 885 } // namespace content
883 886
884 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 887 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698