Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: extensions/shell/browser/shell_native_app_window.cc

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_native_app_window.h ('k') | extensions/shell/browser/shell_native_app_window_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698