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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void ShellNativeAppWindow::UpdateDraggableRegions( | 125 void ShellNativeAppWindow::UpdateDraggableRegions( |
126 const std::vector<DraggableRegion>& regions) { | 126 const std::vector<DraggableRegion>& regions) { |
127 NOTIMPLEMENTED(); | 127 NOTIMPLEMENTED(); |
128 } | 128 } |
129 | 129 |
130 SkRegion* ShellNativeAppWindow::GetDraggableRegion() { | 130 SkRegion* ShellNativeAppWindow::GetDraggableRegion() { |
131 NOTIMPLEMENTED(); | 131 NOTIMPLEMENTED(); |
132 return NULL; | 132 return NULL; |
133 } | 133 } |
134 | 134 |
135 void ShellNativeAppWindow::UpdateShape(scoped_ptr<SkRegion> region) { | 135 void ShellNativeAppWindow::UpdateShape(std::unique_ptr<SkRegion> region) { |
136 NOTIMPLEMENTED(); | 136 NOTIMPLEMENTED(); |
137 } | 137 } |
138 | 138 |
139 void ShellNativeAppWindow::HandleKeyboardEvent( | 139 void ShellNativeAppWindow::HandleKeyboardEvent( |
140 const content::NativeWebKeyboardEvent& event) { | 140 const content::NativeWebKeyboardEvent& event) { |
141 // No special handling. The WebContents will handle it. | 141 // No special handling. The WebContents will handle it. |
142 } | 142 } |
143 | 143 |
144 bool ShellNativeAppWindow::IsFrameless() const { | 144 bool ShellNativeAppWindow::IsFrameless() const { |
145 NOTIMPLEMENTED(); | 145 NOTIMPLEMENTED(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) { | 189 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) { |
190 NOTIMPLEMENTED(); | 190 NOTIMPLEMENTED(); |
191 } | 191 } |
192 | 192 |
193 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const { | 193 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const { |
194 // No background to display if the window was transparent. | 194 // No background to display if the window was transparent. |
195 return false; | 195 return false; |
196 } | 196 } |
197 | 197 |
198 } // namespace extensions | 198 } // namespace extensions |
OLD | NEW |