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