| Index: ash/aura/wm_window_aura.cc
|
| diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
|
| index ac850aa00ca98e1860816e4af413187743622985..f43120accd6dc502a3cb412b27d7e8b8e2f604cd 100644
|
| --- a/ash/aura/wm_window_aura.cc
|
| +++ b/ash/aura/wm_window_aura.cc
|
| @@ -292,9 +292,6 @@
|
|
|
| bool WmWindowAura::GetBoolProperty(WmWindowProperty key) {
|
| switch (key) {
|
| - case WmWindowProperty::DRAW_ATTENTION:
|
| - return window_->GetProperty(aura::client::kDrawAttentionKey);
|
| -
|
| case WmWindowProperty::SNAP_CHILDREN_TO_PIXEL_BOUNDARY:
|
| return window_->GetProperty(kSnapChildrenToPixelBoundary);
|
|
|
| @@ -370,36 +367,6 @@
|
| NOTREACHED();
|
| }
|
|
|
| -std::string WmWindowAura::GetStringProperty(WmWindowProperty key) {
|
| - if (key == WmWindowProperty::APP_ID) {
|
| - std::string* value = window_->GetProperty(aura::client::kAppIdKey);
|
| - return value ? *value : std::string();
|
| - }
|
| -
|
| - NOTREACHED();
|
| - return std::string();
|
| -}
|
| -
|
| -void WmWindowAura::SetStringProperty(WmWindowProperty key,
|
| - const std::string& value) {
|
| - if (key == WmWindowProperty::APP_ID) {
|
| - window_->SetProperty(aura::client::kAppIdKey, new std::string(value));
|
| - return;
|
| - }
|
| -
|
| - NOTREACHED();
|
| -}
|
| -
|
| -gfx::ImageSkia WmWindowAura::GetWindowIcon() {
|
| - gfx::ImageSkia* image = window_->GetProperty(aura::client::kWindowIconKey);
|
| - return image ? *image : gfx::ImageSkia();
|
| -}
|
| -
|
| -gfx::ImageSkia WmWindowAura::GetAppIcon() {
|
| - gfx::ImageSkia* image = window_->GetProperty(aura::client::kAppIconKey);
|
| - return image ? *image : gfx::ImageSkia();
|
| -}
|
| -
|
| const wm::WindowState* WmWindowAura::GetWindowState() const {
|
| return ash::wm::GetWindowState(window_);
|
| }
|
| @@ -436,10 +403,6 @@
|
|
|
| std::vector<WmWindow*> WmWindowAura::GetTransientChildren() {
|
| return FromAuraWindows(::wm::GetTransientChildren(window_));
|
| -}
|
| -
|
| -bool WmWindowAura::MoveToEventRoot(const ui::Event& event) {
|
| - return ash::wm::MoveWindowToEventRoot(window_, event);
|
| }
|
|
|
| void WmWindowAura::SetLayoutManager(
|
| @@ -876,10 +839,6 @@
|
| WmWindowProperty wm_property;
|
| if (key == aura::client::kAlwaysOnTopKey) {
|
| wm_property = WmWindowProperty::ALWAYS_ON_TOP;
|
| - } else if (key == aura::client::kAppIconKey) {
|
| - wm_property = WmWindowProperty::APP_ICON;
|
| - } else if (key == aura::client::kDrawAttentionKey) {
|
| - wm_property = WmWindowProperty::DRAW_ATTENTION;
|
| } else if (key == aura::client::kExcludeFromMruKey) {
|
| wm_property = WmWindowProperty::EXCLUDE_FROM_MRU;
|
| } else if (key == aura::client::kModalKey) {
|
| @@ -894,8 +853,6 @@
|
| wm_property = WmWindowProperty::SNAP_CHILDREN_TO_PIXEL_BOUNDARY;
|
| } else if (key == aura::client::kTopViewInset) {
|
| wm_property = WmWindowProperty::TOP_VIEW_INSET;
|
| - } else if (key == aura::client::kWindowIconKey) {
|
| - wm_property = WmWindowProperty::WINDOW_ICON;
|
| } else {
|
| return;
|
| }
|
|
|