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

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

Issue 550413002: Revert "Add AppWindow.setVisibleOnAllWorkspaces." (https://codereview.chromium.org/469993003) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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;
79 virtual bool CanHaveAlphaEnabled() const OVERRIDE; 78 virtual bool CanHaveAlphaEnabled() const OVERRIDE;
80 79
81 private: 80 private:
82 aura::Window* GetWindow() const; 81 aura::Window* GetWindow() const;
83 82
84 AppWindow* app_window_; 83 AppWindow* app_window_;
85 84
86 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); 85 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow);
87 }; 86 };
88 87
89 } // namespace extensions 88 } // namespace extensions
90 89
91 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 90 #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