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

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

Issue 93085: Removes the use of Windows-specific types for accessibility roles and states ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/tabs/tab.cc ('k') | chrome/browser/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) 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_STRIP_H__ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__
7 7
8 #include "base/gfx/point.h" 8 #include "base/gfx/point.h"
9 #include "chrome/browser/tabs/tab_strip_model.h" 9 #include "chrome/browser/tabs/tab_strip_model.h"
10 #include "chrome/browser/views/tabs/tab.h" 10 #include "chrome/browser/views/tabs/tab.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void PaintChildren(ChromeCanvas* canvas); 93 virtual void PaintChildren(ChromeCanvas* canvas);
94 virtual views::View* GetViewByID(int id) const; 94 virtual views::View* GetViewByID(int id) const;
95 virtual void Layout(); 95 virtual void Layout();
96 virtual gfx::Size GetPreferredSize(); 96 virtual gfx::Size GetPreferredSize();
97 // NOTE: the drag and drop methods are invoked from FrameView. This is done to 97 // NOTE: the drag and drop methods are invoked from FrameView. This is done to
98 // allow for a drop region that extends outside the bounds of the TabStrip. 98 // allow for a drop region that extends outside the bounds of the TabStrip.
99 virtual void OnDragEntered(const views::DropTargetEvent& event); 99 virtual void OnDragEntered(const views::DropTargetEvent& event);
100 virtual int OnDragUpdated(const views::DropTargetEvent& event); 100 virtual int OnDragUpdated(const views::DropTargetEvent& event);
101 virtual void OnDragExited(); 101 virtual void OnDragExited();
102 virtual int OnPerformDrop(const views::DropTargetEvent& event); 102 virtual int OnPerformDrop(const views::DropTargetEvent& event);
103 virtual bool GetAccessibleRole(VARIANT* role); 103 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
104 virtual bool GetAccessibleName(std::wstring* name); 104 virtual bool GetAccessibleName(std::wstring* name);
105 virtual void SetAccessibleName(const std::wstring& name); 105 virtual void SetAccessibleName(const std::wstring& name);
106 virtual views::View* GetViewForPoint(const gfx::Point& point); 106 virtual views::View* GetViewForPoint(const gfx::Point& point);
107 virtual views::View* GetViewForPoint(const gfx::Point& point, 107 virtual views::View* GetViewForPoint(const gfx::Point& point,
108 bool can_create_floating); 108 bool can_create_floating);
109 109
110 protected: 110 protected:
111 // TabStripModelObserver implementation: 111 // TabStripModelObserver implementation:
112 virtual void TabInsertedAt(TabContents* contents, 112 virtual void TabInsertedAt(TabContents* contents,
113 int index, 113 int index,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 }; 354 };
355 std::vector<TabData> tab_data_; 355 std::vector<TabData> tab_data_;
356 356
357 // The currently running animation. 357 // The currently running animation.
358 scoped_ptr<TabAnimation> active_animation_; 358 scoped_ptr<TabAnimation> active_animation_;
359 359
360 DISALLOW_EVIL_CONSTRUCTORS(TabStrip); 360 DISALLOW_EVIL_CONSTRUCTORS(TabStrip);
361 }; 361 };
362 362
363 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__ 363 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/tab.cc ('k') | chrome/browser/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698