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

Side by Side Diff: chrome_frame/chrome_frame_activex_base.h

Issue 4690004: Popup windows launched in a new window in ChromeFrame on IE8 would open behin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/chrome_active_document.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_FRAME_CHROME_FRAME_ACTIVEX_BASE_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_ACTIVEX_BASE_H_
6 #define CHROME_FRAME_CHROME_FRAME_ACTIVEX_BASE_H_ 6 #define CHROME_FRAME_CHROME_FRAME_ACTIVEX_BASE_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <atlctl.h> 10 #include <atlctl.h>
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 // to which the host is directed. It is only used as a temporary message 499 // to which the host is directed. It is only used as a temporary message
500 // passing mechanism between this CF instance, and the BHO that will 500 // passing mechanism between this CF instance, and the BHO that will
501 // be constructed in the new IE tab. 501 // be constructed in the new IE tab.
502 if (parsed_url.SchemeIs("chrome-extension") && 502 if (parsed_url.SchemeIs("chrome-extension") &&
503 is_privileged_) { 503 is_privileged_) {
504 scheme = "http"; 504 scheme = "http";
505 host = "local_host"; 505 host = "local_host";
506 } 506 }
507 507
508 std::string url = base::StringPrintf( 508 std::string url = base::StringPrintf(
509 "%hs:%hs?attach_external_tab&%I64u&%d&%d&%d&%d&%d&%hs", 509 "%hs://%hs?attach_external_tab&%I64u&%d&%d&%d&%d&%d&%hs",
amit 2010/11/09 22:47:54 Looks like this will convert gcf:attach... to gcf:
510 scheme.c_str(), 510 scheme.c_str(),
511 host.c_str(), 511 host.c_str(),
512 params.cookie, 512 params.cookie,
513 params.disposition, 513 params.disposition,
514 params.dimensions.x(), 514 params.dimensions.x(),
515 params.dimensions.y(), 515 params.dimensions.y(),
516 params.dimensions.width(), 516 params.dimensions.width(),
517 params.dimensions.height(), 517 params.dimensions.height(),
518 params.profile_name.c_str()); 518 params.profile_name.c_str());
519 HostNavigate(GURL(url), GURL(), params.disposition); 519 HostNavigate(GURL(url), GURL(), params.disposition);
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 EventHandlers onextensionready_; 1273 EventHandlers onextensionready_;
1274 1274
1275 // Handle network requests when host network stack is used. Passed to the 1275 // Handle network requests when host network stack is used. Passed to the
1276 // automation client on initialization. 1276 // automation client on initialization.
1277 scoped_ptr<UrlmonUrlRequestManager> url_fetcher_; 1277 scoped_ptr<UrlmonUrlRequestManager> url_fetcher_;
1278 1278
1279 HINSTANCE prev_resource_instance_; 1279 HINSTANCE prev_resource_instance_;
1280 }; 1280 };
1281 1281
1282 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_BASE_H_ 1282 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_BASE_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_active_document.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698