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