OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |