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

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

Issue 11147037: Add a 'hidden' option to chrome.app.window.create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ash tests 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 | « chrome/common/extensions/api/app_window.idl ('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) 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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 10 matching lines...) Expand all
21 // contains a valid LocationBar, all other getters return NULL. 21 // contains a valid LocationBar, all other getters return NULL.
22 // See BrowserWithTestWindowTest for an example of using this class. 22 // See BrowserWithTestWindowTest for an example of using this class.
23 class TestBrowserWindow : public BrowserWindow { 23 class TestBrowserWindow : public BrowserWindow {
24 public: 24 public:
25 TestBrowserWindow(); 25 TestBrowserWindow();
26 virtual ~TestBrowserWindow(); 26 virtual ~TestBrowserWindow();
27 27
28 // BrowserWindow: 28 // BrowserWindow:
29 virtual void Show() OVERRIDE {} 29 virtual void Show() OVERRIDE {}
30 virtual void ShowInactive() OVERRIDE {} 30 virtual void ShowInactive() OVERRIDE {}
31 virtual void Hide() OVERRIDE {}
31 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE {} 32 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE {}
32 virtual void Close() OVERRIDE {} 33 virtual void Close() OVERRIDE {}
33 virtual void Activate() OVERRIDE {} 34 virtual void Activate() OVERRIDE {}
34 virtual void Deactivate() OVERRIDE {} 35 virtual void Deactivate() OVERRIDE {}
35 virtual bool IsActive() const OVERRIDE; 36 virtual bool IsActive() const OVERRIDE;
36 virtual void FlashFrame(bool flash) OVERRIDE {} 37 virtual void FlashFrame(bool flash) OVERRIDE {}
37 virtual bool IsAlwaysOnTop() const OVERRIDE; 38 virtual bool IsAlwaysOnTop() const OVERRIDE;
38 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 39 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
39 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 40 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
40 virtual StatusBubble* GetStatusBubble() OVERRIDE; 41 virtual StatusBubble* GetStatusBubble() OVERRIDE;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 152
152 namespace chrome { 153 namespace chrome {
153 154
154 // Helpers that handle the lifetime of TestBrowserWindow instances. 155 // Helpers that handle the lifetime of TestBrowserWindow instances.
155 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); 156 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile);
156 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 157 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
157 158
158 } // namespace chrome 159 } // namespace chrome
159 160
160 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 161 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/app_window.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698