| 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_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 311 |
| 312 protected: | 312 protected: |
| 313 // RenderWidgetHost protected overrides. | 313 // RenderWidgetHost protected overrides. |
| 314 void OnUserGesture() override; | 314 void OnUserGesture() override; |
| 315 void NotifyRendererUnresponsive() override; | 315 void NotifyRendererUnresponsive() override; |
| 316 void NotifyRendererResponsive() override; | 316 void NotifyRendererResponsive() override; |
| 317 void OnRenderAutoResized(const gfx::Size& size) override; | 317 void OnRenderAutoResized(const gfx::Size& size) override; |
| 318 void RequestToLockMouse(bool user_gesture, | 318 void RequestToLockMouse(bool user_gesture, |
| 319 bool last_unlocked_by_target) override; | 319 bool last_unlocked_by_target) override; |
| 320 bool IsFullscreen() const override; | 320 bool IsFullscreen() const override; |
| 321 blink::WebDisplayMode GetDisplayMode() const override; |
| 321 void OnFocus() override; | 322 void OnFocus() override; |
| 322 void OnBlur() override; | 323 void OnBlur() override; |
| 323 | 324 |
| 324 // IPC message handlers. | 325 // IPC message handlers. |
| 325 void OnShowView(int route_id, | 326 void OnShowView(int route_id, |
| 326 WindowOpenDisposition disposition, | 327 WindowOpenDisposition disposition, |
| 327 const gfx::Rect& initial_rect, | 328 const gfx::Rect& initial_rect, |
| 328 bool user_gesture); | 329 bool user_gesture); |
| 329 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); | 330 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); |
| 330 void OnShowFullscreenWidget(int route_id); | 331 void OnShowFullscreenWidget(int route_id); |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 450 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 450 }; | 451 }; |
| 451 | 452 |
| 452 #if defined(COMPILER_MSVC) | 453 #if defined(COMPILER_MSVC) |
| 453 #pragma warning(pop) | 454 #pragma warning(pop) |
| 454 #endif | 455 #endif |
| 455 | 456 |
| 456 } // namespace content | 457 } // namespace content |
| 457 | 458 |
| 458 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 459 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |