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

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

Issue 2781633003: Allow keyboard shortcuts can be captured by webpage when toolbar is not visible (Closed)
Patch Set: Resolve review comments Created 3 years, 8 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 void ToolbarSizeChanged(bool is_animating) override; 305 void ToolbarSizeChanged(bool is_animating) override;
306 void FocusAppMenu() override; 306 void FocusAppMenu() override;
307 void FocusBookmarksToolbar() override; 307 void FocusBookmarksToolbar() override;
308 void FocusInfobars() override; 308 void FocusInfobars() override;
309 void RotatePaneFocus(bool forwards) override; 309 void RotatePaneFocus(bool forwards) override;
310 void DestroyBrowser() override; 310 void DestroyBrowser() override;
311 bool IsBookmarkBarVisible() const override; 311 bool IsBookmarkBarVisible() const override;
312 bool IsBookmarkBarAnimating() const override; 312 bool IsBookmarkBarAnimating() const override;
313 bool IsTabStripEditable() const override; 313 bool IsTabStripEditable() const override;
314 bool IsToolbarVisible() const override; 314 bool IsToolbarVisible() const override;
315 bool IsToolbarShowing() const override;
315 void ShowUpdateChromeDialog() override; 316 void ShowUpdateChromeDialog() override;
316 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; 317 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override;
317 void ShowBookmarkAppBubble( 318 void ShowBookmarkAppBubble(
318 const WebApplicationInfo& web_app_info, 319 const WebApplicationInfo& web_app_info,
319 const ShowBookmarkAppBubbleCallback& callback) override; 320 const ShowBookmarkAppBubbleCallback& callback) override;
320 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( 321 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble(
321 content::WebContents* contents, 322 content::WebContents* contents,
322 autofill::SaveCardBubbleController* controller, 323 autofill::SaveCardBubbleController* controller,
323 bool is_user_gesture) override; 324 bool is_user_gesture) override;
324 ShowTranslateBubbleResult ShowTranslateBubble( 325 ShowTranslateBubbleResult ShowTranslateBubble(
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 // The class that registers for keyboard shortcuts for extension commands. 714 // The class that registers for keyboard shortcuts for extension commands.
714 std::unique_ptr<ExtensionKeybindingRegistryViews> 715 std::unique_ptr<ExtensionKeybindingRegistryViews>
715 extension_keybinding_registry_; 716 extension_keybinding_registry_;
716 717
717 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
718 719
719 DISALLOW_COPY_AND_ASSIGN(BrowserView); 720 DISALLOW_COPY_AND_ASSIGN(BrowserView);
720 }; 721 };
721 722
722 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 723 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698