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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/browser/ui/views/frame/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 } 1013 }
1014 1014
1015 bool BrowserView::IsFullscreen() const { 1015 bool BrowserView::IsFullscreen() const {
1016 return frame_->IsFullscreen(); 1016 return frame_->IsFullscreen();
1017 } 1017 }
1018 1018
1019 bool BrowserView::IsFullscreenBubbleVisible() const { 1019 bool BrowserView::IsFullscreenBubbleVisible() const {
1020 return exclusive_access_bubble_ != nullptr; 1020 return exclusive_access_bubble_ != nullptr;
1021 } 1021 }
1022 1022
1023 bool BrowserView::SupportsFullscreenWithToolbar() const {
1024 return false;
1025 }
1026
1027 void BrowserView::UpdateFullscreenWithToolbar(bool with_toolbar) { 1023 void BrowserView::UpdateFullscreenWithToolbar(bool with_toolbar) {
1028 // This is currently a Mac only feature. 1024 // This is currently a Mac only feature.
1029 NOTIMPLEMENTED(); 1025 NOTIMPLEMENTED();
1030 } 1026 }
1031 1027
1032 bool BrowserView::IsFullscreenWithToolbar() const { 1028 bool BrowserView::IsFullscreenWithToolbar() const {
1033 return false; 1029 return false;
1034 } 1030 }
1035 1031
1036 #if defined(OS_WIN) 1032 #if defined(OS_WIN)
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
2630 return immersive_mode_controller()->IsEnabled(); 2626 return immersive_mode_controller()->IsEnabled();
2631 } 2627 }
2632 2628
2633 views::Widget* BrowserView::GetBubbleAssociatedWidget() { 2629 views::Widget* BrowserView::GetBubbleAssociatedWidget() {
2634 return GetWidget(); 2630 return GetWidget();
2635 } 2631 }
2636 2632
2637 gfx::Rect BrowserView::GetTopContainerBoundsInScreen() { 2633 gfx::Rect BrowserView::GetTopContainerBoundsInScreen() {
2638 return top_container_->GetBoundsInScreen(); 2634 return top_container_->GetBoundsInScreen();
2639 } 2635 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698