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

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

Issue 9665008: views: Nuke is_mouse_gesture parameter from ContextMenuController::ShowContextMenuForView(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nuke is_mouse_gesture parameter Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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_BASE_TAB_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" 11 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 124 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
125 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE; 125 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE;
126 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 126 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
127 127
128 // Overridden from views::ButtonListener: 128 // Overridden from views::ButtonListener:
129 virtual void ButtonPressed(views::Button* sender, 129 virtual void ButtonPressed(views::Button* sender,
130 const views::Event& event) OVERRIDE; 130 const views::Event& event) OVERRIDE;
131 131
132 // Overridden from views::ContextMenuController: 132 // Overridden from views::ContextMenuController:
133 virtual void ShowContextMenuForView(views::View* source, 133 virtual void ShowContextMenuForView(views::View* source,
134 const gfx::Point& p, 134 const gfx::Point& point) OVERRIDE;
135 bool is_mouse_gesture) OVERRIDE;
136 135
137 // Returns the bounds of the title and icon. 136 // Returns the bounds of the title and icon.
138 virtual const gfx::Rect& GetTitleBounds() const = 0; 137 virtual const gfx::Rect& GetTitleBounds() const = 0;
139 virtual const gfx::Rect& GetIconBounds() const = 0; 138 virtual const gfx::Rect& GetIconBounds() const = 0;
140 139
141 virtual int loading_animation_frame() const; 140 virtual int loading_animation_frame() const;
142 virtual bool should_display_crashed_favicon() const; 141 virtual bool should_display_crashed_favicon() const;
143 virtual int favicon_hiding_offset() const; 142 virtual int favicon_hiding_offset() const;
144 143
145 static gfx::Font* font() { return font_; } 144 static gfx::Font* font() { return font_; }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 207
209 views::GlowHoverController hover_controller_; 208 views::GlowHoverController hover_controller_;
210 209
211 static gfx::Font* font_; 210 static gfx::Font* font_;
212 static int font_height_; 211 static int font_height_;
213 212
214 DISALLOW_COPY_AND_ASSIGN(BaseTab); 213 DISALLOW_COPY_AND_ASSIGN(BaseTab);
215 }; 214 };
216 215
217 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_ 216 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc ('k') | chrome/browser/ui/views/tabs/base_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698