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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 // TODO(koz): Remove once WebKit no longer calls this. | 614 // TODO(koz): Remove once WebKit no longer calls this. |
615 virtual void didCreateScriptContext(WebKit::WebFrame* frame, | 615 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
616 v8::Handle<v8::Context>, | 616 v8::Handle<v8::Context>, |
617 int world_id); | 617 int world_id); |
618 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, | 618 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
619 v8::Handle<v8::Context>, | 619 v8::Handle<v8::Context>, |
620 int world_id); | 620 int world_id); |
621 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 621 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
622 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 622 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
623 virtual void numberOfTouchEventHandlersChanged(unsigned num_handlers); | 623 virtual void numberOfTouchEventHandlersChanged(unsigned num_handlers); |
| 624 virtual void hasTouchEventHandlers(bool has_handlers); |
624 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 625 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
625 const WebKit::WebSize& size); | 626 const WebKit::WebSize& size); |
626 virtual void reportFindInPageMatchCount(int request_id, | 627 virtual void reportFindInPageMatchCount(int request_id, |
627 int count, | 628 int count, |
628 bool final_update); | 629 bool final_update); |
629 virtual void reportFindInPageSelection(int request_id, | 630 virtual void reportFindInPageSelection(int request_id, |
630 int active_match_ordinal, | 631 int active_match_ordinal, |
631 const WebKit::WebRect& sel); | 632 const WebKit::WebRect& sel); |
632 virtual void openFileSystem(WebKit::WebFrame* frame, | 633 virtual void openFileSystem(WebKit::WebFrame* frame, |
633 WebKit::WebFileSystem::Type type, | 634 WebKit::WebFileSystem::Type type, |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 // bunch of stuff, you should probably create a helper class and put your | 1432 // bunch of stuff, you should probably create a helper class and put your |
1432 // data and methods on that to avoid bloating RenderView more. You can | 1433 // data and methods on that to avoid bloating RenderView more. You can |
1433 // use the Observer interface to filter IPC messages and receive frame change | 1434 // use the Observer interface to filter IPC messages and receive frame change |
1434 // notifications. | 1435 // notifications. |
1435 // --------------------------------------------------------------------------- | 1436 // --------------------------------------------------------------------------- |
1436 | 1437 |
1437 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1438 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1438 }; | 1439 }; |
1439 | 1440 |
1440 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1441 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |