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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 bool Init() override; | 123 bool Init() override; |
124 int GetNextRoutingID() override; | 124 int GetNextRoutingID() override; |
125 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; | 125 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; |
126 void RemoveRoute(int32_t routing_id) override; | 126 void RemoveRoute(int32_t routing_id) override; |
127 void AddObserver(RenderProcessHostObserver* observer) override; | 127 void AddObserver(RenderProcessHostObserver* observer) override; |
128 void RemoveObserver(RenderProcessHostObserver* observer) override; | 128 void RemoveObserver(RenderProcessHostObserver* observer) override; |
129 void ShutdownForBadMessage() override; | 129 void ShutdownForBadMessage() override; |
130 void WidgetRestored() override; | 130 void WidgetRestored() override; |
131 void WidgetHidden() override; | 131 void WidgetHidden() override; |
132 int VisibleWidgetCount() const override; | 132 int VisibleWidgetCount() const override; |
133 void AudioStateChanged() override; | 133 void AudioStateChanged(bool is_audio_active) override; |
134 bool IsForGuestsOnly() const override; | 134 bool IsForGuestsOnly() const override; |
135 StoragePartition* GetStoragePartition() const override; | 135 StoragePartition* GetStoragePartition() const override; |
136 bool Shutdown(int exit_code, bool wait) override; | 136 bool Shutdown(int exit_code, bool wait) override; |
137 bool FastShutdownIfPossible() override; | 137 bool FastShutdownIfPossible() override; |
138 base::ProcessHandle GetHandle() const override; | 138 base::ProcessHandle GetHandle() const override; |
139 bool IsReady() const override; | 139 bool IsReady() const override; |
140 BrowserContext* GetBrowserContext() const override; | 140 BrowserContext* GetBrowserContext() const override; |
141 bool InSameStoragePartition(StoragePartition* partition) const override; | 141 bool InSameStoragePartition(StoragePartition* partition) const override; |
142 int GetID() const override; | 142 int GetID() const override; |
143 bool HasConnection() const override; | 143 bool HasConnection() const override; |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 instance_weak_factory_; | 609 instance_weak_factory_; |
610 | 610 |
611 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 611 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
612 | 612 |
613 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 613 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
614 }; | 614 }; |
615 | 615 |
616 } // namespace content | 616 } // namespace content |
617 | 617 |
618 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 618 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |