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

Side by Side Diff: ui/views/widget/native_widget_mac.mm

Issue 1056793006: [Docking] Persists docked state on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Docking] Makes docked state persistent on Chrome OS (comments) Created 5 years, 7 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/base/ui_base_types.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/native_widget_mac.h" 5 #include "ui/views/widget/native_widget_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/mac/foundation_util.h" 9 #include "base/mac/foundation_util.h"
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 return; 338 return;
339 339
340 switch (state) { 340 switch (state) {
341 case ui::SHOW_STATE_DEFAULT: 341 case ui::SHOW_STATE_DEFAULT:
342 case ui::SHOW_STATE_NORMAL: 342 case ui::SHOW_STATE_NORMAL:
343 case ui::SHOW_STATE_INACTIVE: 343 case ui::SHOW_STATE_INACTIVE:
344 break; 344 break;
345 case ui::SHOW_STATE_MINIMIZED: 345 case ui::SHOW_STATE_MINIMIZED:
346 case ui::SHOW_STATE_MAXIMIZED: 346 case ui::SHOW_STATE_MAXIMIZED:
347 case ui::SHOW_STATE_FULLSCREEN: 347 case ui::SHOW_STATE_FULLSCREEN:
348 case ui::SHOW_STATE_DOCKED:
348 NOTIMPLEMENTED(); 349 NOTIMPLEMENTED();
349 break; 350 break;
350 case ui::SHOW_STATE_END: 351 case ui::SHOW_STATE_END:
351 NOTREACHED(); 352 NOTREACHED();
352 break; 353 break;
353 } 354 }
354 bridge_->SetVisibilityState(state == ui::SHOW_STATE_INACTIVE 355 bridge_->SetVisibilityState(state == ui::SHOW_STATE_INACTIVE
355 ? BridgedNativeWidget::SHOW_INACTIVE 356 ? BridgedNativeWidget::SHOW_INACTIVE
356 : BridgedNativeWidget::SHOW_AND_ACTIVATE_WINDOW); 357 : BridgedNativeWidget::SHOW_AND_ACTIVATE_WINDOW);
357 } 358 }
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 } 633 }
633 634
634 // static 635 // static
635 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { 636 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() {
636 NOTIMPLEMENTED(); 637 NOTIMPLEMENTED();
637 return gfx::FontList(); 638 return gfx::FontList();
638 } 639 }
639 640
640 } // namespace internal 641 } // namespace internal
641 } // namespace views 642 } // namespace views
OLDNEW
« no previous file with comments | « ui/base/ui_base_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698