| 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 WebKit::WebFrame* frame, | 549 WebKit::WebFrame* frame, |
| 550 const WebKit::WebURLRequest& request, | 550 const WebKit::WebURLRequest& request, |
| 551 const WebKit::WebURLResponse&); | 551 const WebKit::WebURLResponse&); |
| 552 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); | 552 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); |
| 553 virtual void didRunInsecureContent( | 553 virtual void didRunInsecureContent( |
| 554 WebKit::WebFrame* frame, | 554 WebKit::WebFrame* frame, |
| 555 const WebKit::WebSecurityOrigin& origin, | 555 const WebKit::WebSecurityOrigin& origin, |
| 556 const WebKit::WebURL& target); | 556 const WebKit::WebURL& target); |
| 557 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); | 557 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); |
| 558 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 558 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
| 559 virtual void didCreateScriptContext(WebKit::WebFrame* frame); | 559 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
| 560 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); | 560 v8::Handle<v8::Context>, |
| 561 virtual void didCreateIsolatedScriptContext(WebKit::WebFrame* frame, | 561 int world_id); |
| 562 int world_id, | 562 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
| 563 v8::Handle<v8::Context> context); | 563 v8::Handle<v8::Context>, |
| 564 int world_id); |
| 564 virtual void didUpdateLayout(WebKit::WebFrame* frame); | 565 virtual void didUpdateLayout(WebKit::WebFrame* frame); |
| 565 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 566 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
| 566 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 567 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
| 567 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 568 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
| 568 const WebKit::WebSize& size); | 569 const WebKit::WebSize& size); |
| 569 virtual void reportFindInPageMatchCount(int request_id, | 570 virtual void reportFindInPageMatchCount(int request_id, |
| 570 int count, | 571 int count, |
| 571 bool final_update); | 572 bool final_update); |
| 572 virtual void reportFindInPageSelection(int request_id, | 573 virtual void reportFindInPageSelection(int request_id, |
| 573 int active_match_ordinal, | 574 int active_match_ordinal, |
| (...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 // bunch of stuff, you should probably create a helper class and put your | 1241 // bunch of stuff, you should probably create a helper class and put your |
| 1241 // data and methods on that to avoid bloating RenderView more. You can use | 1242 // data and methods on that to avoid bloating RenderView more. You can use |
| 1242 // the Observer interface to filter IPC messages and receive frame change | 1243 // the Observer interface to filter IPC messages and receive frame change |
| 1243 // notifications. | 1244 // notifications. |
| 1244 // --------------------------------------------------------------------------- | 1245 // --------------------------------------------------------------------------- |
| 1245 | 1246 |
| 1246 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1247 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1247 }; | 1248 }; |
| 1248 | 1249 |
| 1249 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1250 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |