| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h" | 8 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h" |
| 9 #include "content/public/browser/notification_observer.h" | 9 #include "content/public/browser/notification_observer.h" |
| 10 #include "content/public/browser/notification_registrar.h" | 10 #include "content/public/browser/notification_registrar.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 return manage_passwords_bubble_; | 46 return manage_passwords_bubble_; |
| 47 } | 47 } |
| 48 | 48 |
| 49 content::WebContents* web_contents() const; | 49 content::WebContents* web_contents() const; |
| 50 | 50 |
| 51 const View* initially_focused_view() const { | 51 const View* initially_focused_view() const { |
| 52 return initially_focused_view_; | 52 return initially_focused_view_; |
| 53 } | 53 } |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 class AccountChooserView; |
| 56 class BlacklistedView; | 57 class BlacklistedView; |
| 57 class ConfirmNeverView; | 58 class ConfirmNeverView; |
| 58 class ManageView; | 59 class ManageView; |
| 59 class PendingView; | 60 class PendingView; |
| 60 class SaveConfirmationView; | 61 class SaveConfirmationView; |
| 61 | 62 |
| 62 ManagePasswordsBubbleView(content::WebContents* web_contents, | 63 ManagePasswordsBubbleView(content::WebContents* web_contents, |
| 63 ManagePasswordsIconView* anchor_view, | 64 ManagePasswordsIconView* anchor_view, |
| 64 DisplayReason reason); | 65 DisplayReason reason); |
| 65 ~ManagePasswordsBubbleView() override; | 66 ~ManagePasswordsBubbleView() override; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 class WebContentMouseHandler; | 125 class WebContentMouseHandler; |
| 125 scoped_ptr<WebContentMouseHandler> mouse_handler_; | 126 scoped_ptr<WebContentMouseHandler> mouse_handler_; |
| 126 | 127 |
| 127 // Used to register for fullscreen change notifications. | 128 // Used to register for fullscreen change notifications. |
| 128 content::NotificationRegistrar registrar_; | 129 content::NotificationRegistrar registrar_; |
| 129 | 130 |
| 130 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); | 131 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); |
| 131 }; | 132 }; |
| 132 | 133 |
| 133 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ | 134 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ |
| OLD | NEW |