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

Unified Diff: chrome/browser/extensions/api/messaging/native_process_launcher.h

Issue 22532011: Pass handle of the native view window to the native messaging host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/messaging/native_process_launcher.h
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.h b/chrome/browser/extensions/api/messaging/native_process_launcher.h
index 5ab1fce7027183f308cb6b61d730f8d895e0529e..325e49371c9742d52c65b39059602de796048342 100644
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.h
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
#include "base/process/process.h"
+#include "ui/gfx/native_widget_types.h"
class CommandLine;
class GURL;
@@ -36,7 +37,8 @@ class NativeProcessLauncher {
base::PlatformFile read_file,
base::PlatformFile write_file)> LaunchedCallback;
- static scoped_ptr<NativeProcessLauncher> CreateDefault();
+ static scoped_ptr<NativeProcessLauncher> CreateDefault(
+ gfx::NativeWindow native_view);
NativeProcessLauncher() {}
virtual ~NativeProcessLauncher() {}

Powered by Google App Engine
This is Rietveld 408576698