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

Side by Side Diff: ash/test/test_shell_delegate.cc

Issue 42353002: Introduce WindowStateDelegate::ToggleFullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude accelerator_commands_browsertest on win Created 7 years, 1 month 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 | « ash/test/test_shell_delegate.h ('k') | ash/wm/window_properties.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 "ash/test/test_shell_delegate.h" 5 #include "ash/test/test_shell_delegate.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "ash/caps_lock_delegate_stub.h" 9 #include "ash/caps_lock_delegate_stub.h"
10 #include "ash/default_accessibility_delegate.h" 10 #include "ash/default_accessibility_delegate.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void TestShellDelegate::PreInit() { 66 void TestShellDelegate::PreInit() {
67 } 67 }
68 68
69 void TestShellDelegate::Shutdown() { 69 void TestShellDelegate::Shutdown() {
70 } 70 }
71 71
72 void TestShellDelegate::Exit() { 72 void TestShellDelegate::Exit() {
73 num_exit_requests_++; 73 num_exit_requests_++;
74 } 74 }
75 75
76 void TestShellDelegate::ToggleFullscreen() {
77 }
78
79 keyboard::KeyboardControllerProxy* 76 keyboard::KeyboardControllerProxy*
80 TestShellDelegate::CreateKeyboardControllerProxy() { 77 TestShellDelegate::CreateKeyboardControllerProxy() {
81 return new KeyboardControllerProxyStub(); 78 return new KeyboardControllerProxyStub();
82 } 79 }
83 80
84 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { 81 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() {
85 current_browser_context_.reset(new content::TestBrowserContext()); 82 current_browser_context_.reset(new content::TestBrowserContext());
86 return current_browser_context_.get(); 83 return current_browser_context_.get();
87 } 84 }
88 85
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 base::string16 TestShellDelegate::GetProductName() const { 149 base::string16 TestShellDelegate::GetProductName() const {
153 return base::string16(); 150 return base::string16();
154 } 151 }
155 152
156 TestSessionStateDelegate* TestShellDelegate::test_session_state_delegate() { 153 TestSessionStateDelegate* TestShellDelegate::test_session_state_delegate() {
157 return test_session_state_delegate_; 154 return test_session_state_delegate_;
158 } 155 }
159 156
160 } // namespace test 157 } // namespace test
161 } // namespace ash 158 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/window_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698