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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h

Issue 2727233003: Uses child views in Autofill Popup so we can trigger (Closed)
Patch Set: Removes static_cast to AutofillPopupChildView and class name check. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h
index 5867e2be8d1f0bf960e7d2bcc91321fd425b2ebc..1043763b421080bbddd16f461d1ae85f4f1b02c5 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h
@@ -12,8 +12,10 @@
#include "base/compiler_specific.h"
#include "base/mac/scoped_nsobject.h"
#include "base/macros.h"
+#include "base/optional.h"
#include "chrome/browser/ui/autofill/autofill_popup_view.h"
#include "chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h"
+#include "ui/accessibility/ax_enums.h"
@class AutofillPopupViewCocoa;
@class NSWindow;
@@ -49,8 +51,10 @@ class AutofillPopupViewBridge : public AutofillPopupView,
// AutofillPopupView implementation.
void Hide() override;
void Show() override;
- void InvalidateRow(size_t row) override;
- void UpdateBoundsAndRedrawPopup() override;
+ void OnSelectedRowChanged(
+ base::Optional<size_t> previous_row_selection,
+ base::Optional<size_t> current_row_selection) override;
+ void OnSuggestionsChanged() override;
// Set the initial bounds of the popup, including its placement.
void SetInitialBounds();

Powered by Google App Engine
This is Rietveld 408576698