Chromium Code Reviews| Index: third_party/WebKit/public/web/WebLocalFrame.h |
| diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h |
| index 7f51aa1d49449953e6a18a00f4001a19ff8fb31b..b4ee7153ebf1baf4c45ec867399fbf2ff896b6f7 100644 |
| --- a/third_party/WebKit/public/web/WebLocalFrame.h |
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h |
| @@ -502,6 +502,12 @@ class WebLocalFrame : public WebFrame { |
| // Returns the WebInputMethodController associated with this local frame. |
| virtual WebInputMethodController* inputMethodController() const = 0; |
| + // Tracing support ---------------------------------------------------------- |
| + // Returns the value for the "frame" argument in TRACE_EVENT* calls. |
| + // This function is intended to be used in components that do not have |
| + // access to the local frame, but still want to trace frame related events. |
| + virtual void* frameIdForTracing() const = 0; |
|
ulan
2017/02/22 21:16:37
This is not really nice. I would appreciate better
haraken
2017/02/22 23:56:21
In practice, this will work because Oilpan's compa
|
| + |
| protected: |
| explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {} |