| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/views/widget/native_widget_win.h" | 5 #include "ui/views/widget/native_widget_win.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "ui/base/win/scoped_ole_initializer.h" | 11 #include "ui/base/win/scoped_ole_initializer.h" |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 class NativeWidgetWinTest : public testing::Test { | 16 class NativeWidgetWinTest : public testing::Test { |
| 17 public: | 17 public: |
| 18 NativeWidgetWinTest() {} | 18 NativeWidgetWinTest() {} |
| 19 ~NativeWidgetWinTest() {} | 19 ~NativeWidgetWinTest() {} |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 EXPECT_FALSE(IsZoomed(window->GetNativeView())); | 74 EXPECT_FALSE(IsZoomed(window->GetNativeView())); |
| 75 EXPECT_FALSE(window->IsActive()); | 75 EXPECT_FALSE(window->IsActive()); |
| 76 | 76 |
| 77 // Cleanup. | 77 // Cleanup. |
| 78 window->CloseNow(); | 78 window->CloseNow(); |
| 79 window2->CloseNow(); | 79 window2->CloseNow(); |
| 80 } | 80 } |
| 81 | 81 |
| 82 } // namespace | 82 } // namespace |
| 83 } // namespace views | 83 } // namespace views |
| OLD | NEW |