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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.h

Issue 8391010: Improve omnibox accessibility on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/omnibox/omnibox_view_win.h
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_win.h (revision 107903)
+++ chrome/browser/ui/views/omnibox/omnibox_view_win.h (working copy)
@@ -28,9 +28,11 @@
class AutocompleteEditModel;
class AutocompletePopupView;
class LocationBarView;
+class OmniboxViewWrapper;
class TabContents;
namespace views {
+class NativeViewHost;
class View;
}
@@ -117,7 +119,7 @@
virtual bool IsSelectAll() OVERRIDE;
virtual bool DeleteAtEndPressed() OVERRIDE;
virtual void GetSelectionBounds(string16::size_type* start,
- string16::size_type* end) OVERRIDE;
+ string16::size_type* end) const OVERRIDE;
virtual void SelectAll(bool reversed) OVERRIDE;
virtual void RevertAll() OVERRIDE;
@@ -148,9 +150,6 @@
int GetPopupMaxYCoordinate();
- // Exposes custom IAccessible implementation to the overall MSAA hierarchy.
- IAccessible* GetIAccessible();
-
void SetDropHighlightPosition(int position);
int drop_highlight_position() const { return drop_highlight_position_; }
@@ -283,7 +282,7 @@
void OnContextMenu(HWND window, const CPoint& point);
void OnCopy();
void OnCut();
- LRESULT OnGetObject(UINT uMsg, WPARAM wparam, LPARAM lparam);
+ LRESULT OnGetObject(UINT message, WPARAM wparam, LPARAM lparam);
LRESULT OnImeComposition(UINT message, WPARAM wparam, LPARAM lparam);
LRESULT OnImeNotify(UINT message, WPARAM wparam, LPARAM lparam);
void OnKeyDown(TCHAR key, UINT repeat_count, UINT flags);
@@ -550,6 +549,9 @@
// Instance of accessibility information and handling.
mutable base::win::ScopedComPtr<IAccessible> autocomplete_accessibility_;
+ // The native view host.
+ views::NativeViewHost* native_view_host_;
+
DISALLOW_COPY_AND_ASSIGN(OmniboxViewWin);
};
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698