Chromium Code Reviews| Index: chrome/renderer/extensions/chrome_v8_context_set.h |
| diff --git a/chrome/renderer/extensions/chrome_v8_context_set.h b/chrome/renderer/extensions/chrome_v8_context_set.h |
| index f47a61fe74a555d34ee8f0148eae68dc34f7404e..f170d2a54474c7138e9bdbe214a3a7cec71d4df3 100644 |
| --- a/chrome/renderer/extensions/chrome_v8_context_set.h |
| +++ b/chrome/renderer/extensions/chrome_v8_context_set.h |
| @@ -22,6 +22,10 @@ namespace content { |
| class RenderView; |
| } |
| +namespace WebKit { |
| +class WebFrame; |
| +} |
| + |
| namespace v8 { |
| class Context; |
| } |
| @@ -63,6 +67,9 @@ class ChromeV8ContextSet { |
| // v8::Context or NULL if no such context exists. |
| ChromeV8Context* GetByV8Context(v8::Handle<v8::Context> context) const; |
| + // Gets the ChromeV8Context corresponding to the given WebFrame. |
| + ChromeV8Context* GetByWebFrame(WebKit::WebFrame* web_frame) const; |
|
not at google - send to devlin
2013/08/23 01:19:13
Ok this method doesn't make any sense. There are m
|
| + |
| // Synchronously runs |callback| with each ChromeV8Context that belongs to |
| // |extension_id| in |render_view|. |
| // |