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

Unified Diff: chrome_frame/chrome_active_document.h

Issue 3051018: Ensure that window.open requests issued by ChromeFrame carry the correct cook... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_active_document.h
===================================================================
--- chrome_frame/chrome_active_document.h (revision 53833)
+++ chrome_frame/chrome_active_document.h (working copy)
@@ -9,11 +9,11 @@
#include <atlcom.h>
#include <atlctl.h>
#include <htiframe.h>
+#include <map>
#include <mshtmcid.h>
#include <perhist.h>
+#include <string>
-#include <map>
-
#include "base/scoped_ptr.h"
#include "base/scoped_comptr_win.h"
#include "base/thread.h"
@@ -382,20 +382,9 @@
HRESULT IEExec(const GUID* cmd_group_guid, DWORD command_id,
DWORD cmd_exec_opt, VARIANT* in_args, VARIANT* out_args);
- DWORD MapUrlToZone(const wchar_t* url);
-
- // Parses the URL and returns information whether it is a new navigation and
- // the actual url after stripping out the cf: prefix if any.
- // This function also checks if the url scheme is valid for navigation within
- // chrome and whether it is a restricted URL as per IE settings. In either of
- // these cases it returns false.
- bool ParseUrl(const std::wstring& url, bool* is_new_navigation,
- bool* is_chrome_protocol, std::wstring* parsed_url);
-
// Initiates navigation to the URL passed in.
// Returns true on success.
- bool LaunchUrl(const std::wstring& url, const std::string& referrer,
- bool is_new_navigation);
+ bool LaunchUrl(const ChromeFrameUrl& cf_url, const std::string& referrer);
// Handler to set the page font size in Chrome.
HRESULT SetPageFontSize(const GUID* cmd_group_guid,
@@ -471,8 +460,6 @@
// Dimensions of the window. Used only when opening popups.
gfx::Rect dimensions_;
- // Set to true if the document was loaded by a window.open in chrome.
- bool is_new_navigation_;
public:
ScopedComPtr<IOleInPlaceFrame> in_place_frame_;
OLEINPLACEFRAMEINFO frame_info_;
« no previous file with comments | « no previous file | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698