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

Side by Side Diff: chrome/browser/ui/cocoa/bubble_anchor_helper_views.h

Issue 2882533003: [Mac] Hover/Active Omnibox Icon States for Secondary UI MD (Closed)
Patch Set: Rebased and applied tapted's changes Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_
6 #define CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_ 6 #define CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_
7 7
8 namespace views { 8 namespace views {
9 class BubbleDialogDelegateView; 9 class BubbleDialogDelegateView;
10 } 10 }
11 11
12 class LocationBarDecoration;
13
14 // Returns the manage password icon decoration in the omnibox.
15 LocationBarDecoration* GetManagePasswordDecoration(
16 views::BubbleDialogDelegateView* bubble);
17
12 // Monitors |bubble|'s parent window for size changes, and updates the bubble 18 // Monitors |bubble|'s parent window for size changes, and updates the bubble
13 // anchor. The monitor will be deleted when |bubble| is closed. 19 // anchor. The monitor will be deleted when |bubble| is closed. If |decoration|
14 void KeepBubbleAnchored(views::BubbleDialogDelegateView* bubble); 20 // is provided, the decoration will be set to active in this function. It will
21 // be set to inactive when |bubble| is closed.
22 void KeepBubbleAnchored(views::BubbleDialogDelegateView* bubble,
23 LocationBarDecoration* decoration = nullptr);
15 24
16 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_ 25 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/bubble_anchor_helper_views.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698