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

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

Issue 2687693002: Linux/Windows: Setting focus to the first profile in profile switcher (Closed)
Patch Set: Renaming |focus_first_profile| to |is_source_keyboard| Created 3 years, 10 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/chrome_pages.cc ('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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const content::NativeWebKeyboardEvent& event) override; 141 const content::NativeWebKeyboardEvent& event) override;
142 void CutCopyPaste(int command_id) override; 142 void CutCopyPaste(int command_id) override;
143 WindowOpenDisposition GetDispositionForPopupBounds( 143 WindowOpenDisposition GetDispositionForPopupBounds(
144 const gfx::Rect& bounds) override; 144 const gfx::Rect& bounds) override;
145 FindBar* CreateFindBar() override; 145 FindBar* CreateFindBar() override;
146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
147 override; 147 override;
148 void ShowAvatarBubbleFromAvatarButton( 148 void ShowAvatarBubbleFromAvatarButton(
149 AvatarBubbleMode mode, 149 AvatarBubbleMode mode,
150 const signin::ManageAccountsParams& manage_accounts_params, 150 const signin::ManageAccountsParams& manage_accounts_params,
151 signin_metrics::AccessPoint access_point) override; 151 signin_metrics::AccessPoint access_point,
152 bool is_source_keyboard) override;
152 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 153 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
153 void ExecuteExtensionCommand(const extensions::Extension* extension, 154 void ExecuteExtensionCommand(const extensions::Extension* extension,
154 const extensions::Command& command) override; 155 const extensions::Command& command) override;
155 ExclusiveAccessContext* GetExclusiveAccessContext() override; 156 ExclusiveAccessContext* GetExclusiveAccessContext() override;
156 void ShowImeWarningBubble( 157 void ShowImeWarningBubble(
157 const extensions::Extension* extension, 158 const extensions::Extension* extension,
158 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& 159 const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
159 callback) override; 160 callback) override;
160 161
161 // Overridden from ExtensionKeybindingRegistry::Delegate: 162 // Overridden from ExtensionKeybindingRegistry::Delegate:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ui::WindowShowState initial_show_state_; 194 ui::WindowShowState initial_show_state_;
194 NSInteger attention_request_id_; // identifier from requestUserAttention 195 NSInteger attention_request_id_; // identifier from requestUserAttention
195 196
196 // Preserves window alert state to show appropriate icon in the window title 197 // 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 198 // which can be audio playing, muting or none (determined by alert state of
198 // tabs. 199 // tabs.
199 TabAlertState alert_state_; 200 TabAlertState alert_state_;
200 }; 201 };
201 202
202 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 203 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/chrome_pages.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698