| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 class AutoSigninView; | 66 class AutoSigninView; |
| 67 class ManageView; | 67 class ManageView; |
| 68 class PendingView; | 68 class PendingView; |
| 69 class SaveConfirmationView; | 69 class SaveConfirmationView; |
| 70 class SignInPromoView; | 70 class SignInPromoView; |
| 71 class UpdatePendingView; | 71 class UpdatePendingView; |
| 72 | 72 |
| 73 ~ManagePasswordsBubbleView() override; | 73 ~ManagePasswordsBubbleView() override; |
| 74 | 74 |
| 75 // LocationBarBubbleDelegateView: | 75 // LocationBarBubbleDelegateView: |
| 76 int GetDialogButtons() const override; |
| 76 views::View* GetInitiallyFocusedView() override; | 77 views::View* GetInitiallyFocusedView() override; |
| 77 void Init() override; | 78 void Init() override; |
| 78 void CloseBubble() override; | 79 void CloseBubble() override; |
| 79 | 80 |
| 80 // WidgetDelegate: | 81 // WidgetDelegate: |
| 81 base::string16 GetWindowTitle() const override; | 82 base::string16 GetWindowTitle() const override; |
| 82 gfx::ImageSkia GetWindowIcon() override; | 83 gfx::ImageSkia GetWindowIcon() override; |
| 83 bool ShouldShowWindowTitle() const override; | 84 bool ShouldShowWindowTitle() const override; |
| 84 bool ShouldShowWindowIcon() const override; | 85 bool ShouldShowWindowIcon() const override; |
| 85 bool ShouldShowCloseButton() const override; | 86 bool ShouldShowCloseButton() const override; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 107 ManagePasswordsBubbleModel model_; | 108 ManagePasswordsBubbleModel model_; |
| 108 | 109 |
| 109 views::View* initially_focused_view_; | 110 views::View* initially_focused_view_; |
| 110 | 111 |
| 111 std::unique_ptr<WebContentMouseHandler> mouse_handler_; | 112 std::unique_ptr<WebContentMouseHandler> mouse_handler_; |
| 112 | 113 |
| 113 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); | 114 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleView); |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ | 117 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_VIEW_H_ |
| OLD | NEW |