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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" | 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
10 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view
.h" | 10 #include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view
.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 static ManagePasswordsBubbleView* manage_passwords_bubble_; | 94 static ManagePasswordsBubbleView* manage_passwords_bubble_; |
95 | 95 |
96 // The timeout in seconds for the auto sign-in toast. | 96 // The timeout in seconds for the auto sign-in toast. |
97 static int auto_signin_toast_timeout_; | 97 static int auto_signin_toast_timeout_; |
98 | 98 |
99 ManagePasswordsBubbleModel model_; | 99 ManagePasswordsBubbleModel model_; |
100 | 100 |
101 views::View* initially_focused_view_; | 101 views::View* initially_focused_view_; |
102 | 102 |
103 // A helper to intercept mouse click events on the web contents. | 103 // A helper to intercept mouse click events on the web contents. |
104 scoped_ptr<WebContentMouseHandler> mouse_handler_; | 104 std::unique_ptr<WebContentMouseHandler> mouse_handler_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); | 106 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); |
107 }; | 107 }; |
108 | 108 |
109 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ | 109 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ |
OLD | NEW |