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

Side by Side Diff: apps/app_window_browsertest.cc

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « apps/app_window.cc ('k') | apps/app_window_contents.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "apps/ui/native_app_window.h"
6 #include "chrome/browser/apps/app_browsertest_util.h" 5 #include "chrome/browser/apps/app_browsertest_util.h"
6 #include "extensions/browser/app_window/native_app_window.h"
7 7
8 using extensions::Extension; 8 using extensions::Extension;
9 using extensions::NativeAppWindow;
9 10
10 namespace apps { 11 namespace apps {
11 12
12 namespace { 13 namespace {
13 14
14 typedef extensions::PlatformAppBrowserTest AppWindowBrowserTest; 15 typedef extensions::PlatformAppBrowserTest AppWindowBrowserTest;
15 16
16 // This test is disabled on Linux because of the unpredictable nature of native 17 // This test is disabled on Linux because of the unpredictable nature of native
17 // windows. We cannot assume that the window manager will insert any title bar 18 // windows. We cannot assume that the window manager will insert any title bar
18 // at all, so the test may fail on certain window managers. 19 // at all, so the test may fail on certain window managers.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 EXPECT_EQ(0, insets.bottom()); 73 EXPECT_EQ(0, insets.bottom());
73 EXPECT_EQ(0, insets.left()); 74 EXPECT_EQ(0, insets.left());
74 EXPECT_EQ(0, insets.right()); 75 EXPECT_EQ(0, insets.right());
75 76
76 CloseAppWindow(app_window); 77 CloseAppWindow(app_window);
77 } 78 }
78 79
79 } // namespace 80 } // namespace
80 81
81 } // namespace apps 82 } // namespace apps
OLDNEW
« no previous file with comments | « apps/app_window.cc ('k') | apps/app_window_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698