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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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
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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 const content::NativeWebKeyboardEvent& event) override; 353 const content::NativeWebKeyboardEvent& event) override;
354 void CutCopyPaste(int command_id) override; 354 void CutCopyPaste(int command_id) override;
355 WindowOpenDisposition GetDispositionForPopupBounds( 355 WindowOpenDisposition GetDispositionForPopupBounds(
356 const gfx::Rect& bounds) override; 356 const gfx::Rect& bounds) override;
357 FindBar* CreateFindBar() override; 357 FindBar* CreateFindBar() override;
358 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 358 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
359 override; 359 override;
360 void ShowAvatarBubbleFromAvatarButton( 360 void ShowAvatarBubbleFromAvatarButton(
361 AvatarBubbleMode mode, 361 AvatarBubbleMode mode,
362 const signin::ManageAccountsParams& manage_accounts_params, 362 const signin::ManageAccountsParams& manage_accounts_params,
363 signin_metrics::AccessPoint access_point) override; 363 signin_metrics::AccessPoint access_point,
364 bool is_source_keyboard) override;
364 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; 365 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override;
365 void ExecuteExtensionCommand(const extensions::Extension* extension, 366 void ExecuteExtensionCommand(const extensions::Extension* extension,
366 const extensions::Command& command) override; 367 const extensions::Command& command) override;
367 ExclusiveAccessContext* GetExclusiveAccessContext() override; 368 ExclusiveAccessContext* GetExclusiveAccessContext() override;
368 void ShowImeWarningBubble( 369 void ShowImeWarningBubble(
369 const extensions::Extension* extension, 370 const extensions::Extension* extension,
370 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& 371 const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
371 callback) override; 372 callback) override;
372 std::string GetWorkspace() const override; 373 std::string GetWorkspace() const override;
373 bool IsVisibleOnAllWorkspaces() const override; 374 bool IsVisibleOnAllWorkspaces() const override;
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 // The class that registers for keyboard shortcuts for extension commands. 711 // The class that registers for keyboard shortcuts for extension commands.
711 std::unique_ptr<ExtensionKeybindingRegistryViews> 712 std::unique_ptr<ExtensionKeybindingRegistryViews>
712 extension_keybinding_registry_; 713 extension_keybinding_registry_;
713 714
714 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 715 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
715 716
716 DISALLOW_COPY_AND_ASSIGN(BrowserView); 717 DISALLOW_COPY_AND_ASSIGN(BrowserView);
717 }; 718 };
718 719
719 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 720 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/avatar_button_manager.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