diff options
author | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 20:38:24 +0000 |
---|---|---|
committer | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 20:38:24 +0000 |
commit | 326d3b7eb07359b5a88619f84286e912d4c6e531 (patch) | |
tree | f77644aae9ae1d6f21b464ce4a8b3dd9aa45e431 /chrome_frame/chrome_active_document.h | |
parent | e0af339c91f198008fb80921a6f63bbea93e312d (diff) | |
download | chromium_src-326d3b7eb07359b5a88619f84286e912d4c6e531.zip chromium_src-326d3b7eb07359b5a88619f84286e912d4c6e531.tar.gz chromium_src-326d3b7eb07359b5a88619f84286e912d4c6e531.tar.bz2 |
Chrome frame support for resizing popup windows
Add necesssary plumbing for window.resizeTo to work within
Chrome Frame.
BUG=76649
TEST=create a popup window using window.open and resize it
using window.resizeTo.
Sample test page is here: http://testopenpopup.comuf.com/popUp.html
Review URL: http://codereview.chromium.org/6748010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_active_document.h')
-rw-r--r-- | chrome_frame/chrome_active_document.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome_frame/chrome_active_document.h b/chrome_frame/chrome_active_document.h index 37547a8..d9e4f73 100644 --- a/chrome_frame/chrome_active_document.h +++ b/chrome_frame/chrome_active_document.h @@ -365,6 +365,7 @@ END_EXEC_COMMAND_MAP() const GURL& url_to_open, const GURL& referrer, int open_disposition); virtual void OnAttachExternalTab(const AttachExternalTabParams& params); virtual void OnGoToHistoryEntryOffset(int offset); + virtual void OnMoveWindow(const gfx::Rect& dimensions); // A helper method that updates our internal navigation state // as well as IE's navigation state (viz Title and current URL). @@ -436,10 +437,6 @@ END_EXEC_COMMAND_MAP() LRESULT OnSetFocus(UINT message, WPARAM wparam, LPARAM lparam, BOOL& handled); - // Sets the dimensions on the IE window. These dimensions are parsed out from - // the information passed in from Chrome during window.open. - void SetWindowDimensions(); - // Returns true if the NavigationInfo object passed in represents a new // navigation initiated by the renderer. bool IsNewNavigation(const NavigationInfo& new_navigation_info, @@ -481,8 +478,6 @@ END_EXEC_COMMAND_MAP() UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator next_privacy_record_; - // Dimensions of the window. Used only when opening popups. - gfx::Rect dimensions_; public: OLEINPLACEFRAMEINFO frame_info_; }; |