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

Side by Side Diff: ui/views/widget/widget.cc

Issue 2158653002: Linux UI: Add IsVisibleOnAllWorkspaces() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more mac impls Created 4 years, 5 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 | « ui/views/widget/widget.h ('k') | no next file » | 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 "ui/views/widget/widget.h" 5 #include "ui/views/widget/widget.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 } 659 }
660 660
661 bool Widget::IsAlwaysOnTop() const { 661 bool Widget::IsAlwaysOnTop() const {
662 return native_widget_->IsAlwaysOnTop(); 662 return native_widget_->IsAlwaysOnTop();
663 } 663 }
664 664
665 void Widget::SetVisibleOnAllWorkspaces(bool always_visible) { 665 void Widget::SetVisibleOnAllWorkspaces(bool always_visible) {
666 native_widget_->SetVisibleOnAllWorkspaces(always_visible); 666 native_widget_->SetVisibleOnAllWorkspaces(always_visible);
667 } 667 }
668 668
669 bool Widget::IsVisibleOnAllWorkspaces() const {
670 return native_widget_->IsVisibleOnAllWorkspaces();
671 }
672
669 void Widget::Maximize() { 673 void Widget::Maximize() {
670 native_widget_->Maximize(); 674 native_widget_->Maximize();
671 } 675 }
672 676
673 void Widget::Minimize() { 677 void Widget::Minimize() {
674 native_widget_->Minimize(); 678 native_widget_->Minimize();
675 } 679 }
676 680
677 void Widget::Restore() { 681 void Widget::Restore() {
678 native_widget_->Restore(); 682 native_widget_->Restore();
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 1491
1488 //////////////////////////////////////////////////////////////////////////////// 1492 ////////////////////////////////////////////////////////////////////////////////
1489 // internal::NativeWidgetPrivate, NativeWidget implementation: 1493 // internal::NativeWidgetPrivate, NativeWidget implementation:
1490 1494
1491 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { 1495 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() {
1492 return this; 1496 return this;
1493 } 1497 }
1494 1498
1495 } // namespace internal 1499 } // namespace internal
1496 } // namespace views 1500 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698