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

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

Issue 26427002: Add always-on-top property to app windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 7 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_
7 7
8 #include "apps/native_app_window.h" 8 #include "apps/native_app_window.h"
9 #include "apps/shell_window.h" 9 #include "apps/shell_window.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 virtual void UpdateWindowTitle() OVERRIDE; 140 virtual void UpdateWindowTitle() OVERRIDE;
141 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; 141 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE;
142 virtual void UpdateDraggableRegions( 142 virtual void UpdateDraggableRegions(
143 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; 143 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE;
144 virtual void HandleKeyboardEvent( 144 virtual void HandleKeyboardEvent(
145 const content::NativeWebKeyboardEvent& event) OVERRIDE; 145 const content::NativeWebKeyboardEvent& event) OVERRIDE;
146 virtual gfx::Insets GetFrameInsets() const OVERRIDE; 146 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
147 virtual bool IsVisible() const OVERRIDE; 147 virtual bool IsVisible() const OVERRIDE;
148 virtual void HideWithApp() OVERRIDE; 148 virtual void HideWithApp() OVERRIDE;
149 virtual void ShowWithApp() OVERRIDE; 149 virtual void ShowWithApp() OVERRIDE;
150 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
150 151
151 // web_modal::WebContentsModalDialogHost implementation. 152 // web_modal::WebContentsModalDialogHost implementation.
152 virtual gfx::NativeView GetHostView() const OVERRIDE; 153 virtual gfx::NativeView GetHostView() const OVERRIDE;
153 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; 154 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
154 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; 155 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
155 virtual void AddObserver( 156 virtual void AddObserver(
156 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 157 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
157 virtual void RemoveObserver( 158 virtual void RemoveObserver(
158 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 159 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
159 160
(...skipping 29 matching lines...) Expand all
189 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 190 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
190 191
191 base::WeakPtrFactory<NativeAppWindowViews> weak_ptr_factory_; 192 base::WeakPtrFactory<NativeAppWindowViews> weak_ptr_factory_;
192 193
193 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 194 ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); 196 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
196 }; 197 };
197 198
198 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ 199 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698