OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); | 525 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); |
526 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 526 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
527 virtual void didCreateScriptContext(WebKit::WebFrame* frame, | 527 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
528 v8::Handle<v8::Context>, | 528 v8::Handle<v8::Context>, |
529 int world_id); | 529 int world_id); |
530 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, | 530 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
531 v8::Handle<v8::Context>, | 531 v8::Handle<v8::Context>, |
532 int world_id); | 532 int world_id); |
533 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 533 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
534 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 534 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
| 535 virtual void numberOfTouchEventHandlersChanged(unsigned num_handlers); |
535 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 536 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
536 const WebKit::WebSize& size); | 537 const WebKit::WebSize& size); |
537 virtual void reportFindInPageMatchCount(int request_id, | 538 virtual void reportFindInPageMatchCount(int request_id, |
538 int count, | 539 int count, |
539 bool final_update); | 540 bool final_update); |
540 virtual void reportFindInPageSelection(int request_id, | 541 virtual void reportFindInPageSelection(int request_id, |
541 int active_match_ordinal, | 542 int active_match_ordinal, |
542 const WebKit::WebRect& sel); | 543 const WebKit::WebRect& sel); |
543 | 544 |
544 virtual void openFileSystem(WebKit::WebFrame* frame, | 545 virtual void openFileSystem(WebKit::WebFrame* frame, |
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 // bunch of stuff, you should probably create a helper class and put your | 1278 // bunch of stuff, you should probably create a helper class and put your |
1278 // data and methods on that to avoid bloating RenderView more. You can | 1279 // data and methods on that to avoid bloating RenderView more. You can |
1279 // use the Observer interface to filter IPC messages and receive frame change | 1280 // use the Observer interface to filter IPC messages and receive frame change |
1280 // notifications. | 1281 // notifications. |
1281 // --------------------------------------------------------------------------- | 1282 // --------------------------------------------------------------------------- |
1282 | 1283 |
1283 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1284 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1284 }; | 1285 }; |
1285 | 1286 |
1286 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1287 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |