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

Side by Side Diff: chrome/browser/ui/exclusive_access/exclusive_access_context.cc

Issue 1414033009: Implement a Menu Item to Hide the Toolbar in Fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide menu item on 10.6 Created 5 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/browser/ui/exclusive_access/exclusive_access_context.h" 5 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const {
10 return false;
11 }
12
13 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) { 9 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) {
14 NOTIMPLEMENTED(); 10 NOTIMPLEMENTED();
15 } 11 }
16 12
13 void ExclusiveAccessContext::ToggleFullscreenToolbar() {
14 NOTIMPLEMENTED();
15 }
16
17 #if defined(OS_WIN) 17 #if defined(OS_WIN)
18 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) { 18 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) {
19 NOTIMPLEMENTED(); 19 NOTIMPLEMENTED();
20 } 20 }
21 21
22 bool ExclusiveAccessContext::IsInMetroSnapMode() const { 22 bool ExclusiveAccessContext::IsInMetroSnapMode() const {
23 return false; 23 return false;
24 } 24 }
25 #endif // defined(OS_WIN) 25 #endif // defined(OS_WIN)
26 26
27 void ExclusiveAccessContext::UnhideDownloadShelf() { 27 void ExclusiveAccessContext::UnhideDownloadShelf() {
28 // NOOP implementation. 28 // NOOP implementation.
29 } 29 }
30 30
31 void ExclusiveAccessContext::HideDownloadShelf() { 31 void ExclusiveAccessContext::HideDownloadShelf() {
32 // NOOP implementation. 32 // NOOP implementation.
33 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698