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

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

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sorted headers in modified files Created 8 years, 6 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 ui::WindowShowState* show_state) const { 396 ui::WindowShowState* show_state) const {
397 // The interface specifies returning restored bounds, not current bounds. 397 // The interface specifies returning restored bounds, not current bounds.
398 *bounds = GetRestoredBounds(); 398 *bounds = GetRestoredBounds();
399 *show_state = window_->GetProperty(aura::client::kShowStateKey); 399 *show_state = window_->GetProperty(aura::client::kShowStateKey);
400 } 400 }
401 401
402 void NativeWidgetAura::SetWindowTitle(const string16& title) { 402 void NativeWidgetAura::SetWindowTitle(const string16& title) {
403 window_->set_title(title); 403 window_->set_title(title);
404 } 404 }
405 405
406 void NativeWidgetAura::SetWindowIcons(const SkBitmap& window_icon, 406 void NativeWidgetAura::SetWindowIcons(const gfx::ImageSkia& window_icon,
407 const SkBitmap& app_icon) { 407 const gfx::ImageSkia& app_icon) {
408 // Aura doesn't have window icons. 408 // Aura doesn't have window icons.
409 } 409 }
410 410
411 void NativeWidgetAura::SetAccessibleName(const string16& name) { 411 void NativeWidgetAura::SetAccessibleName(const string16& name) {
412 // http://crbug.com/102570 412 // http://crbug.com/102570
413 //NOTIMPLEMENTED(); 413 //NOTIMPLEMENTED();
414 } 414 }
415 415
416 void NativeWidgetAura::SetAccessibleRole(ui::AccessibilityTypes::Role role) { 416 void NativeWidgetAura::SetAccessibleRole(ui::AccessibilityTypes::Role role) {
417 // http://crbug.com/102570 417 // http://crbug.com/102570
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 } 980 }
981 } 981 }
982 982
983 // static 983 // static
984 bool NativeWidgetPrivate::IsMouseButtonDown() { 984 bool NativeWidgetPrivate::IsMouseButtonDown() {
985 return aura::Env::GetInstance()->is_mouse_button_down(); 985 return aura::Env::GetInstance()->is_mouse_button_down();
986 } 986 }
987 987
988 } // namespace internal 988 } // namespace internal
989 } // namespace views 989 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698