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

Side by Side Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h

Issue 2905243003: Cleanup BookmarkBubbleView, remove LocationBarBubbleDelegateView::GetDialogButtons() (Closed)
Patch Set: Rebase for r475249 Created 3 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 unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698