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

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

Issue 6462009: Allow dragging and dropping of URLs to any portion of the toolbar view.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual void OnBeforePossibleChange(); 132 virtual void OnBeforePossibleChange();
133 virtual bool OnAfterPossibleChange(); 133 virtual bool OnAfterPossibleChange();
134 virtual gfx::NativeView GetNativeView() const; 134 virtual gfx::NativeView GetNativeView() const;
135 virtual CommandUpdater* GetCommandUpdater(); 135 virtual CommandUpdater* GetCommandUpdater();
136 virtual void SetInstantSuggestion(const string16& suggestion); 136 virtual void SetInstantSuggestion(const string16& suggestion);
137 virtual string16 GetInstantSuggestion() const; 137 virtual string16 GetInstantSuggestion() const;
138 virtual int TextWidth() const; 138 virtual int TextWidth() const;
139 virtual bool IsImeComposing() const; 139 virtual bool IsImeComposing() const;
140 140
141 virtual views::View* AddToView(views::View* parent); 141 virtual views::View* AddToView(views::View* parent);
142 virtual int OnPerformDrop(const views::DropTargetEvent& event);
142 143
143 int GetPopupMaxYCoordinate(); 144 int GetPopupMaxYCoordinate();
144 145
145 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. 146 // Exposes custom IAccessible implementation to the overall MSAA hierarchy.
146 IAccessible* GetIAccessible(); 147 IAccessible* GetIAccessible();
147 148
148 void SetDropHighlightPosition(int position); 149 void SetDropHighlightPosition(int position);
149 int drop_highlight_position() const { return drop_highlight_position_; } 150 int drop_highlight_position() const { return drop_highlight_position_; }
150 151
151 // Returns true if a drag a drop session was initiated by this edit. 152 // Returns true if a drag a drop session was initiated by this edit.
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // striken-out when displaying an insecure scheme. 530 // striken-out when displaying an insecure scheme.
530 url_parse::Component insecure_scheme_component_; 531 url_parse::Component insecure_scheme_component_;
531 532
532 // Instance of accessibility information and handling. 533 // Instance of accessibility information and handling.
533 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; 534 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_;
534 535
535 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); 536 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin);
536 }; 537 };
537 538
538 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 539 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698