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

Side by Side Diff: chrome/browser/views/frame/opaque_browser_frame_view.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 | « no previous file | chrome/browser/views/frame/opaque_browser_frame_view.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_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
7 7
8 #include "chrome/browser/views/frame/browser_frame.h" 8 #include "chrome/browser/views/frame/browser_frame.h"
9 #include "chrome/browser/views/tab_icon_view.h" 9 #include "chrome/browser/views/tab_icon_view.h"
10 #include "chrome/views/controls/button/button.h" 10 #include "chrome/views/controls/button/button.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void EnableClose(bool enable); 44 virtual void EnableClose(bool enable);
45 virtual void ResetWindowControls(); 45 virtual void ResetWindowControls();
46 46
47 // Overridden from views::View: 47 // Overridden from views::View:
48 virtual void Paint(ChromeCanvas* canvas); 48 virtual void Paint(ChromeCanvas* canvas);
49 virtual void Layout(); 49 virtual void Layout();
50 virtual bool HitTest(const gfx::Point& l) const; 50 virtual bool HitTest(const gfx::Point& l) const;
51 virtual void ViewHierarchyChanged(bool is_add, 51 virtual void ViewHierarchyChanged(bool is_add,
52 views::View* parent, 52 views::View* parent,
53 views::View* child); 53 views::View* child);
54 virtual bool GetAccessibleRole(VARIANT* role); 54 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
55 virtual bool GetAccessibleName(std::wstring* name); 55 virtual bool GetAccessibleName(std::wstring* name);
56 virtual void SetAccessibleName(const std::wstring& name); 56 virtual void SetAccessibleName(const std::wstring& name);
57 57
58 // Overridden from views::ButtonListener: 58 // Overridden from views::ButtonListener:
59 virtual void ButtonPressed(views::Button* sender); 59 virtual void ButtonPressed(views::Button* sender);
60 60
61 // Overridden from TabIconView::TabIconViewModel: 61 // Overridden from TabIconView::TabIconViewModel:
62 virtual bool ShouldTabIconViewAnimate() const; 62 virtual bool ShouldTabIconViewAnimate() const;
63 virtual SkBitmap GetFavIconForTabIconView(); 63 virtual SkBitmap GetFavIconForTabIconView();
64 64
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 static views::WindowResources* active_resources_; 157 static views::WindowResources* active_resources_;
158 static views::WindowResources* inactive_resources_; 158 static views::WindowResources* inactive_resources_;
159 static views::WindowResources* active_otr_resources_; 159 static views::WindowResources* active_otr_resources_;
160 static views::WindowResources* inactive_otr_resources_; 160 static views::WindowResources* inactive_otr_resources_;
161 static ChromeFont* title_font_; 161 static ChromeFont* title_font_;
162 162
163 DISALLOW_EVIL_CONSTRUCTORS(OpaqueBrowserFrameView); 163 DISALLOW_EVIL_CONSTRUCTORS(OpaqueBrowserFrameView);
164 }; 164 };
165 165
166 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_ 166 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_OPAQUE_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698