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

Unified Diff: chrome/test/data/extensions/platform_apps/window_api_interactive/test.js

Issue 1079913002: [Win] Keep client area the same size as window when fullscreened. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
diff --git a/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js b/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
index ab02b4d5928e202fdd076bd94c83f66ae6231bc0..4ddf9408779fe3e16fd3cd8642a042e61675ac2a 100644
--- a/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
+++ b/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
@@ -232,6 +232,21 @@ function testDrawAttention() {
]);
}
+function testFullscreen() {
+ chrome.test.runTests([
+ function createFullscreen() {
+ chrome.app.window.create('test.html', {
+ state: 'fullscreen',
+ }, callbackPass(function (win) {
+ chrome.test.assertEq(win.contentWindow.screen.width,
+ win.contentWindow.innerWidth);
+ chrome.test.assertEq(win.contentWindow.screen.height,
+ win.contentWindow.innerHeight);
+ }));
+ }
+ ]);
+}
+
chrome.app.runtime.onLaunched.addListener(function() {
chrome.test.sendMessage('Launched', function(reply) {
window[reply]();
« no previous file with comments | « chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698