diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 16:54:22 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 16:54:22 +0000 |
commit | 3eafbfb9c01b23f85086cb8946700fe8baedb127 (patch) | |
tree | 4b1fbe86ffe3eb56419c7edd1224075f698e560a /chrome_frame/chrome_active_document.h | |
parent | 51d6cf4e2ce5e34af1f5b059653d47b862cee485 (diff) | |
download | chromium_src-3eafbfb9c01b23f85086cb8946700fe8baedb127.zip chromium_src-3eafbfb9c01b23f85086cb8946700fe8baedb127.tar.gz chromium_src-3eafbfb9c01b23f85086cb8946700fe8baedb127.tar.bz2 |
Allow non-IE hosts to handle accelerators without having to
implement the huge IBrowserService2 interface.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2847071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_active_document.h')
-rw-r--r-- | chrome_frame/chrome_active_document.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome_frame/chrome_active_document.h b/chrome_frame/chrome_active_document.h index 25d49d6..8b5f5e2 100644 --- a/chrome_frame/chrome_active_document.h +++ b/chrome_frame/chrome_active_document.h @@ -351,6 +351,9 @@ END_EXEC_COMMAND_MAP() STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); + // Accessor for InPlaceMenu. Returns S_OK if set, S_FALSE if NULL. + HRESULT GetInPlaceFrame(IOleInPlaceFrame** in_place_frame); + protected: // ChromeFrameActivexBase overrides virtual void OnOpenURL(int tab_handle, const GURL& url_to_open, @@ -461,7 +464,6 @@ END_EXEC_COMMAND_MAP() // Dimensions of the window. Used only when opening popups. gfx::Rect dimensions_; public: - ScopedComPtr<IOleInPlaceFrame> in_place_frame_; OLEINPLACEFRAMEINFO frame_info_; }; |