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

Side by Side Diff: content/browser/plugin_process_host.h

Issue 7661031: Tag IPC::Channel::Listener implementations with OVERRIDE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 PluginProcessHost(); 57 PluginProcessHost();
58 virtual ~PluginProcessHost(); 58 virtual ~PluginProcessHost();
59 59
60 // Initialize the new plugin process, returning true on success. This must 60 // Initialize the new plugin process, returning true on success. This must
61 // be called before the object can be used. 61 // be called before the object can be used.
62 bool Init(const webkit::WebPluginInfo& info, const std::string& locale); 62 bool Init(const webkit::WebPluginInfo& info, const std::string& locale);
63 63
64 // Force the plugin process to shutdown (cleanly). 64 // Force the plugin process to shutdown (cleanly).
65 virtual void ForceShutdown(); 65 virtual void ForceShutdown();
66 66
67 virtual bool OnMessageReceived(const IPC::Message& msg); 67 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
68 virtual void OnChannelConnected(int32 peer_pid); 68 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
69 virtual void OnChannelError(); 69 virtual void OnChannelError() OVERRIDE;
70 70
71 // Tells the plugin process to create a new channel for communication with a 71 // Tells the plugin process to create a new channel for communication with a
72 // renderer. When the plugin process responds with the channel name, 72 // renderer. When the plugin process responds with the channel name,
73 // OnChannelOpened in the client is called. 73 // OnChannelOpened in the client is called.
74 void OpenChannelToPlugin(Client* client); 74 void OpenChannelToPlugin(Client* client);
75 75
76 // This function is called on the IO thread once we receive a reply from the 76 // This function is called on the IO thread once we receive a reply from the
77 // modal HTML dialog (in the form of a JSON string). This function forwards 77 // modal HTML dialog (in the form of a JSON string). This function forwards
78 // that reply back to the plugin that requested the dialog. 78 // that reply back to the plugin that requested the dialog.
79 void OnModalDialogResponse(const std::string& json_retval, 79 void OnModalDialogResponse(const std::string& json_retval,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Tracks modal windows currently visible. 145 // Tracks modal windows currently visible.
146 std::set<uint32> plugin_modal_windows_set_; 146 std::set<uint32> plugin_modal_windows_set_;
147 // Tracks the current visibility of the cursor. 147 // Tracks the current visibility of the cursor.
148 bool plugin_cursor_visible_; 148 bool plugin_cursor_visible_;
149 #endif 149 #endif
150 150
151 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost); 151 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost);
152 }; 152 };
153 153
154 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 154 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_message_filter.h ('k') | content/browser/plugin_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698