| 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_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 void RemoveObserver(RenderProcessHostObserver* observer) override; | 111 void RemoveObserver(RenderProcessHostObserver* observer) override; |
| 112 void ShutdownForBadMessage() override; | 112 void ShutdownForBadMessage() override; |
| 113 void WidgetRestored() override; | 113 void WidgetRestored() override; |
| 114 void WidgetHidden() override; | 114 void WidgetHidden() override; |
| 115 int VisibleWidgetCount() const override; | 115 int VisibleWidgetCount() const override; |
| 116 bool IsForGuestsOnly() const override; | 116 bool IsForGuestsOnly() const override; |
| 117 StoragePartition* GetStoragePartition() const override; | 117 StoragePartition* GetStoragePartition() const override; |
| 118 bool Shutdown(int exit_code, bool wait) override; | 118 bool Shutdown(int exit_code, bool wait) override; |
| 119 bool FastShutdownIfPossible() override; | 119 bool FastShutdownIfPossible() override; |
| 120 base::ProcessHandle GetHandle() const override; | 120 base::ProcessHandle GetHandle() const override; |
| 121 bool IsReady() const override; |
| 121 BrowserContext* GetBrowserContext() const override; | 122 BrowserContext* GetBrowserContext() const override; |
| 122 bool InSameStoragePartition(StoragePartition* partition) const override; | 123 bool InSameStoragePartition(StoragePartition* partition) const override; |
| 123 int GetID() const override; | 124 int GetID() const override; |
| 124 bool HasConnection() const override; | 125 bool HasConnection() const override; |
| 125 void SetIgnoreInputEvents(bool ignore_input_events) override; | 126 void SetIgnoreInputEvents(bool ignore_input_events) override; |
| 126 bool IgnoreInputEvents() const override; | 127 bool IgnoreInputEvents() const override; |
| 127 void Cleanup() override; | 128 void Cleanup() override; |
| 128 void AddPendingView() override; | 129 void AddPendingView() override; |
| 129 void RemovePendingView() override; | 130 void RemovePendingView() override; |
| 130 void SetSuddenTerminationAllowed(bool enabled) override; | 131 void SetSuddenTerminationAllowed(bool enabled) override; |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 | 488 |
| 488 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled | 489 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled |
| 489 bool subscribe_uniform_enabled_; | 490 bool subscribe_uniform_enabled_; |
| 490 | 491 |
| 491 #if defined(OS_MACOSX) && !defined(OS_IOS) | 492 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 492 // Unique unguessable token that the child process is using to acquire | 493 // Unique unguessable token that the child process is using to acquire |
| 493 // IOSurface references. | 494 // IOSurface references. |
| 494 IOSurfaceManagerToken io_surface_manager_token_; | 495 IOSurfaceManagerToken io_surface_manager_token_; |
| 495 #endif | 496 #endif |
| 496 | 497 |
| 498 bool channel_connected_; |
| 499 bool sent_render_process_ready_; |
| 500 |
| 497 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 501 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 498 | 502 |
| 499 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 503 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 500 }; | 504 }; |
| 501 | 505 |
| 502 } // namespace content | 506 } // namespace content |
| 503 | 507 |
| 504 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 508 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |