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

Side by Side Diff: chrome/browser/views/location_bar_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
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_LOCATION_BAR_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 WindowOpenDisposition disposition, 97 WindowOpenDisposition disposition,
98 PageTransition::Type transition, 98 PageTransition::Type transition,
99 const GURL& alternate_nav_url); 99 const GURL& alternate_nav_url);
100 virtual void OnChanged(); 100 virtual void OnChanged();
101 virtual void OnInputInProgress(bool in_progress) { 101 virtual void OnInputInProgress(bool in_progress) {
102 delegate_->OnInputInProgress(in_progress); 102 delegate_->OnInputInProgress(in_progress);
103 } 103 }
104 virtual SkBitmap GetFavIcon() const; 104 virtual SkBitmap GetFavIcon() const;
105 virtual std::wstring GetTitle() const; 105 virtual std::wstring GetTitle() const;
106 106
107 // Returns the MSAA role 107 // Returns the accessibility role.
108 bool GetAccessibleRole(VARIANT* role); 108 bool GetAccessibleRole(AccessibilityTypes::Role* role);
109 109
110 AutocompleteEditView* location_entry() { 110 AutocompleteEditView* location_entry() {
111 return location_entry_.get(); 111 return location_entry_.get();
112 } 112 }
113 113
114 // Overridden from views::View: 114 // Overridden from views::View:
115 virtual bool OverrideAccelerator(const views::Accelerator& accelerator); 115 virtual bool OverrideAccelerator(const views::Accelerator& accelerator);
116 116
117 // Overridden from LocationBar: 117 // Overridden from LocationBar:
118 virtual void ShowFirstRunBubble(); 118 virtual void ShowFirstRunBubble();
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 bool popup_window_mode_; 447 bool popup_window_mode_;
448 448
449 // Used schedule a task for the first run info bubble. 449 // Used schedule a task for the first run info bubble.
450 ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_; 450 ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_;
451 451
452 // The positioner that places the autocomplete popup. 452 // The positioner that places the autocomplete popup.
453 AutocompletePopupPositioner* popup_positioner_; 453 AutocompletePopupPositioner* popup_positioner_;
454 }; 454 };
455 455
456 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ 456 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698