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

Side by Side Diff: chrome/browser/views/tabs/tab.h

Issue 115309: Remove even more ATL dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome/browser/views/tabs/tab.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_TABS_TAB_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_H_
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_H_
7 7
8 #include "chrome/browser/tabs/tab_strip_model.h" 8 #include "chrome/browser/tabs/tab_strip_model.h"
9 #include "chrome/browser/views/tabs/tab_renderer.h" 9 #include "chrome/browser/views/tabs/tab_renderer.h"
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 friend class ContextMenuController; 94 friend class ContextMenuController;
95 95
96 // views::View overrides: 96 // views::View overrides:
97 virtual bool HasHitTestMask() const; 97 virtual bool HasHitTestMask() const;
98 virtual void GetHitTestMask(gfx::Path* mask) const; 98 virtual void GetHitTestMask(gfx::Path* mask) const;
99 virtual bool OnMousePressed(const views::MouseEvent& event); 99 virtual bool OnMousePressed(const views::MouseEvent& event);
100 virtual bool OnMouseDragged(const views::MouseEvent& event); 100 virtual bool OnMouseDragged(const views::MouseEvent& event);
101 virtual void OnMouseReleased(const views::MouseEvent& event, 101 virtual void OnMouseReleased(const views::MouseEvent& event,
102 bool canceled); 102 bool canceled);
103 virtual bool GetTooltipText(int x, int y, std::wstring* tooltip); 103 virtual bool GetTooltipText(int x, int y, std::wstring* tooltip);
104 virtual bool GetTooltipTextOrigin(int x, int y, CPoint* origin); 104 virtual bool GetTooltipTextOrigin(int x, int y, gfx::Point* origin);
105 virtual std::string GetClassName() const { return kTabClassName; } 105 virtual std::string GetClassName() const { return kTabClassName; }
106 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); 106 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
107 virtual bool GetAccessibleName(std::wstring* name); 107 virtual bool GetAccessibleName(std::wstring* name);
108 108
109 // views::ContextMenuController overrides: 109 // views::ContextMenuController overrides:
110 virtual void ShowContextMenu(views::View* source, 110 virtual void ShowContextMenu(views::View* source,
111 int x, 111 int x,
112 int y, 112 int y,
113 bool is_mouse_gesture); 113 bool is_mouse_gesture);
114 114
(...skipping 14 matching lines...) Expand all
129 // True if the tab is being animated closed. 129 // True if the tab is being animated closed.
130 bool closing_; 130 bool closing_;
131 131
132 // If non-null it means we're showing a menu for the tab. 132 // If non-null it means we're showing a menu for the tab.
133 ContextMenuController* menu_controller_; 133 ContextMenuController* menu_controller_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(Tab); 135 DISALLOW_COPY_AND_ASSIGN(Tab);
136 }; 136 };
137 137
138 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_H_ 138 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome/browser/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698