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

Side by Side Diff: components/guest_view/browser/guest_view_message_filter.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MESSAGE_FILTER_H_ 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MESSAGE_FILTER_H_
6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MESSAGE_FILTER_H_ 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MESSAGE_FILTER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "content/public/browser/browser_message_filter.h" 15 #include "content/public/browser/browser_message_filter.h"
16 16
17 namespace base { 17 namespace base {
18 class DictionaryValue; 18 class DictionaryValue;
19 } 19 }
20 20
21 namespace content { 21 namespace content {
22 class BrowserContext; 22 class BrowserContext;
23 class WebContents;
24 }
25
26 namespace gfx {
27 class Size;
28 } 23 }
29 24
30 namespace guest_view { 25 namespace guest_view {
31 class GuestViewBase; 26 class GuestViewBase;
32 class GuestViewManager; 27 class GuestViewManager;
33 28
34 // This class filters out incoming GuestView-specific IPC messages from the 29 // This class filters out incoming GuestView-specific IPC messages from the
35 // renderer process. It is created on the UI thread. Messages may be handled on 30 // renderer process. It is created on the UI thread. Messages may be handled on
36 // the IO thread or the UI thread. 31 // the IO thread or the UI thread.
37 class GuestViewMessageFilter : public content::BrowserMessageFilter { 32 class GuestViewMessageFilter : public content::BrowserMessageFilter {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void OnViewGarbageCollected(int view_instance_id); 76 void OnViewGarbageCollected(int view_instance_id);
82 77
83 void WillAttachCallback(GuestViewBase* guest); 78 void WillAttachCallback(GuestViewBase* guest);
84 79
85 DISALLOW_COPY_AND_ASSIGN(GuestViewMessageFilter); 80 DISALLOW_COPY_AND_ASSIGN(GuestViewMessageFilter);
86 }; 81 };
87 82
88 } // namespace guest_view 83 } // namespace guest_view
89 84
90 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MESSAGE_FILTER_H_ 85 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « components/guest_view/browser/guest_view_base.h ('k') | components/history/core/browser/history_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698