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

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

Issue 10392173: Flash window by pulsing their launcher icon state indicator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/animation/throb_animation.cc ('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/native_widget_aura.h" 5 #include "ui/views/widget/native_widget_aura.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "third_party/skia/include/core/SkRegion.h" 9 #include "third_party/skia/include/core/SkRegion.h"
10 #include "ui/aura/client/activation_client.h" 10 #include "ui/aura/client/activation_client.h"
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 596
597 void NativeWidgetAura::SetOpacity(unsigned char opacity) { 597 void NativeWidgetAura::SetOpacity(unsigned char opacity) {
598 window_->layer()->SetOpacity(opacity / 255.0); 598 window_->layer()->SetOpacity(opacity / 255.0);
599 } 599 }
600 600
601 void NativeWidgetAura::SetUseDragFrame(bool use_drag_frame) { 601 void NativeWidgetAura::SetUseDragFrame(bool use_drag_frame) {
602 NOTIMPLEMENTED(); 602 NOTIMPLEMENTED();
603 } 603 }
604 604
605 void NativeWidgetAura::FlashFrame(bool flash) { 605 void NativeWidgetAura::FlashFrame(bool flash) {
606 NOTIMPLEMENTED(); 606 window_->SetProperty(aura::client::kDrawAttentionKey, flash);
607 } 607 }
608 608
609 bool NativeWidgetAura::IsAccessibleWidget() const { 609 bool NativeWidgetAura::IsAccessibleWidget() const {
610 // http://crbug.com/102570 610 // http://crbug.com/102570
611 //NOTIMPLEMENTED(); 611 //NOTIMPLEMENTED();
612 return false; 612 return false;
613 } 613 }
614 614
615 void NativeWidgetAura::RunShellDrag(View* view, 615 void NativeWidgetAura::RunShellDrag(View* view,
616 const ui::OSExchangeData& data, 616 const ui::OSExchangeData& data,
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 } 971 }
972 } 972 }
973 973
974 // static 974 // static
975 bool NativeWidgetPrivate::IsMouseButtonDown() { 975 bool NativeWidgetPrivate::IsMouseButtonDown() {
976 return aura::Env::GetInstance()->is_mouse_button_down(); 976 return aura::Env::GetInstance()->is_mouse_button_down();
977 } 977 }
978 978
979 } // namespace internal 979 } // namespace internal
980 } // namespace views 980 } // namespace views
OLDNEW
« no previous file with comments | « ui/base/animation/throb_animation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698