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

Side by Side Diff: chrome/browser/browser.h

Issue 224023: Don't send tab switching/killing/creating keyboard accelerators to pages. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: call Browser:IsReservedAccelerator from tab_contents_view.cc instead of each platform file Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | chrome/browser/cocoa/browser_window_cocoa.mm » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_BROWSER_H_
6 #define CHROME_BROWSER_BROWSER_H_ 6 #define CHROME_BROWSER_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 virtual void SetFocusToLocationBar(); 532 virtual void SetFocusToLocationBar();
533 virtual void RenderWidgetShowing(); 533 virtual void RenderWidgetShowing();
534 virtual int GetExtraRenderViewHeight() const; 534 virtual int GetExtraRenderViewHeight() const;
535 virtual void OnStartDownload(DownloadItem* download); 535 virtual void OnStartDownload(DownloadItem* download);
536 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 536 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
537 Profile* profile); 537 Profile* profile);
538 virtual void ShowPageInfo(Profile* profile, 538 virtual void ShowPageInfo(Profile* profile,
539 const GURL& url, 539 const GURL& url,
540 const NavigationEntry::SSLStatus& ssl, 540 const NavigationEntry::SSLStatus& ssl,
541 bool show_history); 541 bool show_history);
542 virtual bool IsReservedAccelerator(const NativeWebKeyboardEvent& event);
542 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); 543 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents);
543 544
544 // Overridden from SelectFileDialog::Listener: 545 // Overridden from SelectFileDialog::Listener:
545 virtual void FileSelected(const FilePath& path, int index, void* params); 546 virtual void FileSelected(const FilePath& path, int index, void* params);
546 547
547 // Overridden from NotificationObserver: 548 // Overridden from NotificationObserver:
548 virtual void Observe(NotificationType type, 549 virtual void Observe(NotificationType type,
549 const NotificationSource& source, 550 const NotificationSource& source,
550 const NotificationDetails& details); 551 const NotificationDetails& details);
551 552
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 // Dialog box used for opening and saving files. 796 // Dialog box used for opening and saving files.
796 scoped_refptr<SelectFileDialog> select_file_dialog_; 797 scoped_refptr<SelectFileDialog> select_file_dialog_;
797 798
798 // Keep track of the encoding auto detect pref. 799 // Keep track of the encoding auto detect pref.
799 BooleanPrefMember encoding_auto_detect_; 800 BooleanPrefMember encoding_auto_detect_;
800 801
801 DISALLOW_COPY_AND_ASSIGN(Browser); 802 DISALLOW_COPY_AND_ASSIGN(Browser);
802 }; 803 };
803 804
804 #endif // CHROME_BROWSER_BROWSER_H_ 805 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | chrome/browser/cocoa/browser_window_cocoa.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698