| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 // We need to reset these flags when we want to repaint the contents of | 471 // We need to reset these flags when we want to repaint the contents of |
| 472 // browser plugin in this RWH. Resetting these flags will ensure we ignore | 472 // browser plugin in this RWH. Resetting these flags will ensure we ignore |
| 473 // any previous pending acks that are not relevant upon repaint. | 473 // any previous pending acks that are not relevant upon repaint. |
| 474 void ResetSizeAndRepaintPendingFlags(); | 474 void ResetSizeAndRepaintPendingFlags(); |
| 475 | 475 |
| 476 void DetachDelegate(); | 476 void DetachDelegate(); |
| 477 | 477 |
| 478 // Update the renderer's cache of the screen rect of the view and window. | 478 // Update the renderer's cache of the screen rect of the view and window. |
| 479 void SendScreenRects(); | 479 void SendScreenRects(); |
| 480 | 480 |
| 481 // Suppresses Char and KeyUp events until the next (Raw)KeyDown. See | |
| 482 // suppress_events_until_keydown_. | |
| 483 void SuppressEventsUntilKeyDown(); | |
| 484 | |
| 485 // Called by the view in response to a flush request. | 481 // Called by the view in response to a flush request. |
| 486 void FlushInput(); | 482 void FlushInput(); |
| 487 | 483 |
| 488 // Request a flush signal from the view. | 484 // Request a flush signal from the view. |
| 489 void SetNeedsFlush(); | 485 void SetNeedsFlush(); |
| 490 | 486 |
| 491 // Indicates whether the renderer drives the RenderWidgetHosts's size or the | 487 // Indicates whether the renderer drives the RenderWidgetHosts's size or the |
| 492 // other way around. | 488 // other way around. |
| 493 bool auto_resize_enabled() { return auto_resize_enabled_; } | 489 bool auto_resize_enabled() { return auto_resize_enabled_; } |
| 494 | 490 |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 #endif | 905 #endif |
| 910 | 906 |
| 911 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 907 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 912 | 908 |
| 913 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 909 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 914 }; | 910 }; |
| 915 | 911 |
| 916 } // namespace content | 912 } // namespace content |
| 917 | 913 |
| 918 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 914 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |