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

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

Issue 2775553002: Adds the ability for WebContentsDelegate to decide if event should be updated (Closed)
Patch Set: Fix compile Created 3 years, 9 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 Browser::DownloadClosePreventionType dialog_type, 340 Browser::DownloadClosePreventionType dialog_type,
341 bool app_modal, 341 bool app_modal,
342 const base::Callback<void(bool)>& callback) override; 342 const base::Callback<void(bool)>& callback) override;
343 void UserChangedTheme() override; 343 void UserChangedTheme() override;
344 void ShowWebsiteSettings( 344 void ShowWebsiteSettings(
345 Profile* profile, 345 Profile* profile,
346 content::WebContents* web_contents, 346 content::WebContents* web_contents,
347 const GURL& virtual_url, 347 const GURL& virtual_url,
348 const security_state::SecurityInfo& security_info) override; 348 const security_state::SecurityInfo& security_info) override;
349 void ShowAppMenu() override; 349 void ShowAppMenu() override;
350 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, 350 content::KeyboardEventProcessingResult PreHandleKeyboardEvent(
351 bool* is_keyboard_shortcut) override; 351 const content::NativeWebKeyboardEvent& event) override;
352 void HandleKeyboardEvent( 352 void HandleKeyboardEvent(
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,
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // The class that registers for keyboard shortcuts for extension commands. 714 // The class that registers for keyboard shortcuts for extension commands.
715 std::unique_ptr<ExtensionKeybindingRegistryViews> 715 std::unique_ptr<ExtensionKeybindingRegistryViews>
716 extension_keybinding_registry_; 716 extension_keybinding_registry_;
717 717
718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
719 719
720 DISALLOW_COPY_AND_ASSIGN(BrowserView); 720 DISALLOW_COPY_AND_ASSIGN(BrowserView);
721 }; 721 };
722 722
723 #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