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

Side by Side Diff: ui/views/controls/textfield/textfield_controller.cc

Issue 11416327: Omnibox should accept and navigate URLs dropped using drag and drop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ui/views/controls/textfield/textfield_controller.h" 5 #include "ui/views/controls/textfield/textfield_controller.h"
6 6
7 #include "ui/base/dragdrop/drag_drop_types.h"
8
7 namespace views { 9 namespace views {
8 10
11 int TextfieldController::OnDrop(const ui::OSExchangeData& data) {
12 return ui::DragDropTypes::DRAG_NONE;
13 }
14
9 bool TextfieldController::IsCommandIdEnabled(int command_id) const { 15 bool TextfieldController::IsCommandIdEnabled(int command_id) const {
10 return false; 16 return false;
11 } 17 }
12 18
13 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const { 19 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const {
14 return false; 20 return false;
15 } 21 }
16 22
17 string16 TextfieldController::GetLabelForCommandId(int command_id) const { 23 string16 TextfieldController::GetLabelForCommandId(int command_id) const {
18 return string16(); 24 return string16();
19 } 25 }
20 26
21 bool TextfieldController::HandlesCommand(int command_id) const { 27 bool TextfieldController::HandlesCommand(int command_id) const {
22 return false; 28 return false;
23 } 29 }
24 30
25 } // namespace views 31 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698