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

Side by Side Diff: chrome/browser/ui/gtk/password_generation_bubble_gtk.h

Issue 10226009: Add a learn more link to password generation bubble to point to a help page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make some changes according to review comments. Created 8 years, 8 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 | « no previous file | chrome/browser/ui/gtk/password_generation_bubble_gtk.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) 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 #ifndef CHROME_BROWSER_UI_GTK_PASSWORD_GENERATION_BUBBLE_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_PASSWORD_GENERATION_BUBBLE_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_PASSWORD_GENERATION_BUBBLE_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_PASSWORD_GENERATION_BUBBLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 PasswordGenerationBubbleGtk(const gfx::Rect& anchor_rect, 28 PasswordGenerationBubbleGtk(const gfx::Rect& anchor_rect,
29 GtkWidget* anchor_widget, 29 GtkWidget* anchor_widget,
30 Profile* profile, 30 Profile* profile,
31 content::RenderViewHost* render_view_host); 31 content::RenderViewHost* render_view_host);
32 virtual ~PasswordGenerationBubbleGtk(); 32 virtual ~PasswordGenerationBubbleGtk();
33 33
34 private: 34 private:
35 CHROMEGTK_CALLBACK_0(PasswordGenerationBubbleGtk, void, OnDestroy); 35 CHROMEGTK_CALLBACK_0(PasswordGenerationBubbleGtk, void, OnDestroy);
36 CHROMEGTK_CALLBACK_0(PasswordGenerationBubbleGtk, void, OnAcceptClicked); 36 CHROMEGTK_CALLBACK_0(PasswordGenerationBubbleGtk, void, OnAcceptClicked);
37 CHROMEG_CALLBACK_0(
38 PasswordGenerationBubbleGtk, void, OnLearnMoreLinkClicked, GtkButton*);
37 39
38 BubbleGtk* bubble_; 40 BubbleGtk* bubble_;
39 GtkWidget* text_field_; 41 GtkWidget* text_field_;
42 Profile* profile_;
40 43
41 // RenderViewHost associated with the button that spawned this bubble. 44 // RenderViewHost associated with the button that spawned this bubble.
42 content::RenderViewHost* render_view_host_; 45 content::RenderViewHost* render_view_host_;
43 46
44 // Class that deals with generating passwords. 47 // Class that deals with generating passwords.
45 autofill::PasswordGenerator password_generator_; 48 autofill::PasswordGenerator password_generator_;
46 49
47 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationBubbleGtk); 50 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationBubbleGtk);
48 }; 51 };
49 52
50 #endif // CHROME_BROWSER_UI_GTK_PASSWORD_GENERATION_BUBBLE_GTK_H_ 53 #endif // CHROME_BROWSER_UI_GTK_PASSWORD_GENERATION_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/password_generation_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698