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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 virtual void Show() OVERRIDE; 256 virtual void Show() OVERRIDE;
257 virtual void ShowInactive() OVERRIDE; 257 virtual void ShowInactive() OVERRIDE;
258 virtual void Hide() OVERRIDE; 258 virtual void Hide() OVERRIDE;
259 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 259 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
260 virtual void Close() OVERRIDE; 260 virtual void Close() OVERRIDE;
261 virtual void Activate() OVERRIDE; 261 virtual void Activate() OVERRIDE;
262 virtual void Deactivate() OVERRIDE; 262 virtual void Deactivate() OVERRIDE;
263 virtual bool IsActive() const OVERRIDE; 263 virtual bool IsActive() const OVERRIDE;
264 virtual void FlashFrame(bool flash) OVERRIDE; 264 virtual void FlashFrame(bool flash) OVERRIDE;
265 virtual bool IsAlwaysOnTop() const OVERRIDE; 265 virtual bool IsAlwaysOnTop() const OVERRIDE;
266 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
266 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 267 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
267 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 268 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
268 virtual StatusBubble* GetStatusBubble() OVERRIDE; 269 virtual StatusBubble* GetStatusBubble() OVERRIDE;
269 virtual void UpdateTitleBar() OVERRIDE; 270 virtual void UpdateTitleBar() OVERRIDE;
270 virtual void BookmarkBarStateChanged( 271 virtual void BookmarkBarStateChanged(
271 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 272 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
272 virtual void UpdateDevTools() OVERRIDE; 273 virtual void UpdateDevTools() OVERRIDE;
273 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 274 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
274 virtual void SetStarredState(bool is_starred) OVERRIDE; 275 virtual void SetStarredState(bool is_starred) OVERRIDE;
275 virtual void OnActiveTabChanged(content::WebContents* old_contents, 276 virtual void OnActiveTabChanged(content::WebContents* old_contents,
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 745 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
745 746
746 gfx::ScopedSysColorChangeListener color_change_listener_; 747 gfx::ScopedSysColorChangeListener color_change_listener_;
747 748
748 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 749 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
749 750
750 DISALLOW_COPY_AND_ASSIGN(BrowserView); 751 DISALLOW_COPY_AND_ASSIGN(BrowserView);
751 }; 752 };
752 753
753 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 754 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/apps/native_app_window_views.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698