| OLD | NEW |
| 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/window/native_window_views.h" | 5 #include "views/window/native_window_views.h" |
| 6 | 6 |
| 7 #include "views/view.h" | 7 #include "views/view.h" |
| 8 | 8 |
| 9 namespace views { | 9 namespace views { |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ui::AccessibilityTypes::State state) { | 85 ui::AccessibilityTypes::State state) { |
| 86 } | 86 } |
| 87 | 87 |
| 88 void NativeWindowViews::SetWindowBounds(const gfx::Rect& bounds, | 88 void NativeWindowViews::SetWindowBounds(const gfx::Rect& bounds, |
| 89 gfx::NativeWindow other_window) { | 89 gfx::NativeWindow other_window) { |
| 90 if (other_window) | 90 if (other_window) |
| 91 NOTIMPLEMENTED(); | 91 NOTIMPLEMENTED(); |
| 92 GetView()->SetBoundsRect(bounds); | 92 GetView()->SetBoundsRect(bounds); |
| 93 } | 93 } |
| 94 | 94 |
| 95 void NativeWindowViews::HideWindow() { |
| 96 GetView()->SetVisible(false); |
| 97 } |
| 98 |
| 99 void NativeWindowViews::Activate() { |
| 100 NOTIMPLEMENTED(); |
| 101 } |
| 102 |
| 103 void NativeWindowViews::Deactivate() { |
| 104 NOTIMPLEMENTED(); |
| 105 } |
| 106 |
| 107 void NativeWindowViews::Maximize() { |
| 108 NOTIMPLEMENTED(); |
| 109 } |
| 110 |
| 111 void NativeWindowViews::Minimize() { |
| 112 NOTIMPLEMENTED(); |
| 113 } |
| 114 |
| 115 void NativeWindowViews::Restore() { |
| 116 NOTIMPLEMENTED(); |
| 117 } |
| 118 |
| 119 bool NativeWindowViews::IsActive() const { |
| 120 return NativeWidgetViews::IsActive(); |
| 121 } |
| 122 |
| 123 bool NativeWindowViews::IsVisible() const { |
| 124 return GetView()->IsVisible(); |
| 125 } |
| 126 |
| 127 bool NativeWindowViews::IsMaximized() const { |
| 128 NOTIMPLEMENTED(); |
| 129 return false; |
| 130 } |
| 131 |
| 132 bool NativeWindowViews::IsMinimized() const { |
| 133 NOTIMPLEMENTED(); |
| 134 return false; |
| 135 } |
| 136 |
| 95 void NativeWindowViews::SetFullscreen(bool fullscreen) { | 137 void NativeWindowViews::SetFullscreen(bool fullscreen) { |
| 96 } | 138 } |
| 97 | 139 |
| 98 bool NativeWindowViews::IsFullscreen() const { | 140 bool NativeWindowViews::IsFullscreen() const { |
| 99 NOTIMPLEMENTED(); | 141 NOTIMPLEMENTED(); |
| 100 return false; | 142 return false; |
| 101 } | 143 } |
| 102 | 144 |
| 145 void NativeWindowViews::SetAlwaysOnTop(bool always_on_top) { |
| 146 } |
| 147 |
| 103 void NativeWindowViews::SetUseDragFrame(bool use_drag_frame) { | 148 void NativeWindowViews::SetUseDragFrame(bool use_drag_frame) { |
| 104 } | 149 } |
| 105 | 150 |
| 106 NonClientFrameView* NativeWindowViews::CreateFrameViewForWindow() { | 151 NonClientFrameView* NativeWindowViews::CreateFrameViewForWindow() { |
| 107 return NULL; | 152 return NULL; |
| 108 } | 153 } |
| 109 | 154 |
| 110 void NativeWindowViews::UpdateFrameAfterFrameChange() { | 155 void NativeWindowViews::UpdateFrameAfterFrameChange() { |
| 111 } | 156 } |
| 112 | 157 |
| 158 gfx::NativeWindow NativeWindowViews::GetNativeWindow() const { |
| 159 return NULL; |
| 160 } |
| 161 |
| 113 bool NativeWindowViews::ShouldUseNativeFrame() const { | 162 bool NativeWindowViews::ShouldUseNativeFrame() const { |
| 114 NOTIMPLEMENTED(); | 163 NOTIMPLEMENTED(); |
| 115 return false; | 164 return false; |
| 116 } | 165 } |
| 117 | 166 |
| 118 void NativeWindowViews::FrameTypeChanged() { | 167 void NativeWindowViews::FrameTypeChanged() { |
| 119 } | 168 } |
| 120 | 169 |
| 121 } // namespace views | 170 } // namespace views |
| OLD | NEW |