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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h

Issue 2407853002: cocoa browser: add accessible tooltip for security state (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_LOCATION_BAR_SECURITY_STATE_BUBBLE_DECORATION_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SECURITY_STATE_BUBBLE_DECORATION_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SECURITY_STATE_BUBBLE_DECORATION_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SECURITY_STATE_BUBBLE_DECORATION_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void DrawWithBackgroundInFrame(NSRect background_frame, 61 void DrawWithBackgroundInFrame(NSRect background_frame,
62 NSRect frame, 62 NSRect frame,
63 NSView* control_view) override; 63 NSView* control_view) override;
64 bool IsDraggable() override; 64 bool IsDraggable() override;
65 NSPasteboard* GetDragPasteboard() override; 65 NSPasteboard* GetDragPasteboard() override;
66 NSImage* GetDragImage() override; 66 NSImage* GetDragImage() override;
67 NSRect GetDragImageFrame(NSRect frame) override; 67 NSRect GetDragImageFrame(NSRect frame) override;
68 bool OnMousePressed(NSRect frame, NSPoint location) override; 68 bool OnMousePressed(NSRect frame, NSPoint location) override;
69 bool AcceptsMousePress() override; 69 bool AcceptsMousePress() override;
70 NSPoint GetBubblePointInFrame(NSRect frame) override; 70 NSPoint GetBubblePointInFrame(NSRect frame) override;
71 NSString* GetToolTip() override;
71 72
72 // BubbleDecoration: 73 // BubbleDecoration:
73 NSColor* GetBackgroundBorderColor() override; 74 NSColor* GetBackgroundBorderColor() override;
74 ui::NinePartImageIds GetBubbleImageIds() override; 75 ui::NinePartImageIds GetBubbleImageIds() override;
75 76
76 // gfx::AnimationDelegate: 77 // gfx::AnimationDelegate:
77 void AnimationProgressed(const gfx::Animation* animation) override; 78 void AnimationProgressed(const gfx::Animation* animation) override;
78 79
79 protected: 80 protected:
80 NSColor* GetDarkModeTextColor() override; 81 NSColor* GetDarkModeTextColor() override;
(...skipping 25 matching lines...) Expand all
106 107
107 LocationBarViewMac* owner_; // weak 108 LocationBarViewMac* owner_; // weak
108 109
109 // Used to disable find bar animations when testing. 110 // Used to disable find bar animations when testing.
110 bool disable_animations_during_testing_; 111 bool disable_animations_during_testing_;
111 112
112 DISALLOW_COPY_AND_ASSIGN(SecurityStateBubbleDecoration); 113 DISALLOW_COPY_AND_ASSIGN(SecurityStateBubbleDecoration);
113 }; 114 };
114 115
115 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SECURITY_STATE_BUBBLE_DECORATION _H_ 116 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SECURITY_STATE_BUBBLE_DECORATION _H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698