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

Side by Side Diff: chrome/plugin/plugin_channel_base.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/plugin/npobject_stub.h ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 5 #ifndef CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H_
6 #define CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 6 #define CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/gfx/native_widget_types.h"
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/gfx/native_widget_types.h"
12 #include "base/hash_tables.h" 12 #include "base/hash_tables.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/ref_counted.h" 14 #include "base/ref_counted.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "chrome/common/message_router.h" 16 #include "chrome/common/message_router.h"
17 #include "ipc/ipc_sync_channel.h" 17 #include "ipc/ipc_sync_channel.h"
18 18
19 // Encapsulates an IPC channel between a renderer and a plugin process. 19 // Encapsulates an IPC channel between a renderer and a plugin process.
20 class PluginChannelBase : public IPC::Channel::Listener, 20 class PluginChannelBase : public IPC::Channel::Listener,
21 public IPC::Message::Sender, 21 public IPC::Message::Sender,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool channel_valid_; 112 bool channel_valid_;
113 113
114 // Track whether we're within a dispatch; works like a refcount, 0 when we're 114 // Track whether we're within a dispatch; works like a refcount, 0 when we're
115 // not. 115 // not.
116 int in_dispatch_; 116 int in_dispatch_;
117 117
118 // If true, sync messages will only be marked as unblocking if the channel is 118 // If true, sync messages will only be marked as unblocking if the channel is
119 // in the middle of dispatching a message. 119 // in the middle of dispatching a message.
120 bool send_unblocking_only_during_dispatch_; 120 bool send_unblocking_only_during_dispatch_;
121 121
122 DISALLOW_EVIL_CONSTRUCTORS(PluginChannelBase); 122 DISALLOW_COPY_AND_ASSIGN(PluginChannelBase);
123 }; 123 };
124 124
125 #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 125 #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H_
OLDNEW
« no previous file with comments | « chrome/plugin/npobject_stub.h ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698