| 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 // or create it if it doesn't already exist. | 472 // or create it if it doesn't already exist. |
| 473 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager(); | 473 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager(); |
| 474 | 474 |
| 475 void RejectMouseLockOrUnlockIfNecessary(); | 475 void RejectMouseLockOrUnlockIfNecessary(); |
| 476 | 476 |
| 477 #if defined(OS_WIN) | 477 #if defined(OS_WIN) |
| 478 gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 478 gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
| 479 #endif | 479 #endif |
| 480 | 480 |
| 481 void set_renderer_initialized(bool renderer_initialized) { | 481 void set_renderer_initialized(bool renderer_initialized) { |
| 482 LOG(ERROR) << "RWH[" << this << "]::set_renderer_initialized: " |
| 483 << " routing_id:" << routing_id_ |
| 484 << " initialized:" << renderer_initialized; |
| 482 renderer_initialized_ = renderer_initialized; | 485 renderer_initialized_ = renderer_initialized; |
| 483 } | 486 } |
| 484 | 487 |
| 485 protected: | 488 protected: |
| 486 RenderWidgetHostImpl* AsRenderWidgetHostImpl() override; | 489 RenderWidgetHostImpl* AsRenderWidgetHostImpl() override; |
| 487 | 490 |
| 488 // Called when we receive a notification indicating that the renderer | 491 // Called when we receive a notification indicating that the renderer |
| 489 // process has gone. This will reset our state so that our state will be | 492 // process has gone. This will reset our state so that our state will be |
| 490 // consistent if a new renderer is created. | 493 // consistent if a new renderer is created. |
| 491 void RendererExited(base::TerminationStatus status, int exit_code); | 494 void RendererExited(base::TerminationStatus status, int exit_code); |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 bool is_focused_; | 834 bool is_focused_; |
| 832 | 835 |
| 833 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 836 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 834 | 837 |
| 835 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 838 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 836 }; | 839 }; |
| 837 | 840 |
| 838 } // namespace content | 841 } // namespace content |
| 839 | 842 |
| 840 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 843 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |