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

Unified Diff: chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/chromeos/accessibility/spoken_feedback_event_rewriter.h
diff --git a/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.h b/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.h
index 126b19c7b0d0e18a12c9179909d13fa2ec856444..1b2a4e0444472fa46884405ea75e8b99ed02f1d3 100644
--- a/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.h
+++ b/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.h
@@ -48,19 +48,19 @@ class SpokenFeedbackEventRewriter : public ui::EventRewriter {
~SpokenFeedbackEventRewriter() override;
void SetDelegateForTest(
- scoped_ptr<SpokenFeedbackEventRewriterDelegate> delegate);
+ std::unique_ptr<SpokenFeedbackEventRewriterDelegate> delegate);
private:
// EventRewriter:
ui::EventRewriteStatus RewriteEvent(
const ui::Event& event,
- scoped_ptr<ui::Event>* new_event) override;
+ std::unique_ptr<ui::Event>* new_event) override;
ui::EventRewriteStatus NextDispatchEvent(
const ui::Event& last_event,
- scoped_ptr<ui::Event>* new_event) override;
+ std::unique_ptr<ui::Event>* new_event) override;
// Active delegate (used for testing).
- scoped_ptr<SpokenFeedbackEventRewriterDelegate> delegate_;
+ std::unique_ptr<SpokenFeedbackEventRewriterDelegate> delegate_;
DISALLOW_COPY_AND_ASSIGN(SpokenFeedbackEventRewriter);
};

Powered by Google App Engine
This is Rietveld 408576698