| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // Called to notify the RenderWidget that it has lost the mouse lock. | 220 // Called to notify the RenderWidget that it has lost the mouse lock. |
| 221 virtual void LostMouseLock(); | 221 virtual void LostMouseLock(); |
| 222 | 222 |
| 223 // Noifies the RenderWidget of the current mouse cursor visibility state. | 223 // Noifies the RenderWidget of the current mouse cursor visibility state. |
| 224 void SendCursorVisibilityState(bool is_visible); | 224 void SendCursorVisibilityState(bool is_visible); |
| 225 | 225 |
| 226 // Notifies the RenderWidgetHost that the View was destroyed. | 226 // Notifies the RenderWidgetHost that the View was destroyed. |
| 227 void ViewDestroyed(); | 227 void ViewDestroyed(); |
| 228 | 228 |
| 229 // Indicates if the page has finished loading. | 229 // Indicates if the page has finished loading. |
| 230 void SetIsLoading(bool is_loading); | 230 virtual void SetIsLoading(bool is_loading); |
| 231 | 231 |
| 232 #if defined(OS_MACOSX) | 232 #if defined(OS_MACOSX) |
| 233 // Pause for a moment to wait for pending repaint or resize messages sent to | 233 // Pause for a moment to wait for pending repaint or resize messages sent to |
| 234 // the renderer to arrive. If pending resize messages are for an old window | 234 // the renderer to arrive. If pending resize messages are for an old window |
| 235 // size, then also pump through a new resize message if there is time. | 235 // size, then also pump through a new resize message if there is time. |
| 236 void PauseForPendingResizeOrRepaints(); | 236 void PauseForPendingResizeOrRepaints(); |
| 237 | 237 |
| 238 // Whether pausing may be useful. | 238 // Whether pausing may be useful. |
| 239 bool CanPauseForPendingResizeOrRepaints(); | 239 bool CanPauseForPendingResizeOrRepaints(); |
| 240 | 240 |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 typedef std::map<int, | 843 typedef std::map<int, |
| 844 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; | 844 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; |
| 845 PendingSnapshotMap pending_browser_snapshots_; | 845 PendingSnapshotMap pending_browser_snapshots_; |
| 846 | 846 |
| 847 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 847 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 848 }; | 848 }; |
| 849 | 849 |
| 850 } // namespace content | 850 } // namespace content |
| 851 | 851 |
| 852 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 852 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |