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

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

Issue 9359022: Aura: Support hovering restore & close buttons for full screen apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove resources, as they've already been committed Created 8 years, 10 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
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 218 }
219 219
220 aura::client::SetActivationDelegate(window_, this); 220 aura::client::SetActivationDelegate(window_, this);
221 } 221 }
222 222
223 NonClientFrameView* NativeWidgetAura::CreateNonClientFrameView() { 223 NonClientFrameView* NativeWidgetAura::CreateNonClientFrameView() {
224 return NULL; 224 return NULL;
225 } 225 }
226 226
227 void NativeWidgetAura::UpdateFrameAfterFrameChange() { 227 void NativeWidgetAura::UpdateFrameAfterFrameChange() {
228 // We don't support changing the frame type.
229 NOTREACHED();
230 } 228 }
231 229
232 bool NativeWidgetAura::ShouldUseNativeFrame() const { 230 bool NativeWidgetAura::ShouldUseNativeFrame() const {
233 // There is only one frame type for aura. 231 // There is only one frame type for aura.
234 return false; 232 return false;
235 } 233 }
236 234
237 void NativeWidgetAura::FrameTypeChanged() { 235 void NativeWidgetAura::FrameTypeChanged() {
238 // This is called when the Theme has changed; forward the event to the root 236 // This is called when the Theme has changed; forward the event to the root
239 // widget. 237 // widget.
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 } 897 }
900 } 898 }
901 899
902 // static 900 // static
903 bool NativeWidgetPrivate::IsMouseButtonDown() { 901 bool NativeWidgetPrivate::IsMouseButtonDown() {
904 return aura::RootWindow::GetInstance()->IsMouseButtonDown(); 902 return aura::RootWindow::GetInstance()->IsMouseButtonDown();
905 } 903 }
906 904
907 } // namespace internal 905 } // namespace internal
908 } // namespace views 906 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698