| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/shell/browser/shell_native_app_window.h" | 5 #include "extensions/shell/browser/shell_native_app_window.h" |
| 6 | 6 |
| 7 #include "extensions/shell/browser/desktop_controller.h" | 7 #include "extensions/shell/browser/desktop_controller.h" |
| 8 #include "third_party/skia/include/core/SkRegion.h" | 8 #include "third_party/skia/include/core/SkRegion.h" |
| 9 #include "ui/gfx/geometry/insets.h" | 9 #include "ui/gfx/geometry/insets.h" |
| 10 #include "ui/gfx/geometry/point.h" | 10 #include "ui/gfx/geometry/point.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 SkRegion* ShellNativeAppWindow::GetDraggableRegion() { | 134 SkRegion* ShellNativeAppWindow::GetDraggableRegion() { |
| 135 NOTIMPLEMENTED(); | 135 NOTIMPLEMENTED(); |
| 136 return NULL; | 136 return NULL; |
| 137 } | 137 } |
| 138 | 138 |
| 139 void ShellNativeAppWindow::UpdateShape(scoped_ptr<SkRegion> region) { | 139 void ShellNativeAppWindow::UpdateShape(scoped_ptr<SkRegion> region) { |
| 140 NOTIMPLEMENTED(); | 140 NOTIMPLEMENTED(); |
| 141 } | 141 } |
| 142 | 142 |
| 143 void ShellNativeAppWindow::SetInterceptAllKeys(bool want_all_keys) { |
| 144 NOTIMPLEMENTED(); |
| 145 } |
| 146 |
| 143 void ShellNativeAppWindow::HandleKeyboardEvent( | 147 void ShellNativeAppWindow::HandleKeyboardEvent( |
| 144 const content::NativeWebKeyboardEvent& event) { | 148 const content::NativeWebKeyboardEvent& event) { |
| 145 // No special handling. The WebContents will handle it. | 149 // No special handling. The WebContents will handle it. |
| 146 } | 150 } |
| 147 | 151 |
| 148 bool ShellNativeAppWindow::IsFrameless() const { | 152 bool ShellNativeAppWindow::IsFrameless() const { |
| 149 NOTIMPLEMENTED(); | 153 NOTIMPLEMENTED(); |
| 150 return false; | 154 return false; |
| 151 } | 155 } |
| 152 | 156 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) { | 201 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) { |
| 198 NOTIMPLEMENTED(); | 202 NOTIMPLEMENTED(); |
| 199 } | 203 } |
| 200 | 204 |
| 201 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const { | 205 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const { |
| 202 // No background to display if the window was transparent. | 206 // No background to display if the window was transparent. |
| 203 return false; | 207 return false; |
| 204 } | 208 } |
| 205 | 209 |
| 206 } // namespace extensions | 210 } // namespace extensions |
| OLD | NEW |