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

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

Issue 469993003: Add AppWindow.setVisibleOnAllWorkspaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize AppWindow::CreateParams::visible_on_all_workspaces. Created 6 years, 3 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 | Annotate | Revision Log
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 "content/public/browser/web_contents.h" 7 #include "content/public/browser/web_contents.h"
8 #include "ui/aura/window.h" 8 #include "ui/aura/window.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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 NOTIMPLEMENTED(); 231 NOTIMPLEMENTED();
232 return gfx::Size(); 232 return gfx::Size();
233 } 233 }
234 234
235 void ShellNativeAppWindow::SetContentSizeConstraints( 235 void ShellNativeAppWindow::SetContentSizeConstraints(
236 const gfx::Size& min_size, 236 const gfx::Size& min_size,
237 const gfx::Size& max_size) { 237 const gfx::Size& max_size) {
238 NOTIMPLEMENTED(); 238 NOTIMPLEMENTED();
239 } 239 }
240 240
241 void ShellNativeAppWindow::SetVisibleOnAllWorkspaces(bool always_visible) {
242 NOTIMPLEMENTED();
243 }
244
241 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const { 245 bool ShellNativeAppWindow::CanHaveAlphaEnabled() const {
242 NOTIMPLEMENTED(); 246 NOTIMPLEMENTED();
243 return false; 247 return false;
244 } 248 }
245 249
246 aura::Window* ShellNativeAppWindow::GetWindow() const { 250 aura::Window* ShellNativeAppWindow::GetWindow() const {
247 return app_window_->web_contents()->GetNativeView(); 251 return app_window_->web_contents()->GetNativeView();
248 } 252 }
249 253
250 } // namespace extensions 254 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_native_app_window.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698