| 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 <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 void OnWindowlessPluginDummyWindowCreated( | 619 void OnWindowlessPluginDummyWindowCreated( |
| 620 gfx::NativeViewId dummy_activation_window); | 620 gfx::NativeViewId dummy_activation_window); |
| 621 void OnWindowlessPluginDummyWindowDestroyed( | 621 void OnWindowlessPluginDummyWindowDestroyed( |
| 622 gfx::NativeViewId dummy_activation_window); | 622 gfx::NativeViewId dummy_activation_window); |
| 623 #endif | 623 #endif |
| 624 void OnSelectionChanged(const base::string16& text, | 624 void OnSelectionChanged(const base::string16& text, |
| 625 size_t offset, | 625 size_t offset, |
| 626 const gfx::Range& range); | 626 const gfx::Range& range); |
| 627 void OnSelectionBoundsChanged( | 627 void OnSelectionBoundsChanged( |
| 628 const ViewHostMsg_SelectionBounds_Params& params); | 628 const ViewHostMsg_SelectionBounds_Params& params); |
| 629 void OnSnapshot(bool success, const SkBitmap& bitmap); | |
| 630 | 629 |
| 631 // Called (either immediately or asynchronously) after we're done with our | 630 // Called (either immediately or asynchronously) after we're done with our |
| 632 // BackingStore and can send an ACK to the renderer so it can paint onto it | 631 // BackingStore and can send an ACK to the renderer so it can paint onto it |
| 633 // again. | 632 // again. |
| 634 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, | 633 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, |
| 635 const base::TimeTicks& paint_start); | 634 const base::TimeTicks& paint_start); |
| 636 | 635 |
| 637 // Give key press listeners a chance to handle this key press. This allow | 636 // Give key press listeners a chance to handle this key press. This allow |
| 638 // widgets that don't have focus to still handle key presses. | 637 // widgets that don't have focus to still handle key presses. |
| 639 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); | 638 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; | 858 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; |
| 860 | 859 |
| 861 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 860 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 862 | 861 |
| 863 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 862 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 864 }; | 863 }; |
| 865 | 864 |
| 866 } // namespace content | 865 } // namespace content |
| 867 | 866 |
| 868 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 867 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |