OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "views/widget/native_widget_aura.h" |
| 6 |
| 7 namespace views { |
| 8 |
| 9 //////////////////////////////////////////////////////////////////////////////// |
| 10 // NativeWidgetAura, public: |
| 11 |
| 12 NativeWidgetAura::NativeWidgetAura(internal::NativeWidgetDelegate* delegate) { |
| 13 } |
| 14 |
| 15 NativeWidgetAura::~NativeWidgetAura() { |
| 16 } |
| 17 |
| 18 //////////////////////////////////////////////////////////////////////////////// |
| 19 // NativeWidgetAura, internal::NativeWidgetPrivate implementation: |
| 20 |
| 21 void NativeWidgetAura::InitNativeWidget(const Widget::InitParams& params) { |
| 22 } |
| 23 |
| 24 NonClientFrameView* NativeWidgetAura::CreateNonClientFrameView() { |
| 25 return NULL; |
| 26 } |
| 27 |
| 28 void NativeWidgetAura::UpdateFrameAfterFrameChange() { |
| 29 } |
| 30 |
| 31 bool NativeWidgetAura::ShouldUseNativeFrame() const { |
| 32 return false; |
| 33 } |
| 34 |
| 35 void NativeWidgetAura::FrameTypeChanged() { |
| 36 } |
| 37 |
| 38 Widget* NativeWidgetAura::GetWidget() { |
| 39 return NULL; |
| 40 } |
| 41 |
| 42 const Widget* NativeWidgetAura::GetWidget() const { |
| 43 return NULL; |
| 44 } |
| 45 |
| 46 gfx::NativeView NativeWidgetAura::GetNativeView() const { |
| 47 return NULL; |
| 48 } |
| 49 |
| 50 gfx::NativeWindow NativeWidgetAura::GetNativeWindow() const { |
| 51 return NULL; |
| 52 } |
| 53 |
| 54 Widget* NativeWidgetAura::GetTopLevelWidget() { |
| 55 NativeWidgetPrivate* native_widget = GetTopLevelNativeWidget(GetNativeView()); |
| 56 return native_widget ? native_widget->GetWidget() : NULL; |
| 57 } |
| 58 |
| 59 const ui::Compositor* NativeWidgetAura::GetCompositor() const { |
| 60 return NULL; |
| 61 } |
| 62 |
| 63 ui::Compositor* NativeWidgetAura::GetCompositor() { |
| 64 return NULL; |
| 65 } |
| 66 |
| 67 void NativeWidgetAura::MarkLayerDirty() { |
| 68 } |
| 69 |
| 70 void NativeWidgetAura::CalculateOffsetToAncestorWithLayer(gfx::Point* offset, |
| 71 View** ancestor) { |
| 72 } |
| 73 |
| 74 void NativeWidgetAura::ViewRemoved(View* view) { |
| 75 } |
| 76 |
| 77 void NativeWidgetAura::SetNativeWindowProperty(const char* name, void* value) { |
| 78 } |
| 79 |
| 80 void* NativeWidgetAura::GetNativeWindowProperty(const char* name) const { |
| 81 return NULL; |
| 82 } |
| 83 |
| 84 TooltipManager* NativeWidgetAura::GetTooltipManager() const { |
| 85 return NULL; |
| 86 } |
| 87 |
| 88 bool NativeWidgetAura::IsScreenReaderActive() const { |
| 89 return false; |
| 90 } |
| 91 |
| 92 void NativeWidgetAura::SendNativeAccessibilityEvent( |
| 93 View* view, |
| 94 ui::AccessibilityTypes::Event event_type) { |
| 95 } |
| 96 |
| 97 void NativeWidgetAura::SetMouseCapture() { |
| 98 } |
| 99 |
| 100 void NativeWidgetAura::ReleaseMouseCapture() { |
| 101 } |
| 102 |
| 103 bool NativeWidgetAura::HasMouseCapture() const { |
| 104 return false; |
| 105 } |
| 106 |
| 107 InputMethod* NativeWidgetAura::CreateInputMethod() { |
| 108 return NULL; |
| 109 } |
| 110 |
| 111 void NativeWidgetAura::CenterWindow(const gfx::Size& size) { |
| 112 } |
| 113 |
| 114 void NativeWidgetAura::GetWindowBoundsAndMaximizedState(gfx::Rect* bounds, |
| 115 bool* maximized) const { |
| 116 } |
| 117 |
| 118 void NativeWidgetAura::SetWindowTitle(const std::wstring& title) { |
| 119 } |
| 120 |
| 121 void NativeWidgetAura::SetWindowIcons(const SkBitmap& window_icon, |
| 122 const SkBitmap& app_icon) { |
| 123 } |
| 124 |
| 125 void NativeWidgetAura::SetAccessibleName(const std::wstring& name) { |
| 126 } |
| 127 |
| 128 void NativeWidgetAura::SetAccessibleRole(ui::AccessibilityTypes::Role role) { |
| 129 } |
| 130 |
| 131 void NativeWidgetAura::SetAccessibleState(ui::AccessibilityTypes::State state) { |
| 132 } |
| 133 |
| 134 void NativeWidgetAura::BecomeModal() { |
| 135 } |
| 136 |
| 137 gfx::Rect NativeWidgetAura::GetWindowScreenBounds() const { |
| 138 return gfx::Rect(); |
| 139 } |
| 140 |
| 141 gfx::Rect NativeWidgetAura::GetClientAreaScreenBounds() const { |
| 142 return gfx::Rect(); |
| 143 } |
| 144 |
| 145 gfx::Rect NativeWidgetAura::GetRestoredBounds() const { |
| 146 return gfx::Rect(); |
| 147 } |
| 148 |
| 149 void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) { |
| 150 } |
| 151 |
| 152 void NativeWidgetAura::SetSize(const gfx::Size& size) { |
| 153 } |
| 154 |
| 155 void NativeWidgetAura::SetBoundsConstrained(const gfx::Rect& bounds, |
| 156 Widget* other_widget) { |
| 157 } |
| 158 |
| 159 void NativeWidgetAura::MoveAbove(gfx::NativeView native_view) { |
| 160 } |
| 161 |
| 162 void NativeWidgetAura::MoveToTop() { |
| 163 NOTIMPLEMENTED(); |
| 164 } |
| 165 |
| 166 void NativeWidgetAura::SetShape(gfx::NativeRegion region) { |
| 167 } |
| 168 |
| 169 void NativeWidgetAura::Close() { |
| 170 } |
| 171 |
| 172 void NativeWidgetAura::CloseNow() { |
| 173 } |
| 174 |
| 175 void NativeWidgetAura::EnableClose(bool enable) { |
| 176 } |
| 177 |
| 178 void NativeWidgetAura::Show() { |
| 179 } |
| 180 |
| 181 void NativeWidgetAura::Hide() { |
| 182 } |
| 183 |
| 184 void NativeWidgetAura::ShowMaximizedWithBounds( |
| 185 const gfx::Rect& restored_bounds) { |
| 186 } |
| 187 |
| 188 void NativeWidgetAura::ShowWithState(ShowState state) { |
| 189 } |
| 190 |
| 191 bool NativeWidgetAura::IsVisible() const { |
| 192 return false; |
| 193 } |
| 194 |
| 195 void NativeWidgetAura::Activate() { |
| 196 } |
| 197 |
| 198 void NativeWidgetAura::Deactivate() { |
| 199 } |
| 200 |
| 201 bool NativeWidgetAura::IsActive() const { |
| 202 return false; |
| 203 } |
| 204 |
| 205 void NativeWidgetAura::SetAlwaysOnTop(bool on_top) { |
| 206 } |
| 207 |
| 208 void NativeWidgetAura::Maximize() { |
| 209 } |
| 210 |
| 211 void NativeWidgetAura::Minimize() { |
| 212 } |
| 213 |
| 214 bool NativeWidgetAura::IsMaximized() const { |
| 215 return false; |
| 216 } |
| 217 |
| 218 bool NativeWidgetAura::IsMinimized() const { |
| 219 return false; |
| 220 } |
| 221 |
| 222 void NativeWidgetAura::Restore() { |
| 223 } |
| 224 |
| 225 void NativeWidgetAura::SetFullscreen(bool fullscreen) { |
| 226 } |
| 227 |
| 228 bool NativeWidgetAura::IsFullscreen() const { |
| 229 return false; |
| 230 } |
| 231 |
| 232 void NativeWidgetAura::SetOpacity(unsigned char opacity) { |
| 233 } |
| 234 |
| 235 void NativeWidgetAura::SetUseDragFrame(bool use_drag_frame) { |
| 236 } |
| 237 |
| 238 bool NativeWidgetAura::IsAccessibleWidget() const { |
| 239 return false; |
| 240 } |
| 241 |
| 242 void NativeWidgetAura::RunShellDrag(View* view, |
| 243 const ui::OSExchangeData& data, |
| 244 int operation) { |
| 245 } |
| 246 |
| 247 void NativeWidgetAura::SchedulePaintInRect(const gfx::Rect& rect) { |
| 248 } |
| 249 |
| 250 void NativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { |
| 251 } |
| 252 |
| 253 void NativeWidgetAura::ClearNativeFocus() { |
| 254 } |
| 255 |
| 256 void NativeWidgetAura::FocusNativeView(gfx::NativeView native_view) { |
| 257 } |
| 258 |
| 259 bool NativeWidgetAura::ConvertPointFromAncestor(const Widget* ancestor, |
| 260 gfx::Point* point) const { |
| 261 NOTREACHED(); |
| 262 return false; |
| 263 } |
| 264 |
| 265 void NativeWidgetAura::DispatchKeyEventPostIME(const KeyEvent& key) { |
| 266 } |
| 267 |
| 268 } // namespace views |
OLD | NEW |