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

Side by Side Diff: chrome_frame/chrome_active_document.cc

Issue 1205001: Revert 42366 - Allow TabContentsDelegate classes to specify whether InfoBars ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automation/automation_messages.h ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Implementation of ChromeActiveDocument 5 // Implementation of ChromeActiveDocument
6 #include "chrome_frame/chrome_active_document.h" 6 #include "chrome_frame/chrome_active_document.h"
7 7
8 #include <hlink.h> 8 #include <hlink.h>
9 #include <htiface.h> 9 #include <htiface.h>
10 #include <initguid.h> 10 #include <initguid.h>
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 997
998 DLOG(INFO) << "Url is " << url_; 998 DLOG(INFO) << "Url is " << url_;
999 } 999 }
1000 } 1000 }
1001 1001
1002 if (is_automation_client_reused_) 1002 if (is_automation_client_reused_)
1003 return true; 1003 return true;
1004 1004
1005 automation_client_->SetUrlFetcher(&url_fetcher_); 1005 automation_client_->SetUrlFetcher(&url_fetcher_);
1006 1006
1007 if (InitializeAutomation(GetHostProcessName(false), L"", IsIEInPrivate(), 1007 if (InitializeAutomation(GetHostProcessName(false), L"", IsIEInPrivate()))
1008 false))
1009 return true; 1008 return true;
1010 1009
1011 return false; 1010 return false;
1012 } 1011 }
1013 1012
1014 1013
1015 HRESULT ChromeActiveDocument::OnRefreshPage(const GUID* cmd_group_guid, 1014 HRESULT ChromeActiveDocument::OnRefreshPage(const GUID* cmd_group_guid,
1016 DWORD command_id, DWORD cmd_exec_opt, VARIANT* in_args, VARIANT* out_args) { 1015 DWORD command_id, DWORD cmd_exec_opt, VARIANT* in_args, VARIANT* out_args) {
1017 popup_allowed_ = false; 1016 popup_allowed_ = false;
1018 if (in_args->vt == VT_I4 && 1017 if (in_args->vt == VT_I4 &&
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 ScopedComPtr<ITridentService2> trident_services; 1162 ScopedComPtr<ITridentService2> trident_services;
1164 trident_services.QueryFrom(shell_browser); 1163 trident_services.QueryFrom(shell_browser);
1165 if (trident_services) { 1164 if (trident_services) {
1166 trident_services->FirePrivacyImpactedStateChange(wparam); 1165 trident_services->FirePrivacyImpactedStateChange(wparam);
1167 } else { 1166 } else {
1168 NOTREACHED() << "Failed to retrieve IWebBrowser2 interface."; 1167 NOTREACHED() << "Failed to retrieve IWebBrowser2 interface.";
1169 } 1168 }
1170 return 0; 1169 return 0;
1171 } 1170 }
1172 1171
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_messages.h ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698