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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10659022: Revert 144071 - Add a regenerate button to regenerate the password in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/browser/ui/views/password_generation_bubble_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view.cc (revision 144073)
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
@@ -2487,8 +2487,6 @@
const gfx::Rect& rect,
autofill::PasswordGenerator* password_generator,
const webkit::forms::PasswordForm& form) {
- ui::ThemeProvider* theme_provider = GetWidget()->GetThemeProvider();
-
// Create a rect in the content bounds that the bubble will point to.
gfx::Point origin(rect.origin());
views::View::ConvertPointToScreen(GetTabContentsContainerView(), &origin);
@@ -2507,8 +2505,7 @@
tab_contents->web_contents()->GetRenderViewHost(),
password_generator,
browser_.get(),
- tab_contents->password_manager(),
- theme_provider);
+ tab_contents->password_manager());
views::BubbleDelegateView::CreateBubble(bubble);
bubble->SetAlignment(views::BubbleBorder::ALIGN_ARROW_TO_MID_ANCHOR);
« no previous file with comments | « no previous file | chrome/browser/ui/views/password_generation_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698