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

Side by Side Diff: chrome/renderer/chrome_render_frame_observer.cc

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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 #include "chrome/renderer/chrome_render_frame_observer.h" 5 #include "chrome/renderer/chrome_render_frame_observer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <limits> 10 #include <limits>
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 case blink::WebMeaningfulLayout::FinishedParsing: 413 case blink::WebMeaningfulLayout::FinishedParsing:
414 CapturePageText(PRELIMINARY_CAPTURE); 414 CapturePageText(PRELIMINARY_CAPTURE);
415 break; 415 break;
416 case blink::WebMeaningfulLayout::FinishedLoading: 416 case blink::WebMeaningfulLayout::FinishedLoading:
417 CapturePageText(FINAL_CAPTURE); 417 CapturePageText(FINAL_CAPTURE);
418 break; 418 break;
419 default: 419 default:
420 break; 420 break;
421 } 421 }
422 } 422 }
423
424 void ChromeRenderFrameObserver::OnDestruct() {
425 delete this;
426 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_frame_observer.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698