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

Side by Side Diff: chrome/browser/views/frame/browser_view.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
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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 virtual void ContinueDraggingDetachedTab(const gfx::Rect& tab_bounds); 254 virtual void ContinueDraggingDetachedTab(const gfx::Rect& tab_bounds);
255 virtual void UserChangedTheme(); 255 virtual void UserChangedTheme();
256 virtual int GetExtraRenderViewHeight() const; 256 virtual int GetExtraRenderViewHeight() const;
257 virtual void TabContentsFocused(TabContents* source); 257 virtual void TabContentsFocused(TabContents* source);
258 virtual void ShowPageInfo(Profile* profile, 258 virtual void ShowPageInfo(Profile* profile,
259 const GURL& url, 259 const GURL& url,
260 const NavigationEntry::SSLStatus& ssl, 260 const NavigationEntry::SSLStatus& ssl,
261 bool show_history); 261 bool show_history);
262 virtual void ShowAppMenu(); 262 virtual void ShowAppMenu();
263 virtual void ShowPageMenu(); 263 virtual void ShowPageMenu();
264 virtual int GetCommandId(const NativeWebKeyboardEvent& event);
264 265
265 // Overridden from BrowserWindowTesting: 266 // Overridden from BrowserWindowTesting:
266 virtual BookmarkBarView* GetBookmarkBarView() const; 267 virtual BookmarkBarView* GetBookmarkBarView() const;
267 virtual LocationBarView* GetLocationBarView() const; 268 virtual LocationBarView* GetLocationBarView() const;
268 virtual views::View* GetTabContentsContainerView() const; 269 virtual views::View* GetTabContentsContainerView() const;
269 virtual ToolbarView* GetToolbarView() const; 270 virtual ToolbarView* GetToolbarView() const;
270 271
271 // Overridden from NotificationObserver: 272 // Overridden from NotificationObserver:
272 virtual void Observe(NotificationType type, 273 virtual void Observe(NotificationType type,
273 const NotificationSource& source, 274 const NotificationSource& source,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 typedef std::set<BrowserBubble*> BubbleSet; 508 typedef std::set<BrowserBubble*> BubbleSet;
508 BubbleSet browser_bubbles_; 509 BubbleSet browser_bubbles_;
509 510
510 // The accessible name of this view. 511 // The accessible name of this view.
511 std::wstring accessible_name_; 512 std::wstring accessible_name_;
512 513
513 DISALLOW_COPY_AND_ASSIGN(BrowserView); 514 DISALLOW_COPY_AND_ASSIGN(BrowserView);
514 }; 515 };
515 516
516 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 517 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698