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

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

Issue 8586045: Add extension API to change window show state using chrome.windows.update(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 25 matching lines...) Expand all
36 virtual void UpdateTitleBar() OVERRIDE {} 36 virtual void UpdateTitleBar() OVERRIDE {}
37 virtual void BookmarkBarStateChanged( 37 virtual void BookmarkBarStateChanged(
38 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} 38 BookmarkBar::AnimateChangeType change_type) OVERRIDE {}
39 virtual void UpdateDevTools() OVERRIDE {} 39 virtual void UpdateDevTools() OVERRIDE {}
40 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} 40 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {}
41 virtual void SetStarredState(bool is_starred) OVERRIDE {} 41 virtual void SetStarredState(bool is_starred) OVERRIDE {}
42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
43 virtual gfx::Rect GetBounds() const OVERRIDE; 43 virtual gfx::Rect GetBounds() const OVERRIDE;
44 virtual bool IsMaximized() const OVERRIDE; 44 virtual bool IsMaximized() const OVERRIDE;
45 virtual bool IsMinimized() const OVERRIDE; 45 virtual bool IsMinimized() const OVERRIDE;
46 virtual void Maximize() OVERRIDE {}
47 virtual void Minimize() OVERRIDE {}
48 virtual void Restore() OVERRIDE {}
46 virtual void EnterFullscreen( 49 virtual void EnterFullscreen(
47 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} 50 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {}
48 virtual void ExitFullscreen() OVERRIDE {} 51 virtual void ExitFullscreen() OVERRIDE {}
49 virtual void UpdateFullscreenExitBubbleContent( 52 virtual void UpdateFullscreenExitBubbleContent(
50 const GURL& url, 53 const GURL& url,
51 FullscreenExitBubbleType bubble_type) OVERRIDE {} 54 FullscreenExitBubbleType bubble_type) OVERRIDE {}
52 virtual bool IsFullscreen() const OVERRIDE; 55 virtual bool IsFullscreen() const OVERRIDE;
53 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 56 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
54 virtual LocationBar* GetLocationBar() const OVERRIDE; 57 virtual LocationBar* GetLocationBar() const OVERRIDE;
55 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} 58 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {}
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 protected: 132 protected:
130 virtual void DestroyBrowser() OVERRIDE {} 133 virtual void DestroyBrowser() OVERRIDE {}
131 134
132 private: 135 private:
133 TestLocationBar location_bar_; 136 TestLocationBar location_bar_;
134 137
135 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 138 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
136 }; 139 };
137 140
138 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 141 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/windows.html ('k') | chrome/test/data/extensions/api_test/window_update/show_state/hello.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698