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

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: Fix browser_test Created 8 years, 9 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/resources/ui_resources.grd ('k') | ui/views/window/non_client_view.cc » ('j') | 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 aura::client::SetActivationDelegate(window_, this); 237 aura::client::SetActivationDelegate(window_, this);
238 } 238 }
239 239
240 NonClientFrameView* NativeWidgetAura::CreateNonClientFrameView() { 240 NonClientFrameView* NativeWidgetAura::CreateNonClientFrameView() {
241 return NULL; 241 return NULL;
242 } 242 }
243 243
244 void NativeWidgetAura::UpdateFrameAfterFrameChange() { 244 void NativeWidgetAura::UpdateFrameAfterFrameChange() {
245 // We don't support changing the frame type.
246 NOTREACHED();
247 } 245 }
248 246
249 bool NativeWidgetAura::ShouldUseNativeFrame() const { 247 bool NativeWidgetAura::ShouldUseNativeFrame() const {
250 // There is only one frame type for aura. 248 // There is only one frame type for aura.
251 return false; 249 return false;
252 } 250 }
253 251
254 void NativeWidgetAura::FrameTypeChanged() { 252 void NativeWidgetAura::FrameTypeChanged() {
255 // This is called when the Theme has changed; forward the event to the root 253 // This is called when the Theme has changed; forward the event to the root
256 // widget. 254 // widget.
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 } 946 }
949 } 947 }
950 948
951 // static 949 // static
952 bool NativeWidgetPrivate::IsMouseButtonDown() { 950 bool NativeWidgetPrivate::IsMouseButtonDown() {
953 return aura::RootWindow::GetInstance()->IsMouseButtonDown(); 951 return aura::RootWindow::GetInstance()->IsMouseButtonDown();
954 } 952 }
955 953
956 } // namespace internal 954 } // namespace internal
957 } // namespace views 955 } // namespace views
OLDNEW
« no previous file with comments | « ui/resources/ui_resources.grd ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698