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

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 nits 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
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | 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 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 #endif 876 #endif
874 877
875 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 878 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
876 879
877 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 880 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
878 }; 881 };
879 882
880 } // namespace content 883 } // namespace content
881 884
882 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 885 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698