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

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

Issue 27458002: Allow setting different hit test bounds overrides for mouse and touch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 // Overridden from views::ClientView: 419 // Overridden from views::ClientView:
420 virtual bool CanClose() OVERRIDE; 420 virtual bool CanClose() OVERRIDE;
421 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 421 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
422 virtual gfx::Size GetMinimumSize() OVERRIDE; 422 virtual gfx::Size GetMinimumSize() OVERRIDE;
423 423
424 // ImmersiveModeController::Delegate overrides: 424 // ImmersiveModeController::Delegate overrides:
425 virtual BookmarkBarView* GetBookmarkBar() OVERRIDE; 425 virtual BookmarkBarView* GetBookmarkBar() OVERRIDE;
426 virtual FullscreenController* GetFullscreenController() OVERRIDE; 426 virtual FullscreenController* GetFullscreenController() OVERRIDE;
427 virtual void FullscreenStateChanged() OVERRIDE; 427 virtual void FullscreenStateChanged() OVERRIDE;
428 virtual void SetImmersiveStyle(bool immersive) OVERRIDE; 428 virtual void SetImmersiveStyle(bool immersive) OVERRIDE;
429 virtual content::WebContents* GetWebContents() OVERRIDE;
430 429
431 // InfoBarContainer::Delegate overrides 430 // InfoBarContainer::Delegate overrides
432 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; 431 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE;
433 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; 432 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE;
434 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; 433 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE;
435 434
436 // views::SingleSplitViewListener overrides: 435 // views::SingleSplitViewListener overrides:
437 virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE; 436 virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE;
438 437
439 // gfx::SysColorChangeListener overrides: 438 // gfx::SysColorChangeListener overrides:
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; 743 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_;
745 744
746 gfx::ScopedSysColorChangeListener color_change_listener_; 745 gfx::ScopedSysColorChangeListener color_change_listener_;
747 746
748 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 747 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
749 748
750 DISALLOW_COPY_AND_ASSIGN(BrowserView); 749 DISALLOW_COPY_AND_ASSIGN(BrowserView);
751 }; 750 };
752 751
753 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 752 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698