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

Side by Side Diff: chrome/browser/chromeos/accessibility/chromevox_panel.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 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_CHROMEOS_ACCESSIBILITY_CHROMEVOX_PANEL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_CHROMEVOX_PANEL_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_CHROMEVOX_PANEL_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_CHROMEVOX_PANEL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 views::View* GetContentsView() override; 45 views::View* GetContentsView() override;
46 46
47 // DisplayObserver overrides; 47 // DisplayObserver overrides;
48 void OnDisplayAdded(const gfx::Display& new_display) override {} 48 void OnDisplayAdded(const gfx::Display& new_display) override {}
49 void OnDisplayRemoved(const gfx::Display& old_display) override {} 49 void OnDisplayRemoved(const gfx::Display& old_display) override {}
50 void OnDisplayMetricsChanged(const gfx::Display& display, 50 void OnDisplayMetricsChanged(const gfx::Display& display,
51 uint32_t changed_metrics) override; 51 uint32_t changed_metrics) override;
52 52
53 private: 53 private:
54 views::Widget* widget_; 54 views::Widget* widget_;
55 scoped_ptr<ChromeVoxPanelWebContentsObserver> web_contents_observer_; 55 std::unique_ptr<ChromeVoxPanelWebContentsObserver> web_contents_observer_;
56 views::View* web_view_; 56 views::View* web_view_;
57 bool panel_fullscreen_; 57 bool panel_fullscreen_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(ChromeVoxPanel); 59 DISALLOW_COPY_AND_ASSIGN(ChromeVoxPanel);
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_CHROMEVOX_PANEL_H_ 62 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_CHROMEVOX_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698