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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 const WebKit::WebSecurityOrigin& origin, | 503 const WebKit::WebSecurityOrigin& origin, |
504 const WebKit::WebURL& target); | 504 const WebKit::WebURL& target); |
505 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); | 505 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); |
506 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 506 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
507 virtual void didCreateScriptContext(WebKit::WebFrame* frame, | 507 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
508 v8::Handle<v8::Context>, | 508 v8::Handle<v8::Context>, |
509 int world_id); | 509 int world_id); |
510 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, | 510 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
511 v8::Handle<v8::Context>, | 511 v8::Handle<v8::Context>, |
512 int world_id); | 512 int world_id); |
513 // TODO(levin): Remove didUpdateLayout after it is moved from WebFrameClient | |
514 // to WebViewClient. | |
515 virtual void didUpdateLayout(WebKit::WebFrame* frame); | |
516 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 513 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
517 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 514 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
518 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 515 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
519 const WebKit::WebSize& size); | 516 const WebKit::WebSize& size); |
520 virtual void reportFindInPageMatchCount(int request_id, | 517 virtual void reportFindInPageMatchCount(int request_id, |
521 int count, | 518 int count, |
522 bool final_update); | 519 bool final_update); |
523 virtual void reportFindInPageSelection(int request_id, | 520 virtual void reportFindInPageSelection(int request_id, |
524 int active_match_ordinal, | 521 int active_match_ordinal, |
525 const WebKit::WebRect& sel); | 522 const WebKit::WebRect& sel); |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 // bunch of stuff, you should probably create a helper class and put your | 1263 // bunch of stuff, you should probably create a helper class and put your |
1267 // data and methods on that to avoid bloating RenderView more. You can | 1264 // data and methods on that to avoid bloating RenderView more. You can |
1268 // use the Observer interface to filter IPC messages and receive frame change | 1265 // use the Observer interface to filter IPC messages and receive frame change |
1269 // notifications. | 1266 // notifications. |
1270 // --------------------------------------------------------------------------- | 1267 // --------------------------------------------------------------------------- |
1271 | 1268 |
1272 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1269 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1273 }; | 1270 }; |
1274 | 1271 |
1275 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1272 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |