| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // uses RenderWidgetHost::AsRenderWidgetHostImpl(). | 116 // uses RenderWidgetHost::AsRenderWidgetHostImpl(). |
| 117 static RenderWidgetHostImpl* From(RenderWidgetHost* rwh); | 117 static RenderWidgetHostImpl* From(RenderWidgetHost* rwh); |
| 118 | 118 |
| 119 void set_hung_renderer_delay_ms(const base::TimeDelta& timeout) { | 119 void set_hung_renderer_delay_ms(const base::TimeDelta& timeout) { |
| 120 hung_renderer_delay_ms_ = timeout.InMilliseconds(); | 120 hung_renderer_delay_ms_ = timeout.InMilliseconds(); |
| 121 } | 121 } |
| 122 | 122 |
| 123 // RenderWidgetHost implementation. | 123 // RenderWidgetHost implementation. |
| 124 virtual void Undo() OVERRIDE; | 124 virtual void Undo() OVERRIDE; |
| 125 virtual void Redo() OVERRIDE; | 125 virtual void Redo() OVERRIDE; |
| 126 virtual void Cut() OVERRIDE; | |
| 127 virtual void Copy() OVERRIDE; | |
| 128 virtual void CopyToFindPboard() OVERRIDE; | 126 virtual void CopyToFindPboard() OVERRIDE; |
| 129 virtual void Paste() OVERRIDE; | |
| 130 virtual void PasteAndMatchStyle() OVERRIDE; | 127 virtual void PasteAndMatchStyle() OVERRIDE; |
| 131 virtual void Delete() OVERRIDE; | 128 virtual void Delete() OVERRIDE; |
| 132 virtual void SelectAll() OVERRIDE; | 129 virtual void SelectAll() OVERRIDE; |
| 133 virtual void Unselect() OVERRIDE; | 130 virtual void Unselect() OVERRIDE; |
| 134 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; | 131 virtual void UpdateTextDirection(blink::WebTextDirection direction) OVERRIDE; |
| 135 virtual void NotifyTextDirection() OVERRIDE; | 132 virtual void NotifyTextDirection() OVERRIDE; |
| 136 virtual void Focus() OVERRIDE; | 133 virtual void Focus() OVERRIDE; |
| 137 virtual void Blur() OVERRIDE; | 134 virtual void Blur() OVERRIDE; |
| 138 virtual void SetActive(bool active) OVERRIDE; | 135 virtual void SetActive(bool active) OVERRIDE; |
| 139 virtual void CopyFromBackingStore( | 136 virtual void CopyFromBackingStore( |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | 938 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; |
| 942 | 939 |
| 943 int64 last_input_number_; | 940 int64 last_input_number_; |
| 944 | 941 |
| 945 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 942 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 946 }; | 943 }; |
| 947 | 944 |
| 948 } // namespace content | 945 } // namespace content |
| 949 | 946 |
| 950 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 947 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |