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

Side by Side Diff: chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc

Issue 10702030: Move fullscreen_controller* to a subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge tot Created 8 years, 5 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
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 "chrome/browser/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 #include "chrome/browser/ui/browser_window.h" 6 #include "chrome/browser/ui/browser_window.h"
7 #include "chrome/browser/ui/fullscreen_controller_test.h" 7 #include "chrome/browser/ui/fullscreen/fullscreen_controller_test.h"
8 #include "content/public/browser/render_view_host.h" 8 #include "content/public/browser/render_view_host.h"
9 #include "content/public/browser/render_widget_host_view.h" 9 #include "content/public/browser/render_widget_host_view.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 11
12 using content::WebContents; 12 using content::WebContents;
13 13
14 class FullscreenControllerInteractiveTest 14 class FullscreenControllerInteractiveTest
15 : public FullscreenControllerTest { 15 : public FullscreenControllerTest {
16 protected: 16 protected:
17 // IsMouseLocked verifies that the FullscreenController state believes 17 // IsMouseLocked verifies that the FullscreenController state believes
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 504
505 GURL url = test_server()->GetURL("simple.html"); 505 GURL url = test_server()->GetURL("simple.html");
506 AddTabAtIndexAndWait(0, url, content::PAGE_TRANSITION_TYPED); 506 AddTabAtIndexAndWait(0, url, content::PAGE_TRANSITION_TYPED);
507 507
508 // Validate that going fullscreen for a URL defaults to asking permision. 508 // Validate that going fullscreen for a URL defaults to asking permision.
509 ASSERT_FALSE(IsFullscreenPermissionRequested()); 509 ASSERT_FALSE(IsFullscreenPermissionRequested());
510 ASSERT_NO_FATAL_FAILURE(ToggleTabFullscreenNoRetries(true)); 510 ASSERT_NO_FATAL_FAILURE(ToggleTabFullscreenNoRetries(true));
511 ASSERT_TRUE(IsFullscreenPermissionRequested()); 511 ASSERT_TRUE(IsFullscreenPermissionRequested());
512 ASSERT_NO_FATAL_FAILURE(ToggleTabFullscreenNoRetries(false)); 512 ASSERT_NO_FATAL_FAILURE(ToggleTabFullscreenNoRetries(false));
513 } 513 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698