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

Side by Side Diff: apps/ui/views/native_app_window_views.h

Issue 469993003: Add AppWindow.setVisibleOnAllWorkspaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 4 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 APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 5 #ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
7 7
8 #include "apps/ui/native_app_window.h" 8 #include "apps/ui/native_app_window.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual SkColor InactiveFrameColor() const OVERRIDE; 153 virtual SkColor InactiveFrameColor() const OVERRIDE;
154 virtual gfx::Insets GetFrameInsets() const OVERRIDE; 154 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
155 virtual void HideWithApp() OVERRIDE; 155 virtual void HideWithApp() OVERRIDE;
156 virtual void ShowWithApp() OVERRIDE; 156 virtual void ShowWithApp() OVERRIDE;
157 virtual void UpdateShelfMenu() OVERRIDE; 157 virtual void UpdateShelfMenu() OVERRIDE;
158 virtual gfx::Size GetContentMinimumSize() const OVERRIDE; 158 virtual gfx::Size GetContentMinimumSize() const OVERRIDE;
159 virtual gfx::Size GetContentMaximumSize() const OVERRIDE; 159 virtual gfx::Size GetContentMaximumSize() const OVERRIDE;
160 virtual void SetContentSizeConstraints(const gfx::Size& min_size, 160 virtual void SetContentSizeConstraints(const gfx::Size& min_size,
161 const gfx::Size& max_size) OVERRIDE; 161 const gfx::Size& max_size) OVERRIDE;
162 virtual bool CanHaveAlphaEnabled() const OVERRIDE; 162 virtual bool CanHaveAlphaEnabled() const OVERRIDE;
163 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE;
163 164
164 // web_modal::WebContentsModalDialogHost implementation. 165 // web_modal::WebContentsModalDialogHost implementation.
165 virtual gfx::NativeView GetHostView() const OVERRIDE; 166 virtual gfx::NativeView GetHostView() const OVERRIDE;
166 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; 167 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
167 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; 168 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
168 virtual void AddObserver( 169 virtual void AddObserver(
169 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 170 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
170 virtual void RemoveObserver( 171 virtual void RemoveObserver(
171 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 172 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
172 173
(...skipping 14 matching lines...) Expand all
187 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 188 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
188 189
189 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 190 ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); 192 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
192 }; 193 };
193 194
194 } // namespace apps 195 } // namespace apps
195 196
196 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 197 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698