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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
549 void OnUpdateScreenRectsAck(); | 549 void OnUpdateScreenRectsAck(); |
550 void OnRequestMove(const gfx::Rect& pos); | 550 void OnRequestMove(const gfx::Rect& pos); |
551 void OnSetTooltipText(const string16& tooltip_text, | 551 void OnSetTooltipText(const string16& tooltip_text, |
552 WebKit::WebTextDirection text_direction_hint); | 552 WebKit::WebTextDirection text_direction_hint); |
553 void OnPaintAtSizeAck(int tag, const gfx::Size& size); | 553 void OnPaintAtSizeAck(int tag, const gfx::Size& size); |
554 void OnCompositorSurfaceBuffersSwapped(int32 surface_id, | 554 void OnCompositorSurfaceBuffersSwapped(int32 surface_id, |
555 uint64 surface_handle, | 555 uint64 surface_handle, |
556 int32 route_id, | 556 int32 route_id, |
557 const gfx::Size& size, | 557 const gfx::Size& size, |
558 int32 gpu_process_host_id); | 558 int32 gpu_process_host_id); |
559 void OnSwapCompositorFrame(const cc::CompositorFrame& frame); | 559 void OnSwapCompositorFrame(cc::CompositorFrame& frame); |
piman
2013/01/08 04:22:23
Why is this const going away?
danakj
2013/01/08 15:28:25
Because the compositor frame has scoped ptrs, and
| |
560 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 560 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
561 void OnUpdateIsDelayed(); | 561 void OnUpdateIsDelayed(); |
562 void OnInputEventAck(WebKit::WebInputEvent::Type event_type, | 562 void OnInputEventAck(WebKit::WebInputEvent::Type event_type, |
563 InputEventAckState ack_result); | 563 InputEventAckState ack_result); |
564 void OnBeginSmoothScroll( | 564 void OnBeginSmoothScroll( |
565 int gesture_id, | 565 int gesture_id, |
566 const ViewHostMsg_BeginSmoothScroll_Params ¶ms); | 566 const ViewHostMsg_BeginSmoothScroll_Params ¶ms); |
567 void OnSelectRangeAck(); | 567 void OnSelectRangeAck(); |
568 virtual void OnFocus(); | 568 virtual void OnFocus(); |
569 virtual void OnBlur(); | 569 virtual void OnBlur(); |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
864 #if defined(OS_WIN) | 864 #if defined(OS_WIN) |
865 std::list<HWND> dummy_windows_for_activation_; | 865 std::list<HWND> dummy_windows_for_activation_; |
866 #endif | 866 #endif |
867 | 867 |
868 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 868 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
869 }; | 869 }; |
870 | 870 |
871 } // namespace content | 871 } // namespace content |
872 | 872 |
873 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 873 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |