summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_active_document.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_active_document.h')
-rw-r--r--chrome_frame/chrome_active_document.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.h b/chrome_frame/chrome_active_document.h
index aeec2d82..e7a4397 100644
--- a/chrome_frame/chrome_active_document.h
+++ b/chrome_frame/chrome_active_document.h
@@ -146,6 +146,8 @@ BEGIN_COM_MAP(ChromeActiveDocument)
END_COM_MAP()
BEGIN_MSG_MAP(ChromeActiveDocument)
+ COMMAND_ID_HANDLER(IDC_FORWARD, OnForward)
+ COMMAND_ID_HANDLER(IDC_BACK, OnBack)
CHAIN_MSG_MAP(Base)
END_MSG_MAP()
@@ -299,6 +301,10 @@ END_EXEC_COMMAND_MAP()
// Get the travel log from the client site
HRESULT GetBrowserServiceAndTravelLog(IBrowserService** browser_service,
ITravelLog** travel_log);
+ LRESULT OnForward(WORD notify_code, WORD id, HWND control_window,
+ BOOL& bHandled);
+ LRESULT OnBack(WORD notify_code, WORD id, HWND control_window,
+ BOOL& bHandled);
protected:
typedef std::map<int, bool> EnabledCommandsMap;
@@ -324,6 +330,8 @@ END_EXEC_COMMAND_MAP()
ScopedComPtr<IInternetSecurityManager> security_manager_;
+ HACCEL accelerator_table_;
+
public:
ScopedComPtr<IOleInPlaceFrame> in_place_frame_;
OLEINPLACEFRAMEINFO frame_info_;