Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: ui/views/widget/widget_unittest.cc

Issue 26427002: Add always-on-top property to app windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698