Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: content/public/test/mock_render_process_host.h

Issue 2068343003: Revert "Send input event IPCs directly from the UI thread" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <utility> 10 #include <utility>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void SetIgnoreInputEvents(bool ignore_input_events) override; 67 void SetIgnoreInputEvents(bool ignore_input_events) override;
68 bool IgnoreInputEvents() const override; 68 bool IgnoreInputEvents() const override;
69 void Cleanup() override; 69 void Cleanup() override;
70 void AddPendingView() override; 70 void AddPendingView() override;
71 void RemovePendingView() override; 71 void RemovePendingView() override;
72 void SetSuddenTerminationAllowed(bool allowed) override; 72 void SetSuddenTerminationAllowed(bool allowed) override;
73 bool SuddenTerminationAllowed() const override; 73 bool SuddenTerminationAllowed() const override;
74 BrowserContext* GetBrowserContext() const override; 74 BrowserContext* GetBrowserContext() const override;
75 bool InSameStoragePartition(StoragePartition* partition) const override; 75 bool InSameStoragePartition(StoragePartition* partition) const override;
76 IPC::ChannelProxy* GetChannel() override; 76 IPC::ChannelProxy* GetChannel() override;
77 IPC::Sender* GetImmediateSender() override;
78 IPC::Sender* GetIOThreadSender() override;
79 void AddFilter(BrowserMessageFilter* filter) override; 77 void AddFilter(BrowserMessageFilter* filter) override;
80 bool FastShutdownForPageCount(size_t count) override; 78 bool FastShutdownForPageCount(size_t count) override;
81 base::TimeDelta GetChildProcessIdleTime() const override; 79 base::TimeDelta GetChildProcessIdleTime() const override;
82 void FilterURL(bool empty_allowed, GURL* url) override; 80 void FilterURL(bool empty_allowed, GURL* url) override;
83 #if defined(ENABLE_WEBRTC) 81 #if defined(ENABLE_WEBRTC)
84 void EnableAudioDebugRecordings(const base::FilePath& file) override; 82 void EnableAudioDebugRecordings(const base::FilePath& file) override;
85 void DisableAudioDebugRecordings() override; 83 void DisableAudioDebugRecordings() override;
86 void EnableEventLogRecordings(const base::FilePath& file) override; 84 void EnableEventLogRecordings(const base::FilePath& file) override;
87 void DisableEventLogRecordings() override; 85 void DisableEventLogRecordings() override;
88 void SetWebRtcLogMessageCallback( 86 void SetWebRtcLogMessageCallback(
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // for deleting all MockRenderProcessHosts that have not deleted by a test in 184 // for deleting all MockRenderProcessHosts that have not deleted by a test in
187 // the destructor and prevent them from being leaked. 185 // the destructor and prevent them from being leaked.
188 mutable ScopedVector<MockRenderProcessHost> processes_; 186 mutable ScopedVector<MockRenderProcessHost> processes_;
189 187
190 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 188 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
191 }; 189 };
192 190
193 } // namespace content 191 } // namespace content
194 192
195 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 193 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698