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

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

Issue 8340014: Minimize resize calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "views/widget/native_widget_aura.h" 5 #include "views/widget/native_widget_aura.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "ui/aura/desktop.h" 8 #include "ui/aura/desktop.h"
9 #include "ui/aura/event.h" 9 #include "ui/aura/event.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 259
260 void NativeWidgetAura::BecomeModal() { 260 void NativeWidgetAura::BecomeModal() {
261 NOTIMPLEMENTED(); 261 NOTIMPLEMENTED();
262 } 262 }
263 263
264 gfx::Rect NativeWidgetAura::GetWindowScreenBounds() const { 264 gfx::Rect NativeWidgetAura::GetWindowScreenBounds() const {
265 return window_->GetScreenBounds(); 265 return window_->GetScreenBounds();
266 } 266 }
267 267
268 gfx::Rect NativeWidgetAura::GetClientAreaScreenBounds() const { 268 gfx::Rect NativeWidgetAura::GetClientAreaScreenBounds() const {
269 // TODO(beng):
270 NOTIMPLEMENTED();
271 return window_->GetScreenBounds(); 269 return window_->GetScreenBounds();
272 } 270 }
273 271
274 gfx::Rect NativeWidgetAura::GetRestoredBounds() const { 272 gfx::Rect NativeWidgetAura::GetRestoredBounds() const {
275 // TODO(beng): 273 // TODO(beng):
276 NOTIMPLEMENTED(); 274 NOTIMPLEMENTED();
277 return window_->bounds(); 275 return window_->bounds();
278 } 276 }
279 277
280 void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) { 278 void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) {
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 } 645 }
648 646
649 // static 647 // static
650 bool NativeWidgetPrivate::IsMouseButtonDown() { 648 bool NativeWidgetPrivate::IsMouseButtonDown() {
651 NOTIMPLEMENTED(); 649 NOTIMPLEMENTED();
652 return false; 650 return false;
653 } 651 }
654 652
655 } // namespace internal 653 } // namespace internal
656 } // namespace views 654 } // namespace views
OLDNEW
« views/controls/native/native_view_host.cc ('K') | « views/controls/native/native_view_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698