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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 854943002: Remove RenderViewObserver::Resized (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test compile Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/ui/autofill/chrome_autofill_client.h" 5 #include "chrome/browser/ui/autofill/chrome_autofill_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/autofill/personal_data_manager_factory.h" 9 #include "chrome/browser/autofill/personal_data_manager_factory.h"
10 #include "chrome/browser/infobars/infobar_service.h" 10 #include "chrome/browser/infobars/infobar_service.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 } 212 }
213 213
214 void ChromeAutofillClient::DidNavigateAnyFrame( 214 void ChromeAutofillClient::DidNavigateAnyFrame(
215 content::RenderFrameHost* render_frame_host, 215 content::RenderFrameHost* render_frame_host,
216 const content::LoadCommittedDetails& details, 216 const content::LoadCommittedDetails& details,
217 const content::FrameNavigateParams& params) { 217 const content::FrameNavigateParams& params) {
218 if (dialog_controller_ && render_frame_host == last_rfh_to_rac_) 218 if (dialog_controller_ && render_frame_host == last_rfh_to_rac_)
219 HideRequestAutocompleteDialog(); 219 HideRequestAutocompleteDialog();
220 } 220 }
221 221
222 void ChromeAutofillClient::MainFrameWasResized() {
223 HideAutofillPopup();
224 }
225
222 void ChromeAutofillClient::WebContentsDestroyed() { 226 void ChromeAutofillClient::WebContentsDestroyed() {
223 HideAutofillPopup(); 227 HideAutofillPopup();
224 } 228 }
225 229
226 void ChromeAutofillClient::OnZoomChanged( 230 void ChromeAutofillClient::OnZoomChanged(
227 const ui_zoom::ZoomController::ZoomChangedEventData& data) { 231 const ui_zoom::ZoomController::ZoomChangedEventData& data) {
228 HideAutofillPopup(); 232 HideAutofillPopup();
229 } 233 }
230 234
231 void ChromeAutofillClient::DetectAccountCreationForms( 235 void ChromeAutofillClient::DetectAccountCreationForms(
(...skipping 20 matching lines...) Expand all
252 new AutofillMsg_FirstUserGestureObservedInTab(routing_id())); 256 new AutofillMsg_FirstUserGestureObservedInTab(routing_id()));
253 } 257 }
254 258
255 void ChromeAutofillClient::LinkClicked(const GURL& url, 259 void ChromeAutofillClient::LinkClicked(const GURL& url,
256 WindowOpenDisposition disposition) { 260 WindowOpenDisposition disposition) {
257 web_contents()->OpenURL(content::OpenURLParams( 261 web_contents()->OpenURL(content::OpenURLParams(
258 url, content::Referrer(), disposition, ui::PAGE_TRANSITION_LINK, false)); 262 url, content::Referrer(), disposition, ui::PAGE_TRANSITION_LINK, false));
259 } 263 }
260 264
261 } // namespace autofill 265 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/chrome_autofill_client.h ('k') | components/autofill/content/browser/content_autofill_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698