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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 11048023: Browser Plugin: Implement terminate() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 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
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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 v8::Local<v8::Function> function); 73 v8::Local<v8::Function> function);
74 // Tells the BrowserPlugin to tell the guest to navigate to the previous 74 // Tells the BrowserPlugin to tell the guest to navigate to the previous
75 // navigation entry in the navigation history. 75 // navigation entry in the navigation history.
76 void Back(); 76 void Back();
77 // Tells the BrowserPlugin to tell the guest to navigate to the next 77 // Tells the BrowserPlugin to tell the guest to navigate to the next
78 // navigation entry in the navigation history. 78 // navigation entry in the navigation history.
79 void Forward(); 79 void Forward();
80 // Tells the BrowserPlugin to tell the guest to navigate to a position 80 // Tells the BrowserPlugin to tell the guest to navigate to a position
81 // relative to the current index in its navigation history. 81 // relative to the current index in its navigation history.
82 void Go(int relativeIndex); 82 void Go(int relativeIndex);
83 // Tells the BrowserPlugin to terminate the guest process.
84 void TerminateGuest();
83 85
84 // A request from Javascript has been made to stop the loading of the page. 86 // A request from Javascript has been made to stop the loading of the page.
85 void Stop(); 87 void Stop();
86 // A request from Javascript has been made to reload the page. 88 // A request from Javascript has been made to reload the page.
87 void Reload(); 89 void Reload();
88 90
89 // WebKit::WebPlugin implementation. 91 // WebKit::WebPlugin implementation.
90 virtual WebKit::WebPluginContainer* container() const OVERRIDE; 92 virtual WebKit::WebPluginContainer* container() const OVERRIDE;
91 virtual bool initialize(WebKit::WebPluginContainer* container) OVERRIDE; 93 virtual bool initialize(WebKit::WebPluginContainer* container) OVERRIDE;
92 virtual void destroy() OVERRIDE; 94 virtual void destroy() OVERRIDE;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 EventListenerMap event_listener_map_; 188 EventListenerMap event_listener_map_;
187 #if defined(OS_WIN) 189 #if defined(OS_WIN)
188 base::SharedMemory shared_memory_; 190 base::SharedMemory shared_memory_;
189 #endif 191 #endif
190 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 192 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
191 }; 193 };
192 194
193 } // namespace content 195 } // namespace content
194 196
195 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 197 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/common/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698