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

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

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/widget_delegate.cc ('k') | ui/views/widget/window_manager.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/gfx/point.h" 10 #include "ui/gfx/point.h"
11 #include "ui/views/test/test_views_delegate.h" 11 #include "ui/views/test/test_views_delegate.h"
12 #include "ui/views/test/views_test_base.h" 12 #include "ui/views/test/views_test_base.h"
13 #include "ui/views/views_delegate.h"
13 #include "ui/views/widget/native_widget_delegate.h" 14 #include "ui/views/widget/native_widget_delegate.h"
14 #include "views/views_delegate.h"
15 15
16 #if defined(USE_AURA) 16 #if defined(USE_AURA)
17 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
18 #include "ui/views/widget/native_widget_aura.h" 18 #include "ui/views/widget/native_widget_aura.h"
19 #elif defined(OS_WIN) 19 #elif defined(OS_WIN)
20 #include "ui/views/widget/native_widget_win.h" 20 #include "ui/views/widget/native_widget_win.h"
21 #elif defined(TOOLKIT_USES_GTK) 21 #elif defined(TOOLKIT_USES_GTK)
22 #include "ui/views/widget/native_widget_gtk.h" 22 #include "ui/views/widget/native_widget_gtk.h"
23 #endif 23 #endif
24 24
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 RunPendingMessages(); 820 RunPendingMessages();
821 EXPECT_NE(toplevel->GetWindowScreenBounds().ToString(), 821 EXPECT_NE(toplevel->GetWindowScreenBounds().ToString(),
822 toplevel->GetRestoredBounds().ToString()); 822 toplevel->GetRestoredBounds().ToString());
823 EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); 823 EXPECT_GT(toplevel->GetRestoredBounds().width(), 0);
824 EXPECT_GT(toplevel->GetRestoredBounds().height(), 0); 824 EXPECT_GT(toplevel->GetRestoredBounds().height(), 0);
825 } 825 }
826 #endif 826 #endif
827 827
828 } // namespace 828 } // namespace
829 } // namespace views 829 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/widget_delegate.cc ('k') | ui/views/widget/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698