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

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

Issue 2690573002: MacViews: Handle three-finger swipe gestures for navigation. (Closed)
Patch Set: Created 3 years, 10 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 434
435 // Overridden from views::View: 435 // Overridden from views::View:
436 const char* GetClassName() const override; 436 const char* GetClassName() const override;
437 void Layout() override; 437 void Layout() override;
438 void ViewHierarchyChanged( 438 void ViewHierarchyChanged(
439 const ViewHierarchyChangedDetails& details) override; 439 const ViewHierarchyChangedDetails& details) override;
440 void ChildPreferredSizeChanged(View* child) override; 440 void ChildPreferredSizeChanged(View* child) override;
441 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; 441 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
442 void OnThemeChanged() override; 442 void OnThemeChanged() override;
443 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; 443 void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
444 void OnGestureEvent(ui::GestureEvent* event) override;
tapted 2017/02/13 11:26:24 nit: sort according to view.h order (double-check,
themblsha 2017/02/15 17:35:34 Sorting them all correctly will introduce a major
tapted 2017/02/15 22:25:52 Acknowledged.
444 445
445 // Overridden from ui::AcceleratorTarget: 446 // Overridden from ui::AcceleratorTarget:
446 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 447 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
447 448
448 // OmniboxPopupModelObserver overrides 449 // OmniboxPopupModelObserver overrides
449 void OnOmniboxPopupShownOrHidden() override; 450 void OnOmniboxPopupShownOrHidden() override;
450 451
451 // ExclusiveAccessContext overrides 452 // ExclusiveAccessContext overrides
452 Profile* GetProfile() override; 453 Profile* GetProfile() override;
453 content::WebContents* GetActiveWebContents() override; 454 content::WebContents* GetActiveWebContents() override;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 // The class that registers for keyboard shortcuts for extension commands. 711 // The class that registers for keyboard shortcuts for extension commands.
711 std::unique_ptr<ExtensionKeybindingRegistryViews> 712 std::unique_ptr<ExtensionKeybindingRegistryViews>
712 extension_keybinding_registry_; 713 extension_keybinding_registry_;
713 714
714 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 715 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
715 716
716 DISALLOW_COPY_AND_ASSIGN(BrowserView); 717 DISALLOW_COPY_AND_ASSIGN(BrowserView);
717 }; 718 };
718 719
719 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 720 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | chrome/browser/ui/views/frame/browser_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698