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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.h

Issue 259052: Reverting the NativeViewHostWin focus refactoring.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 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_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 virtual void SetFocus(); 113 virtual void SetFocus();
114 114
115 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text, 115 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text,
116 bool save_original_selection); 116 bool save_original_selection);
117 virtual bool OnInlineAutocompleteTextMaybeChanged( 117 virtual bool OnInlineAutocompleteTextMaybeChanged(
118 const std::wstring& display_text, size_t user_text_length); 118 const std::wstring& display_text, size_t user_text_length);
119 virtual void OnRevertTemporaryText(); 119 virtual void OnRevertTemporaryText();
120 virtual void OnBeforePossibleChange(); 120 virtual void OnBeforePossibleChange();
121 virtual bool OnAfterPossibleChange(); 121 virtual bool OnAfterPossibleChange();
122 virtual gfx::NativeView GetNativeView() const; 122 virtual gfx::NativeView GetNativeView() const;
123 virtual gfx::NativeView GetFocusNativeView() const;
124 123
125 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. 124 // Exposes custom IAccessible implementation to the overall MSAA hierarchy.
126 IAccessible* GetIAccessible(); 125 IAccessible* GetIAccessible();
127 126
128 void SetDropHighlightPosition(int position); 127 void SetDropHighlightPosition(int position);
129 int drop_highlight_position() const { return drop_highlight_position_; } 128 int drop_highlight_position() const { return drop_highlight_position_; }
130 129
131 // Returns true if a drag a drop session was initiated by this edit. 130 // Returns true if a drag a drop session was initiated by this edit.
132 bool in_drag() const { return in_drag_; } 131 bool in_drag() const { return in_drag_; }
133 132
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 // striken-out when displaying an insecure scheme. 483 // striken-out when displaying an insecure scheme.
485 url_parse::Component insecure_scheme_component_; 484 url_parse::Component insecure_scheme_component_;
486 485
487 // Instance of accessibility information and handling. 486 // Instance of accessibility information and handling.
488 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; 487 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_;
489 488
490 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); 489 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin);
491 }; 490 };
492 491
493 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 492 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view_mac.mm ('k') | chrome/browser/autocomplete/autocomplete_edit_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698