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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 // appropriate section, add it there. If not, there are some random functions | 519 // appropriate section, add it there. If not, there are some random functions |
520 // nearer to the top you can add it to. | 520 // nearer to the top you can add it to. |
521 | 521 |
522 // Cannot use std::set unfortunately since linked_ptr<> does not support | 522 // Cannot use std::set unfortunately since linked_ptr<> does not support |
523 // operator<. | 523 // operator<. |
524 typedef std::vector<linked_ptr<ImageResourceFetcher> > | 524 typedef std::vector<linked_ptr<ImageResourceFetcher> > |
525 ImageResourceFetcherList; | 525 ImageResourceFetcherList; |
526 | 526 |
527 protected: | 527 protected: |
528 // RenderWidget overrides: | 528 // RenderWidget overrides: |
| 529 virtual void OnClose() OVERRIDE; |
529 virtual void Close() OVERRIDE; | 530 virtual void Close() OVERRIDE; |
530 virtual void OnResize(const ViewMsg_Resize_Params& params) OVERRIDE; | 531 virtual void OnResize(const ViewMsg_Resize_Params& params) OVERRIDE; |
531 virtual void DidInitiatePaint() OVERRIDE; | 532 virtual void DidInitiatePaint() OVERRIDE; |
532 virtual void DidFlushPaint() OVERRIDE; | 533 virtual void DidFlushPaint() OVERRIDE; |
533 virtual gfx::Vector2d GetScrollOffset() OVERRIDE; | 534 virtual gfx::Vector2d GetScrollOffset() OVERRIDE; |
534 virtual void DidHandleKeyEvent() OVERRIDE; | 535 virtual void DidHandleKeyEvent() OVERRIDE; |
535 virtual bool WillHandleMouseEvent( | 536 virtual bool WillHandleMouseEvent( |
536 const blink::WebMouseEvent& event) OVERRIDE; | 537 const blink::WebMouseEvent& event) OVERRIDE; |
537 virtual bool WillHandleGestureEvent( | 538 virtual bool WillHandleGestureEvent( |
538 const blink::WebGestureEvent& event) OVERRIDE; | 539 const blink::WebGestureEvent& event) OVERRIDE; |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 // use the Observer interface to filter IPC messages and receive frame change | 1194 // use the Observer interface to filter IPC messages and receive frame change |
1194 // notifications. | 1195 // notifications. |
1195 // --------------------------------------------------------------------------- | 1196 // --------------------------------------------------------------------------- |
1196 | 1197 |
1197 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1198 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1198 }; | 1199 }; |
1199 | 1200 |
1200 } // namespace content | 1201 } // namespace content |
1201 | 1202 |
1202 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1203 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |