| 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 <set> | 6 #include <set> |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 widget->StackAtTop(); | 612 widget->StackAtTop(); |
| 613 widget->IsClosed(); | 613 widget->IsClosed(); |
| 614 widget->Close(); | 614 widget->Close(); |
| 615 widget->Show(); | 615 widget->Show(); |
| 616 widget->Hide(); | 616 widget->Hide(); |
| 617 widget->Activate(); | 617 widget->Activate(); |
| 618 widget->Deactivate(); | 618 widget->Deactivate(); |
| 619 widget->IsActive(); | 619 widget->IsActive(); |
| 620 widget->DisableInactiveRendering(); | 620 widget->DisableInactiveRendering(); |
| 621 widget->SetAlwaysOnTop(true); | 621 widget->SetAlwaysOnTop(true); |
| 622 widget->IsAlwaysOnTop(); |
| 622 widget->Maximize(); | 623 widget->Maximize(); |
| 623 widget->Minimize(); | 624 widget->Minimize(); |
| 624 widget->Restore(); | 625 widget->Restore(); |
| 625 widget->IsMaximized(); | 626 widget->IsMaximized(); |
| 626 widget->IsFullscreen(); | 627 widget->IsFullscreen(); |
| 627 widget->SetOpacity(0); | 628 widget->SetOpacity(0); |
| 628 widget->SetUseDragFrame(true); | 629 widget->SetUseDragFrame(true); |
| 629 widget->FlashFrame(true); | 630 widget->FlashFrame(true); |
| 630 widget->IsVisible(); | 631 widget->IsVisible(); |
| 631 widget->GetThemeProvider(); | 632 widget->GetThemeProvider(); |
| (...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2147 EXPECT_EQ(activate_result, MA_ACTIVATE); | 2148 EXPECT_EQ(activate_result, MA_ACTIVATE); |
| 2148 | 2149 |
| 2149 modal_dialog_widget->CloseNow(); | 2150 modal_dialog_widget->CloseNow(); |
| 2150 top_level_widget.CloseNow(); | 2151 top_level_widget.CloseNow(); |
| 2151 } | 2152 } |
| 2152 #endif | 2153 #endif |
| 2153 #endif | 2154 #endif |
| 2154 | 2155 |
| 2155 } // namespace test | 2156 } // namespace test |
| 2156 } // namespace views | 2157 } // namespace views |
| OLD | NEW |