| 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <memory> | 6 #include <memory> |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 widget->Activate(); | 643 widget->Activate(); |
| 644 widget->Deactivate(); | 644 widget->Deactivate(); |
| 645 widget->IsActive(); | 645 widget->IsActive(); |
| 646 widget->SetAlwaysOnTop(true); | 646 widget->SetAlwaysOnTop(true); |
| 647 widget->IsAlwaysOnTop(); | 647 widget->IsAlwaysOnTop(); |
| 648 widget->Maximize(); | 648 widget->Maximize(); |
| 649 widget->Minimize(); | 649 widget->Minimize(); |
| 650 widget->Restore(); | 650 widget->Restore(); |
| 651 widget->IsMaximized(); | 651 widget->IsMaximized(); |
| 652 widget->IsFullscreen(); | 652 widget->IsFullscreen(); |
| 653 widget->SetOpacity(0); | 653 widget->SetOpacity(0.f); |
| 654 widget->FlashFrame(true); | 654 widget->FlashFrame(true); |
| 655 widget->IsVisible(); | 655 widget->IsVisible(); |
| 656 widget->GetThemeProvider(); | 656 widget->GetThemeProvider(); |
| 657 widget->GetNativeTheme(); | 657 widget->GetNativeTheme(); |
| 658 widget->GetFocusManager(); | 658 widget->GetFocusManager(); |
| 659 widget->SchedulePaintInRect(gfx::Rect(0, 0, 1, 2)); | 659 widget->SchedulePaintInRect(gfx::Rect(0, 0, 1, 2)); |
| 660 widget->IsMouseEventsEnabled(); | 660 widget->IsMouseEventsEnabled(); |
| 661 widget->SetNativeWindowProperty("xx", widget); | 661 widget->SetNativeWindowProperty("xx", widget); |
| 662 widget->GetNativeWindowProperty("xx"); | 662 widget->GetNativeWindowProperty("xx"); |
| 663 widget->GetFocusTraversable(); | 663 widget->GetFocusTraversable(); |
| (...skipping 3047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3711 EXPECT_FALSE(!!IsWindow(owned_hwnd)); | 3711 EXPECT_FALSE(!!IsWindow(owned_hwnd)); |
| 3712 EXPECT_TRUE(!!IsWindowEnabled(top_hwnd)); | 3712 EXPECT_TRUE(!!IsWindowEnabled(top_hwnd)); |
| 3713 | 3713 |
| 3714 top_level_widget.CloseNow(); | 3714 top_level_widget.CloseNow(); |
| 3715 } | 3715 } |
| 3716 | 3716 |
| 3717 #endif // defined(OS_WIN) | 3717 #endif // defined(OS_WIN) |
| 3718 | 3718 |
| 3719 } // namespace test | 3719 } // namespace test |
| 3720 } // namespace views | 3720 } // namespace views |
| OLD | NEW |