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

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

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/test/base/test_browser_window.h ('k') | ui/views/widget/native_widget_win.h » ('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 #include "chrome/test/base/test_browser_window.h" 5 #include "chrome/test/base/test_browser_window.h"
6 6
7 #include "ui/gfx/rect.h" 7 #include "ui/gfx/rect.h"
8 8
9 using content::NativeWebKeyboardEvent; 9 using content::NativeWebKeyboardEvent;
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 bool TestBrowserWindow::IsMinimized() const { 47 bool TestBrowserWindow::IsMinimized() const {
48 return false; 48 return false;
49 } 49 }
50 50
51 bool TestBrowserWindow::IsFullscreen() const { 51 bool TestBrowserWindow::IsFullscreen() const {
52 return false; 52 return false;
53 } 53 }
54 54
55 #if defined(OS_WIN)
56 bool TestBrowserWindow::IsInMetroSnapMode() const {
57 return false;
58 }
59 #endif
60
61 bool TestBrowserWindow::IsFullscreenBubbleVisible() const { 55 bool TestBrowserWindow::IsFullscreenBubbleVisible() const {
62 return false; 56 return false;
63 } 57 }
64 58
65 LocationBar* TestBrowserWindow::GetLocationBar() const { 59 LocationBar* TestBrowserWindow::GetLocationBar() const {
66 return const_cast<TestLocationBar*>(&location_bar_); 60 return const_cast<TestLocationBar*>(&location_bar_);
67 } 61 }
68 62
69 bool TestBrowserWindow::PreHandleKeyboardEvent( 63 bool TestBrowserWindow::PreHandleKeyboardEvent(
70 const NativeWebKeyboardEvent& event, 64 const NativeWebKeyboardEvent& event,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 117 }
124 118
125 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( 119 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds(
126 const gfx::Rect& bounds) { 120 const gfx::Rect& bounds) {
127 return NEW_POPUP; 121 return NEW_POPUP;
128 } 122 }
129 123
130 FindBar* TestBrowserWindow::CreateFindBar() { 124 FindBar* TestBrowserWindow::CreateFindBar() {
131 return NULL; 125 return NULL;
132 } 126 }
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698