| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |