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

Side by Side Diff: chrome/test/base/test_browser_window.h

Issue 1927203003: Add support for X11 workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed GetSavedWindowWorkspace, put command line code into browser_frame.cc Created 4 years, 7 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
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 CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 const signin::ManageAccountsParams& manage_accounts_params, 135 const signin::ManageAccountsParams& manage_accounts_params,
136 signin_metrics::AccessPoint access_point) override {} 136 signin_metrics::AccessPoint access_point) override {}
137 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 137 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
138 void ExecuteExtensionCommand(const extensions::Extension* extension, 138 void ExecuteExtensionCommand(const extensions::Extension* extension,
139 const extensions::Command& command) override; 139 const extensions::Command& command) override;
140 ExclusiveAccessContext* GetExclusiveAccessContext() override; 140 ExclusiveAccessContext* GetExclusiveAccessContext() override;
141 void ShowImeWarningBubble( 141 void ShowImeWarningBubble(
142 const extensions::Extension* extension, 142 const extensions::Extension* extension,
143 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& 143 const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
144 callback) override {} 144 callback) override {}
145 std::string GetWorkspace() const override;
145 146
146 protected: 147 protected:
147 void DestroyBrowser() override {} 148 void DestroyBrowser() override {}
148 149
149 private: 150 private:
150 class TestLocationBar : public LocationBar { 151 class TestLocationBar : public LocationBar {
151 public: 152 public:
152 TestLocationBar() : LocationBar(NULL) {} 153 TestLocationBar() : LocationBar(NULL) {}
153 ~TestLocationBar() override {} 154 ~TestLocationBar() override {}
154 155
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 203
203 namespace chrome { 204 namespace chrome {
204 205
205 // Helper that handle the lifetime of TestBrowserWindow instances. 206 // Helper that handle the lifetime of TestBrowserWindow instances.
206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams(
207 Browser::CreateParams* params); 208 Browser::CreateParams* params);
208 209
209 } // namespace chrome 210 } // namespace chrome
210 211
211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698