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

Side by Side Diff: chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.h

Issue 2155743002: Add throbber and status text to WebBluetooth chooser UI on non-Mac desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unnecessary include file Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WEBSITE_SETTINGS_CHOOSER_BUBBLE_UI_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOOSER_BUBBLE_UI_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOOSER_BUBBLE_UI_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOOSER_BUBBLE_UI_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 ChooserBubbleUiView(Browser* browser, 29 ChooserBubbleUiView(Browser* browser,
30 std::unique_ptr<ChooserController> chooser_controller); 30 std::unique_ptr<ChooserController> chooser_controller);
31 ~ChooserBubbleUiView() override; 31 ~ChooserBubbleUiView() override;
32 32
33 // BubbleUi: 33 // BubbleUi:
34 void Show(BubbleReference bubble_reference) override; 34 void Show(BubbleReference bubble_reference) override;
35 void Close() override; 35 void Close() override;
36 void UpdateAnchorPosition() override; 36 void UpdateAnchorPosition() override;
37 37
38 private: 38 private:
39 friend class ChooserBubbleUiViewDelegate;
40 views::View* GetAnchorView(); 39 views::View* GetAnchorView();
41 views::BubbleBorder::Arrow GetAnchorArrow(); 40 views::BubbleBorder::Arrow GetAnchorArrow();
42 41
43 Browser* browser_; // Weak. 42 Browser* browser_; // Weak.
44 // Weak. Owned by its parent view. 43 // Weak. Owned by its parent view.
45 ChooserBubbleUiViewDelegate* chooser_bubble_ui_view_delegate_; 44 ChooserBubbleUiViewDelegate* chooser_bubble_ui_view_delegate_;
46 45
47 DISALLOW_COPY_AND_ASSIGN(ChooserBubbleUiView); 46 DISALLOW_COPY_AND_ASSIGN(ChooserBubbleUiView);
48 }; 47 };
49 48
50 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOOSER_BUBBLE_UI_VIEW_H_ 49 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOOSER_BUBBLE_UI_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698