| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 // RenderWidgetHost protected overrides. | 339 // RenderWidgetHost protected overrides. |
| 340 void OnUserGesture() override; | 340 void OnUserGesture() override; |
| 341 void NotifyRendererUnresponsive() override; | 341 void NotifyRendererUnresponsive() override; |
| 342 void NotifyRendererResponsive() override; | 342 void NotifyRendererResponsive() override; |
| 343 void OnRenderAutoResized(const gfx::Size& size) override; | 343 void OnRenderAutoResized(const gfx::Size& size) override; |
| 344 void RequestToLockMouse(bool user_gesture, | 344 void RequestToLockMouse(bool user_gesture, |
| 345 bool last_unlocked_by_target) override; | 345 bool last_unlocked_by_target) override; |
| 346 bool IsFullscreenGranted() const override; | 346 bool IsFullscreenGranted() const override; |
| 347 blink::WebDisplayMode GetDisplayMode() const override; | 347 blink::WebDisplayMode GetDisplayMode() const override; |
| 348 void OnFocus() override; | 348 void OnFocus() override; |
| 349 void OnBlur() override; | |
| 350 | 349 |
| 351 // IPC message handlers. | 350 // IPC message handlers. |
| 352 void OnShowView(int route_id, | 351 void OnShowView(int route_id, |
| 353 WindowOpenDisposition disposition, | 352 WindowOpenDisposition disposition, |
| 354 const gfx::Rect& initial_rect, | 353 const gfx::Rect& initial_rect, |
| 355 bool user_gesture); | 354 bool user_gesture); |
| 356 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); | 355 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); |
| 357 void OnShowFullscreenWidget(int route_id); | 356 void OnShowFullscreenWidget(int route_id); |
| 358 void OnRenderProcessGone(int status, int error_code); | 357 void OnRenderProcessGone(int status, int error_code); |
| 359 void OnUpdateState(int32 page_id, const PageState& state); | 358 void OnUpdateState(int32 page_id, const PageState& state); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 491 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 493 }; | 492 }; |
| 494 | 493 |
| 495 #if defined(COMPILER_MSVC) | 494 #if defined(COMPILER_MSVC) |
| 496 #pragma warning(pop) | 495 #pragma warning(pop) |
| 497 #endif | 496 #endif |
| 498 | 497 |
| 499 } // namespace content | 498 } // namespace content |
| 500 | 499 |
| 501 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 500 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |