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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TABS_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // View overrides. 228 // View overrides.
229 virtual const views::View* GetViewByID(int id) const OVERRIDE; 229 virtual const views::View* GetViewByID(int id) const OVERRIDE;
230 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; 230 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
231 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; 231 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE;
232 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; 232 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
233 virtual void OnMouseCaptureLost() OVERRIDE; 233 virtual void OnMouseCaptureLost() OVERRIDE;
234 virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; 234 virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE;
235 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; 235 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
236 236
237 // ui::EventHandler overrides. 237 // ui::EventHandler overrides.
238 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 238 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
239 239
240 private: 240 private:
241 typedef std::map<int, std::vector<Tab*> > TabsClosingMap; 241 typedef std::map<int, std::vector<Tab*> > TabsClosingMap;
242 242
243 class RemoveTabDelegate; 243 class RemoveTabDelegate;
244 244
245 friend class TabDragController; 245 friend class TabDragController;
246 friend class TabDragControllerTest; 246 friend class TabDragControllerTest;
247 247
248 // Used during a drop session of a url. Tracks the position of the drop as 248 // Used during a drop session of a url. Tracks the position of the drop as
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // tab close comes from a touch device. 594 // tab close comes from a touch device.
595 base::OneShotTimer<TabStrip> resize_layout_timer_; 595 base::OneShotTimer<TabStrip> resize_layout_timer_;
596 596
597 // True if tabs are painted as rectangular light-bars. 597 // True if tabs are painted as rectangular light-bars.
598 bool immersive_style_; 598 bool immersive_style_;
599 599
600 DISALLOW_COPY_AND_ASSIGN(TabStrip); 600 DISALLOW_COPY_AND_ASSIGN(TabStrip);
601 }; 601 };
602 602
603 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 603 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698