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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 2158653002: Linux UI: Add IsVisibleOnAllWorkspaces() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more mac impls Created 4 years, 5 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
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void UpdateLoadingAnimations(bool should_animate) override; 64 void UpdateLoadingAnimations(bool should_animate) override;
65 void SetStarredState(bool is_starred) override; 65 void SetStarredState(bool is_starred) override;
66 void SetTranslateIconToggled(bool is_lit) override; 66 void SetTranslateIconToggled(bool is_lit) override;
67 void OnActiveTabChanged(content::WebContents* old_contents, 67 void OnActiveTabChanged(content::WebContents* old_contents,
68 content::WebContents* new_contents, 68 content::WebContents* new_contents,
69 int index, 69 int index,
70 int reason) override; 70 int reason) override;
71 void ZoomChangedForActiveTab(bool can_show_bubble) override; 71 void ZoomChangedForActiveTab(bool can_show_bubble) override;
72 gfx::Rect GetRestoredBounds() const override; 72 gfx::Rect GetRestoredBounds() const override;
73 std::string GetWorkspace() const override; 73 std::string GetWorkspace() const override;
74 bool IsVisibleOnAllWorkspaces() const override;
74 ui::WindowShowState GetRestoredState() const override; 75 ui::WindowShowState GetRestoredState() const override;
75 gfx::Rect GetBounds() const override; 76 gfx::Rect GetBounds() const override;
76 gfx::Size GetContentsSize() const override; 77 gfx::Size GetContentsSize() const override;
77 bool IsMaximized() const override; 78 bool IsMaximized() const override;
78 bool IsMinimized() const override; 79 bool IsMinimized() const override;
79 void Maximize() override; 80 void Maximize() override;
80 void Minimize() override; 81 void Minimize() override;
81 void Restore() override; 82 void Restore() override;
82 bool ShouldHideUIForFullscreen() const override; 83 bool ShouldHideUIForFullscreen() const override;
83 bool IsFullscreen() const override; 84 bool IsFullscreen() const override;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 ui::WindowShowState initial_show_state_; 197 ui::WindowShowState initial_show_state_;
197 NSInteger attention_request_id_; // identifier from requestUserAttention 198 NSInteger attention_request_id_; // identifier from requestUserAttention
198 199
199 // Preserves window alert state to show appropriate icon in the window title 200 // Preserves window alert state to show appropriate icon in the window title
200 // which can be audio playing, muting or none (determined by alert state of 201 // which can be audio playing, muting or none (determined by alert state of
201 // tabs. 202 // tabs.
202 TabAlertState alert_state_; 203 TabAlertState alert_state_;
203 }; 204 };
204 205
205 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 206 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698