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

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

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 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_
7 7
8 #include "extensions/browser/app_window/app_window.h" 8 #include "extensions/browser/app_window/app_window.h"
9 #include "extensions/browser/app_window/native_app_window.h" 9 #include "extensions/browser/app_window/native_app_window.h"
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual SkColor ActiveFrameColor() const OVERRIDE; 68 virtual SkColor ActiveFrameColor() const OVERRIDE;
69 virtual SkColor InactiveFrameColor() const OVERRIDE; 69 virtual SkColor InactiveFrameColor() const OVERRIDE;
70 virtual gfx::Insets GetFrameInsets() const OVERRIDE; 70 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
71 virtual void ShowWithApp() OVERRIDE; 71 virtual void ShowWithApp() OVERRIDE;
72 virtual void HideWithApp() OVERRIDE; 72 virtual void HideWithApp() OVERRIDE;
73 virtual void UpdateShelfMenu() OVERRIDE; 73 virtual void UpdateShelfMenu() OVERRIDE;
74 virtual gfx::Size GetContentMinimumSize() const OVERRIDE; 74 virtual gfx::Size GetContentMinimumSize() const OVERRIDE;
75 virtual gfx::Size GetContentMaximumSize() const OVERRIDE; 75 virtual gfx::Size GetContentMaximumSize() const OVERRIDE;
76 virtual void SetContentSizeConstraints(const gfx::Size& min_size, 76 virtual void SetContentSizeConstraints(const gfx::Size& min_size,
77 const gfx::Size& max_size) OVERRIDE; 77 const gfx::Size& max_size) OVERRIDE;
78 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE;
78 virtual bool CanHaveAlphaEnabled() const OVERRIDE; 79 virtual bool CanHaveAlphaEnabled() const OVERRIDE;
79 80
80 private: 81 private:
81 aura::Window* GetWindow() const; 82 aura::Window* GetWindow() const;
82 83
83 AppWindow* app_window_; 84 AppWindow* app_window_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); 86 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow);
86 }; 87 };
87 88
88 } // namespace extensions 89 } // namespace extensions
89 90
90 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 91 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_
OLDNEW
« no previous file with comments | « extensions/renderer/resources/app_window_custom_bindings.js ('k') | extensions/shell/browser/shell_native_app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698