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

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

Issue 11377140: re-re-land of https://codereview.chromium.org/11364053/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more renames\! Created 8 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/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('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 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_
6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_
7 7
8 #include "ash/shell_delegate.h" 8 #include "ash/shell_delegate.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; 50 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE;
51 virtual void OpenFeedbackPage() OVERRIDE; 51 virtual void OpenFeedbackPage() OVERRIDE;
52 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; 52 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE;
53 virtual void HandleMediaNextTrack() OVERRIDE; 53 virtual void HandleMediaNextTrack() OVERRIDE;
54 virtual void HandleMediaPlayPause() OVERRIDE; 54 virtual void HandleMediaPlayPause() OVERRIDE;
55 virtual void HandleMediaPrevTrack() OVERRIDE; 55 virtual void HandleMediaPrevTrack() OVERRIDE;
56 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; 56 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE;
57 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; 57 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE;
58 virtual double GetSavedScreenMagnifierScale() OVERRIDE; 58 virtual double GetSavedScreenMagnifierScale() OVERRIDE;
59 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE; 59 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE;
60 virtual aura::client::StackingClient* CreateStackingClient() OVERRIDE;
60 61
61 int num_exit_requests() const { return num_exit_requests_; } 62 int num_exit_requests() const { return num_exit_requests_; }
62 private: 63 private:
63 friend class ash::test::AshTestBase; 64 friend class ash::test::AshTestBase;
64 65
65 // Given |session_started| will update internal state. 66 // Given |session_started| will update internal state.
66 // If |session_started| is true this method will also set 67 // If |session_started| is true this method will also set
67 // |user_logged_in_| to true. 68 // |user_logged_in_| to true.
68 // When session is started it always means that user has logged in. 69 // When session is started it always means that user has logged in.
69 // Possible situation is that user has already logged in but session has not 70 // Possible situation is that user has already logged in but session has not
(...skipping 14 matching lines...) Expand all
84 85
85 scoped_ptr<content::BrowserContext> current_browser_context_; 86 scoped_ptr<content::BrowserContext> current_browser_context_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 88 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
88 }; 89 };
89 90
90 } // namespace test 91 } // namespace test
91 } // namespace ash 92 } // namespace ash
92 93
93 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 94 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698