| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 315 |
| 316 protected: | 316 protected: |
| 317 // RenderWidgetHost protected overrides. | 317 // RenderWidgetHost protected overrides. |
| 318 void OnUserGesture() override; | 318 void OnUserGesture() override; |
| 319 void NotifyRendererUnresponsive() override; | 319 void NotifyRendererUnresponsive() override; |
| 320 void NotifyRendererResponsive() override; | 320 void NotifyRendererResponsive() override; |
| 321 void OnRenderAutoResized(const gfx::Size& size) override; | 321 void OnRenderAutoResized(const gfx::Size& size) override; |
| 322 void RequestToLockMouse(bool user_gesture, | 322 void RequestToLockMouse(bool user_gesture, |
| 323 bool last_unlocked_by_target) override; | 323 bool last_unlocked_by_target) override; |
| 324 bool IsFullscreen() const override; | 324 bool IsFullscreen() const override; |
| 325 blink::WebDisplayMode GetDisplayMode() const override; |
| 325 void OnFocus() override; | 326 void OnFocus() override; |
| 326 void OnBlur() override; | 327 void OnBlur() override; |
| 327 | 328 |
| 328 // IPC message handlers. | 329 // IPC message handlers. |
| 329 void OnShowView(int route_id, | 330 void OnShowView(int route_id, |
| 330 WindowOpenDisposition disposition, | 331 WindowOpenDisposition disposition, |
| 331 const gfx::Rect& initial_rect, | 332 const gfx::Rect& initial_rect, |
| 332 bool user_gesture); | 333 bool user_gesture); |
| 333 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); | 334 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); |
| 334 void OnShowFullscreenWidget(int route_id); | 335 void OnShowFullscreenWidget(int route_id); |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 457 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 457 }; | 458 }; |
| 458 | 459 |
| 459 #if defined(COMPILER_MSVC) | 460 #if defined(COMPILER_MSVC) |
| 460 #pragma warning(pop) | 461 #pragma warning(pop) |
| 461 #endif | 462 #endif |
| 462 | 463 |
| 463 } // namespace content | 464 } // namespace content |
| 464 | 465 |
| 465 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 466 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |