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

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

Issue 1737413002: Modified the behavior of "Hide Toolbar in Full Screen" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feb -> March Created 4 years, 9 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
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 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 // This file provides default implementations for the ExclusiveAccessContext 10 // This file provides default implementations for the ExclusiveAccessContext
11 // methods that only some platforms care about. 11 // methods that only some platforms care about.
12 12
13 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const { 13 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const {
14 return false; 14 return false;
15 } 15 }
16 16
17 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) { 17 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) {
18 NOTIMPLEMENTED(); 18 NOTIMPLEMENTED();
19 } 19 }
20 20
21 void ExclusiveAccessContext::ToggleFullscreenToolbar() { 21 void ExclusiveAccessContext::UpdateFullscreenToolbar() {
22 NOTIMPLEMENTED(); 22 NOTIMPLEMENTED();
23 } 23 }
24 24
25 bool ExclusiveAccessContext::IsFullscreenWithToolbar() const { 25 bool ExclusiveAccessContext::IsFullscreenWithToolbar() const {
26 return false; 26 return false;
27 } 27 }
28 28
29 #if defined(OS_WIN) 29 #if defined(OS_WIN)
30 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) { 30 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) {
31 NOTIMPLEMENTED(); 31 NOTIMPLEMENTED();
32 } 32 }
33 33
34 bool ExclusiveAccessContext::IsInMetroSnapMode() const { 34 bool ExclusiveAccessContext::IsInMetroSnapMode() const {
35 return false; 35 return false;
36 } 36 }
37 #endif // defined(OS_WIN) 37 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/browser/ui/exclusive_access/exclusive_access_context.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698