projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
renderer
/
extensions
/
app_bindings.h
diff --git
a/src/chrome/renderer/extensions/app_bindings.h
b/src/chrome/renderer/extensions/app_bindings.h
index
76e3c4f
..
4634dfb
100644
(file)
--- a/
src/chrome/renderer/extensions/app_bindings.h
+++ b/
src/chrome/renderer/extensions/app_bindings.h
@@
-12,19
+12,20
@@
#define CHROME_RENDERER_EXTENSIONS_APP_BINDINGS_H_
#include "base/compiler_specific.h"
#define CHROME_RENDERER_EXTENSIONS_APP_BINDINGS_H_
#include "base/compiler_specific.h"
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "chrome/renderer/extensions/chrome_v8_extension_handler.h"
+#include "extensions/renderer/object_backed_native_handler.h"
#include "third_party/WebKit/public/web/WebFrame.h"
namespace extensions {
#include "third_party/WebKit/public/web/WebFrame.h"
namespace extensions {
-class
ChromeV8Context
;
+class
Dispatcher
;
// Implements the chrome.app JavaScript object.
//
// TODO(aa): Add unit testing for this class.
// Implements the chrome.app JavaScript object.
//
// TODO(aa): Add unit testing for this class.
-class AppBindings : public
ChromeV8Extension
,
+class AppBindings : public
ObjectBackedNativeHandler
,
public ChromeV8ExtensionHandler {
public:
public ChromeV8ExtensionHandler {
public:
- AppBindings(Dispatcher* dispatcher,
ChromeV8
Context* context);
+ AppBindings(Dispatcher* dispatcher,
Script
Context* context);
private:
// IPC::Listener
private:
// IPC::Listener
@@
-40,6
+41,9
@@
class AppBindings : public ChromeV8Extension,
void OnAppInstallStateResponse(const std::string& state, int callback_id);
void OnAppInstallStateResponse(const std::string& state, int callback_id);
+ // Dispatcher handle. Not owned.
+ Dispatcher* dispatcher_;
+
DISALLOW_COPY_AND_ASSIGN(AppBindings);
};
DISALLOW_COPY_AND_ASSIGN(AppBindings);
};