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

Side by Side Diff: chrome/test/testing_profile.h

Issue 150176: GTK: First draft of using native themes, partially based on evan's CL 118358. (Closed)
Patch Set: And the codereview tool is back. Created 11 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
« chrome/common/pref_names.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_TEST_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_TESTING_PROFILE_H_
6 #define CHROME_TEST_TESTING_PROFILE_H_ 6 #define CHROME_TEST_TESTING_PROFILE_H_
7 7
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 127 }
128 128
129 virtual DownloadManager* GetDownloadManager() { 129 virtual DownloadManager* GetDownloadManager() {
130 return NULL; 130 return NULL;
131 } 131 }
132 virtual bool HasCreatedDownloadManager() const { 132 virtual bool HasCreatedDownloadManager() const {
133 return false; 133 return false;
134 } 134 }
135 virtual void InitThemes() { } 135 virtual void InitThemes() { }
136 virtual void SetTheme(Extension* extension) { } 136 virtual void SetTheme(Extension* extension) { }
137 virtual void SetNativeTheme() { }
137 virtual void ClearTheme() { } 138 virtual void ClearTheme() { }
138 virtual ThemeProvider* GetThemeProvider() { 139 virtual ThemeProvider* GetThemeProvider() {
139 return theme_provider_.get(); 140 return theme_provider_.get();
140 } 141 }
141 virtual URLRequestContext* GetRequestContext() { 142 virtual URLRequestContext* GetRequestContext() {
142 return NULL; 143 return NULL;
143 } 144 }
144 virtual URLRequestContext* GetRequestContextForMedia() { 145 virtual URLRequestContext* GetRequestContextForMedia() {
145 return NULL; 146 return NULL;
146 } 147 }
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 262
262 std::wstring id_; 263 std::wstring id_;
263 264
264 bool off_the_record_; 265 bool off_the_record_;
265 266
266 // Did the last session exit cleanly? Default is true. 267 // Did the last session exit cleanly? Default is true.
267 bool last_session_exited_cleanly_; 268 bool last_session_exited_cleanly_;
268 }; 269 };
269 270
270 #endif // CHROME_TEST_TESTING_PROFILE_H_ 271 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« chrome/common/pref_names.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698