| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/shell/browser/shell_platform_data_aura.h" | 5 #include "content/shell/browser/shell_platform_data_aura.h" |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "content/shell/browser/shell.h" | 8 #include "content/shell/browser/shell.h" |
| 9 #include "ui/aura/client/default_capture_client.h" | 9 #include "ui/aura/client/default_capture_client.h" |
| 10 #include "ui/aura/env.h" | 10 #include "ui/aura/env.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 76 } |
| 77 | 77 |
| 78 ShellPlatformDataAura::~ShellPlatformDataAura() { | 78 ShellPlatformDataAura::~ShellPlatformDataAura() { |
| 79 } | 79 } |
| 80 | 80 |
| 81 void ShellPlatformDataAura::ShowWindow() { | 81 void ShellPlatformDataAura::ShowWindow() { |
| 82 host_->Show(); | 82 host_->Show(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) { | 85 void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) { |
| 86 host_->SetBounds(gfx::Rect(size)); | 86 host_->SetBoundsInPixels(gfx::Rect(size)); |
| 87 } | 87 } |
| 88 | 88 |
| 89 } // namespace content | 89 } // namespace content |
| OLD | NEW |