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

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

Issue 10534123: Revert 141723 - First pass at making Chrome support metro snap mode. It creates a fullscreen-alike … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.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 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void Maximize() OVERRIDE {} 55 virtual void Maximize() OVERRIDE {}
56 virtual void Minimize() OVERRIDE {} 56 virtual void Minimize() OVERRIDE {}
57 virtual void Restore() OVERRIDE {} 57 virtual void Restore() OVERRIDE {}
58 virtual void EnterFullscreen( 58 virtual void EnterFullscreen(
59 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} 59 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {}
60 virtual void ExitFullscreen() OVERRIDE {} 60 virtual void ExitFullscreen() OVERRIDE {}
61 virtual void UpdateFullscreenExitBubbleContent( 61 virtual void UpdateFullscreenExitBubbleContent(
62 const GURL& url, 62 const GURL& url,
63 FullscreenExitBubbleType bubble_type) OVERRIDE {} 63 FullscreenExitBubbleType bubble_type) OVERRIDE {}
64 virtual bool IsFullscreen() const OVERRIDE; 64 virtual bool IsFullscreen() const OVERRIDE;
65 #if defined(OS_WIN)
66 virtual void SetMetroSnapMode(bool enable) OVERRIDE {}
67 virtual bool IsInMetroSnapMode() const;
68 #endif
69 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 65 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
70 virtual LocationBar* GetLocationBar() const OVERRIDE; 66 virtual LocationBar* GetLocationBar() const OVERRIDE;
71 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} 67 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {}
72 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} 68 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {}
73 virtual void UpdateToolbar(TabContentsWrapper* contents, 69 virtual void UpdateToolbar(TabContentsWrapper* contents,
74 bool should_restore_state) OVERRIDE {} 70 bool should_restore_state) OVERRIDE {}
75 virtual void FocusToolbar() OVERRIDE {} 71 virtual void FocusToolbar() OVERRIDE {}
76 virtual void FocusAppMenu() OVERRIDE {} 72 virtual void FocusAppMenu() OVERRIDE {}
77 virtual void FocusBookmarksToolbar() OVERRIDE {} 73 virtual void FocusBookmarksToolbar() OVERRIDE {}
78 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} 74 virtual void RotatePaneFocus(bool forwards) OVERRIDE {}
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 protected: 144 protected:
149 virtual void DestroyBrowser() OVERRIDE {} 145 virtual void DestroyBrowser() OVERRIDE {}
150 146
151 private: 147 private:
152 TestLocationBar location_bar_; 148 TestLocationBar location_bar_;
153 149
154 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 150 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
155 }; 151 };
156 152
157 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 153 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698