| 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 #include "blimp/engine/ui/blimp_screen.h" | 5 #include "blimp/engine/ui/blimp_screen.h" |
| 6 | 6 |
| 7 namespace blimp { | 7 namespace blimp { |
| 8 namespace engine { | 8 namespace engine { |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| 11 | 11 |
| 12 const int64 kDisplayId = 1; | 12 const int64_t kDisplayId = 1; |
| 13 const int kNumDisplays = 1; | 13 const int kNumDisplays = 1; |
| 14 | 14 |
| 15 } // namespace | 15 } // namespace |
| 16 | 16 |
| 17 BlimpScreen::BlimpScreen() : display_(kDisplayId) {} | 17 BlimpScreen::BlimpScreen() : display_(kDisplayId) {} |
| 18 | 18 |
| 19 BlimpScreen::~BlimpScreen() {} | 19 BlimpScreen::~BlimpScreen() {} |
| 20 | 20 |
| 21 void BlimpScreen::UpdateDisplayScaleAndSize(float scale, | 21 void BlimpScreen::UpdateDisplayScaleAndSize(float scale, |
| 22 const gfx::Size& size) { | 22 const gfx::Size& size) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 gfx::Display BlimpScreen::GetPrimaryDisplay() const { | 63 gfx::Display BlimpScreen::GetPrimaryDisplay() const { |
| 64 return display_; | 64 return display_; |
| 65 } | 65 } |
| 66 | 66 |
| 67 void BlimpScreen::AddObserver(gfx::DisplayObserver* observer) {} | 67 void BlimpScreen::AddObserver(gfx::DisplayObserver* observer) {} |
| 68 | 68 |
| 69 void BlimpScreen::RemoveObserver(gfx::DisplayObserver* observer) {} | 69 void BlimpScreen::RemoveObserver(gfx::DisplayObserver* observer) {} |
| 70 | 70 |
| 71 } // namespace engine | 71 } // namespace engine |
| 72 } // namespace blimp | 72 } // namespace blimp |
| OLD | NEW |