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

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

Issue 2540523003: Use standardized accelerator-to-shortcut code for new backspace shortcut UI. (Closed)
Patch Set: Created 4 years 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_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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 gfx::Rect GetBounds() const override; 77 gfx::Rect GetBounds() const override;
78 gfx::Size GetContentsSize() const override; 78 gfx::Size GetContentsSize() const override;
79 bool IsMaximized() const override; 79 bool IsMaximized() const override;
80 bool IsMinimized() const override; 80 bool IsMinimized() const override;
81 void Maximize() override; 81 void Maximize() override;
82 void Minimize() override; 82 void Minimize() override;
83 void Restore() override; 83 void Restore() override;
84 bool ShouldHideUIForFullscreen() const override; 84 bool ShouldHideUIForFullscreen() const override;
85 bool IsFullscreen() const override; 85 bool IsFullscreen() const override;
86 bool IsFullscreenBubbleVisible() const override; 86 bool IsFullscreenBubbleVisible() const override;
87 void MaybeShowNewBackShortcutBubble(bool forward) override; 87 void MaybeShowNewBackShortcutBubble(int command_id) override;
88 void HideNewBackShortcutBubble() override; 88 void HideNewBackShortcutBubble() override;
89 LocationBar* GetLocationBar() const override; 89 LocationBar* GetLocationBar() const override;
90 void SetFocusToLocationBar(bool select_all) override; 90 void SetFocusToLocationBar(bool select_all) override;
91 void UpdateReloadStopState(bool is_loading, bool force) override; 91 void UpdateReloadStopState(bool is_loading, bool force) override;
92 void UpdateToolbar(content::WebContents* contents) override; 92 void UpdateToolbar(content::WebContents* contents) override;
93 void ResetToolbarTabState(content::WebContents* contents) override; 93 void ResetToolbarTabState(content::WebContents* contents) override;
94 void FocusToolbar() override; 94 void FocusToolbar() override;
95 ToolbarActionsBar* GetToolbarActionsBar() override; 95 ToolbarActionsBar* GetToolbarActionsBar() override;
96 void ToolbarSizeChanged(bool is_animating) override; 96 void ToolbarSizeChanged(bool is_animating) override;
97 void FocusAppMenu() override; 97 void FocusAppMenu() override;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ui::WindowShowState initial_show_state_; 193 ui::WindowShowState initial_show_state_;
194 NSInteger attention_request_id_; // identifier from requestUserAttention 194 NSInteger attention_request_id_; // identifier from requestUserAttention
195 195
196 // Preserves window alert state to show appropriate icon in the window title 196 // Preserves window alert state to show appropriate icon in the window title
197 // which can be audio playing, muting or none (determined by alert state of 197 // which can be audio playing, muting or none (determined by alert state of
198 // tabs. 198 // tabs.
199 TabAlertState alert_state_; 199 TabAlertState alert_state_;
200 }; 200 };
201 201
202 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 202 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698