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_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 #endif // defined(VIDEO_HOLE) | 811 #endif // defined(VIDEO_HOLE) |
812 | 812 |
813 // A list of RenderFrames associated with this RenderWidget. Notifications | 813 // A list of RenderFrames associated with this RenderWidget. Notifications |
814 // are sent to each frame in the list for events such as changing | 814 // are sent to each frame in the list for events such as changing |
815 // visibility state for example. | 815 // visibility state for example. |
816 base::ObserverList<RenderFrameImpl> render_frames_; | 816 base::ObserverList<RenderFrameImpl> render_frames_; |
817 | 817 |
818 ui::MenuSourceType context_menu_source_type_; | 818 ui::MenuSourceType context_menu_source_type_; |
819 bool has_host_context_menu_location_; | 819 bool has_host_context_menu_location_; |
820 gfx::Point host_context_menu_location_; | 820 gfx::Point host_context_menu_location_; |
| 821 gfx::Vector2dF latest_overscroll_delta_; |
821 | 822 |
822 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 823 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
823 }; | 824 }; |
824 | 825 |
825 } // namespace content | 826 } // namespace content |
826 | 827 |
827 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 828 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |