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

Side by Side Diff: chrome/browser/autofill/risk/fingerprint_browsertest.cc

Issue 12334073: Remove WebContents methods that duplicate WebContentsView methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/autofill/risk/fingerprint.h" 5 #include "chrome/browser/autofill/risk/fingerprint.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/port.h" 9 #include "base/port.h"
10 #include "base/prefs/pref_registry_simple.h" 10 #include "base/prefs/pref_registry_simple.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 virtual bool IsBeingDestroyed() const OVERRIDE { return false; } 417 virtual bool IsBeingDestroyed() const OVERRIDE { return false; }
418 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE {} 418 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE {}
419 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE { 419 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE {
420 return base::TimeTicks(); 420 return base::TimeTicks();
421 } 421 }
422 virtual void WasShown() OVERRIDE {} 422 virtual void WasShown() OVERRIDE {}
423 virtual void WasHidden() OVERRIDE {} 423 virtual void WasHidden() OVERRIDE {}
424 virtual bool NeedToFireBeforeUnload() OVERRIDE { return false; } 424 virtual bool NeedToFireBeforeUnload() OVERRIDE { return false; }
425 virtual void Stop() OVERRIDE {} 425 virtual void Stop() OVERRIDE {}
426 virtual WebContents* Clone() OVERRIDE { return NULL; } 426 virtual WebContents* Clone() OVERRIDE { return NULL; }
427 virtual gfx::NativeView GetContentNativeView() const OVERRIDE {
428 return gfx::NativeView();
429 }
430 virtual gfx::NativeView GetNativeView() const OVERRIDE {
431 return gfx::NativeView();
432 }
433 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE {}
434 virtual void Focus() OVERRIDE {}
435 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE {} 427 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE {}
436 virtual bool ShowingInterstitialPage() const OVERRIDE { return false; } 428 virtual bool ShowingInterstitialPage() const OVERRIDE { return false; }
437 virtual InterstitialPage* GetInterstitialPage() const OVERRIDE { 429 virtual InterstitialPage* GetInterstitialPage() const OVERRIDE {
438 return NULL; 430 return NULL;
439 } 431 }
440 virtual bool IsSavable() OVERRIDE { return false; } 432 virtual bool IsSavable() OVERRIDE { return false; }
441 virtual void OnSavePage() OVERRIDE {} 433 virtual void OnSavePage() OVERRIDE {}
442 virtual bool SavePage(const base::FilePath& main_file, 434 virtual bool SavePage(const base::FilePath& main_file,
443 const base::FilePath& dir_path, 435 const base::FilePath& dir_path,
444 SavePageType save_type) OVERRIDE { return false; } 436 SavePageType save_type) OVERRIDE { return false; }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 base::Unretained(this))); 620 base::Unretained(this)));
629 621
630 // Wait for the callback to be called. 622 // Wait for the callback to be called.
631 // TODO(isherman): Investigating http://crbug.com/174296 623 // TODO(isherman): Investigating http://crbug.com/174296
632 LOG(WARNING) << "Waiting for the callback to be called."; 624 LOG(WARNING) << "Waiting for the callback to be called.";
633 message_loop_.Run(); 625 message_loop_.Run();
634 } 626 }
635 627
636 } // namespace risk 628 } // namespace risk
637 } // namespace autofill 629 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_external_delegate.cc ('k') | chrome/browser/automation/automation_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698