| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 377 |
| 378 // Event queries delegated to the |input_router_|. | 378 // Event queries delegated to the |input_router_|. |
| 379 bool ShouldForwardTouchEvent() const; | 379 bool ShouldForwardTouchEvent() const; |
| 380 | 380 |
| 381 bool has_touch_handler() const { return has_touch_handler_; } | 381 bool has_touch_handler() const { return has_touch_handler_; } |
| 382 | 382 |
| 383 // Notification that the user has made some kind of input that could | 383 // Notification that the user has made some kind of input that could |
| 384 // perform an action. See OnUserGesture for more details. | 384 // perform an action. See OnUserGesture for more details. |
| 385 void StartUserGesture(); | 385 void StartUserGesture(); |
| 386 | 386 |
| 387 // Set the RenderView background. | 387 // Set the RenderView background transparency. |
| 388 void SetBackground(const SkBitmap& background); | 388 void SetBackgroundOpaque(bool opaque); |
| 389 | 389 |
| 390 // Notifies the renderer that the next key event is bound to one or more | 390 // Notifies the renderer that the next key event is bound to one or more |
| 391 // pre-defined edit commands | 391 // pre-defined edit commands |
| 392 void SetEditCommandsForNextKeyEvent( | 392 void SetEditCommandsForNextKeyEvent( |
| 393 const std::vector<EditCommand>& commands); | 393 const std::vector<EditCommand>& commands); |
| 394 | 394 |
| 395 // Gets the accessibility mode. | 395 // Gets the accessibility mode. |
| 396 AccessibilityMode accessibility_mode() const { | 396 AccessibilityMode accessibility_mode() const { |
| 397 return accessibility_mode_; | 397 return accessibility_mode_; |
| 398 } | 398 } |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 #endif | 889 #endif |
| 890 | 890 |
| 891 int64 last_input_number_; | 891 int64 last_input_number_; |
| 892 | 892 |
| 893 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 893 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 894 }; | 894 }; |
| 895 | 895 |
| 896 } // namespace content | 896 } // namespace content |
| 897 | 897 |
| 898 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 898 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |