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

Side by Side Diff: content/common/font_cache_dispatcher_win.h

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 years, 3 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_COMMON_FONT_CACHE_DISPATCHER_WIN_H_ 5 #ifndef CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_
6 #define CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_ 6 #define CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 FontCacheDispatcher(); 22 FontCacheDispatcher();
23 23
24 // IPC::Sender implementation: 24 // IPC::Sender implementation:
25 bool Send(IPC::Message* message) override; 25 bool Send(IPC::Message* message) override;
26 26
27 private: 27 private:
28 ~FontCacheDispatcher() override; 28 ~FontCacheDispatcher() override;
29 29
30 // IPC::MessageFilter implementation: 30 // IPC::MessageFilter implementation:
31 void OnFilterAdded(IPC::Sender* sender) override; 31 void OnFilterAdded(IPC::Channel* channel) override;
32 bool OnMessageReceived(const IPC::Message& message) override; 32 bool OnMessageReceived(const IPC::Message& message) override;
33 void OnChannelClosing() override; 33 void OnChannelClosing() override;
34 34
35 // Message handlers. 35 // Message handlers.
36 void OnPreCacheFont(const LOGFONT& font); 36 void OnPreCacheFont(const LOGFONT& font);
37 void OnReleaseCachedFonts(); 37 void OnReleaseCachedFonts();
38 38
39 IPC::Sender* sender_; 39 IPC::Sender* sender_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(FontCacheDispatcher); 41 DISALLOW_COPY_AND_ASSIGN(FontCacheDispatcher);
42 }; 42 };
43 43
44 } // namespace content 44 } // namespace content
45 45
46 #endif // CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_ 46 #endif // CONTENT_COMMON_FONT_CACHE_DISPATCHER_WIN_H_
OLDNEW
« no previous file with comments | « content/child/child_histogram_message_filter.cc ('k') | content/common/font_cache_dispatcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698