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

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

Issue 10446106: Preliminary metro snap plumbing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Aura compile fixes. 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
« 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
55 bool TestBrowserWindow::IsFullscreenBubbleVisible() const { 61 bool TestBrowserWindow::IsFullscreenBubbleVisible() const {
56 return false; 62 return false;
57 } 63 }
58 64
59 LocationBar* TestBrowserWindow::GetLocationBar() const { 65 LocationBar* TestBrowserWindow::GetLocationBar() const {
60 return const_cast<TestLocationBar*>(&location_bar_); 66 return const_cast<TestLocationBar*>(&location_bar_);
61 } 67 }
62 68
63 bool TestBrowserWindow::PreHandleKeyboardEvent( 69 bool TestBrowserWindow::PreHandleKeyboardEvent(
64 const NativeWebKeyboardEvent& event, 70 const NativeWebKeyboardEvent& event,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 123 }
118 124
119 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( 125 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds(
120 const gfx::Rect& bounds) { 126 const gfx::Rect& bounds) {
121 return NEW_POPUP; 127 return NEW_POPUP;
122 } 128 }
123 129
124 FindBar* TestBrowserWindow::CreateFindBar() { 130 FindBar* TestBrowserWindow::CreateFindBar() {
125 return NULL; 131 return NULL;
126 } 132 }
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