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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 2133013002: AcceleratorProvider: Make GetAcceleratorForCommandId const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix overrides on Mac and Chrome OS. 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
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 int index, 376 int index,
377 bool foreground) override; 377 bool foreground) override;
378 void TabDetachedAt(content::WebContents* contents, int index) override; 378 void TabDetachedAt(content::WebContents* contents, int index) override;
379 void TabDeactivated(content::WebContents* contents) override; 379 void TabDeactivated(content::WebContents* contents) override;
380 void TabStripEmpty() override; 380 void TabStripEmpty() override;
381 void WillCloseAllTabs() override; 381 void WillCloseAllTabs() override;
382 void CloseAllTabsCanceled() override; 382 void CloseAllTabsCanceled() override;
383 383
384 // Overridden from ui::AcceleratorProvider: 384 // Overridden from ui::AcceleratorProvider:
385 bool GetAcceleratorForCommandId(int command_id, 385 bool GetAcceleratorForCommandId(int command_id,
386 ui::Accelerator* accelerator) override; 386 ui::Accelerator* accelerator) const override;
387 387
388 // Overridden from views::WidgetDelegate: 388 // Overridden from views::WidgetDelegate:
389 bool CanResize() const override; 389 bool CanResize() const override;
390 bool CanMaximize() const override; 390 bool CanMaximize() const override;
391 bool CanMinimize() const override; 391 bool CanMinimize() const override;
392 bool CanActivate() const override; 392 bool CanActivate() const override;
393 base::string16 GetWindowTitle() const override; 393 base::string16 GetWindowTitle() const override;
394 base::string16 GetAccessibleWindowTitle() const override; 394 base::string16 GetAccessibleWindowTitle() const override;
395 views::View* GetInitiallyFocusedView() override; 395 views::View* GetInitiallyFocusedView() override;
396 bool ShouldShowWindowTitle() const override; 396 bool ShouldShowWindowTitle() const override;
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 // The class that registers for keyboard shortcuts for extension commands. 698 // The class that registers for keyboard shortcuts for extension commands.
699 std::unique_ptr<ExtensionKeybindingRegistryViews> 699 std::unique_ptr<ExtensionKeybindingRegistryViews>
700 extension_keybinding_registry_; 700 extension_keybinding_registry_;
701 701
702 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 702 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
703 703
704 DISALLOW_COPY_AND_ASSIGN(BrowserView); 704 DISALLOW_COPY_AND_ASSIGN(BrowserView);
705 }; 705 };
706 706
707 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 707 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.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