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

Side by Side Diff: third_party/WebKit/public/web/WebLeakDetector.h

Issue 1546603003: Ensure zoom level is not updated if main frame is WebRemoteFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // 72 //
73 // |WebLeakDetectorClient::onLeakDetectionComplete()| is called 73 // |WebLeakDetectorClient::onLeakDetectionComplete()| is called
74 // with the result of the (leaked) resource counting. 74 // with the result of the (leaked) resource counting.
75 // 75 //
76 // By separating into two, the caller is able to inject any 76 // By separating into two, the caller is able to inject any
77 // additional releasing of resources needed before the garbage 77 // additional releasing of resources needed before the garbage
78 // collections go ahead. 78 // collections go ahead.
79 79
80 // Perform initial stage of preparing for leak detection, 80 // Perform initial stage of preparing for leak detection,
81 // releasing references to resources held globally. 81 // releasing references to resources held globally.
82 virtual void prepareForLeakDetection(WebLocalFrame*) = 0; 82 virtual void prepareForLeakDetection() = 0;
83 83
84 // Garbage collect Blink's heaps and report leak counts. 84 // Garbage collect Blink's heaps and report leak counts.
85 // |WebLeakDetectorClient::onLeakDetectionComplete()| is called 85 // |WebLeakDetectorClient::onLeakDetectionComplete()| is called
86 // upon completion. 86 // upon completion.
87 virtual void collectGarbageAndReport() = 0; 87 virtual void collectGarbageAndReport() = 0;
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // WebLeakDetector_h 92 #endif // WebLeakDetector_h
OLDNEW
« content/renderer/render_view_impl.cc ('K') | « third_party/WebKit/Source/web/WebLeakDetector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698