OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 const WebKit::WebURLRequest& request, | 543 const WebKit::WebURLRequest& request, |
544 const WebKit::WebURLResponse&); | 544 const WebKit::WebURLResponse&); |
545 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); | 545 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); |
546 virtual void didRunInsecureContent( | 546 virtual void didRunInsecureContent( |
547 WebKit::WebFrame* frame, | 547 WebKit::WebFrame* frame, |
548 const WebKit::WebSecurityOrigin& origin, | 548 const WebKit::WebSecurityOrigin& origin, |
549 const WebKit::WebURL& target); | 549 const WebKit::WebURL& target); |
550 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 550 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
551 virtual void didCreateScriptContext(WebKit::WebFrame* frame); | 551 virtual void didCreateScriptContext(WebKit::WebFrame* frame); |
552 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); | 552 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); |
553 virtual void didCreateIsolatedScriptContext(WebKit::WebFrame* frame); | 553 virtual void didCreateIsolatedScriptContext(WebKit::WebFrame* frame, |
| 554 int world_id, |
| 555 v8::Handle<v8::Context> context); |
554 virtual void didUpdateLayout(WebKit::WebFrame* frame); | 556 virtual void didUpdateLayout(WebKit::WebFrame* frame); |
555 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 557 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
556 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 558 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
557 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 559 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
558 const WebKit::WebSize& size); | 560 const WebKit::WebSize& size); |
559 virtual void reportFindInPageMatchCount(int request_id, | 561 virtual void reportFindInPageMatchCount(int request_id, |
560 int count, | 562 int count, |
561 bool final_update); | 563 bool final_update); |
562 virtual void reportFindInPageSelection(int request_id, | 564 virtual void reportFindInPageSelection(int request_id, |
563 int active_match_ordinal, | 565 int active_match_ordinal, |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 // bunch of stuff, you should probably create a helper class and put your | 1223 // bunch of stuff, you should probably create a helper class and put your |
1222 // data and methods on that to avoid bloating RenderView more. You can use | 1224 // data and methods on that to avoid bloating RenderView more. You can use |
1223 // the Observer interface to filter IPC messages and receive frame change | 1225 // the Observer interface to filter IPC messages and receive frame change |
1224 // notifications. | 1226 // notifications. |
1225 // --------------------------------------------------------------------------- | 1227 // --------------------------------------------------------------------------- |
1226 | 1228 |
1227 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1229 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1228 }; | 1230 }; |
1229 | 1231 |
1230 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1232 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |