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

Side by Side Diff: views/controls/combobox/combobox.cc

Issue 8607001: views: Factor out Listener from Combobox into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky review Created 9 years, 1 month 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
« no previous file with comments | « views/controls/combobox/combobox.h ('k') | views/controls/combobox/combobox_listener.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "views/controls/combobox/combobox.h" 5 #include "views/controls/combobox/combobox.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "ui/base/accessibility/accessible_view_state.h" 9 #include "ui/base/accessibility/accessible_view_state.h"
10 #include "ui/base/keycodes/keyboard_codes.h" 10 #include "ui/base/keycodes/keyboard_codes.h"
11 #include "ui/base/models/combobox_model.h" 11 #include "ui/base/models/combobox_model.h"
12 #include "views/controls/combobox/combobox_listener.h"
12 #include "views/controls/native/native_view_host.h" 13 #include "views/controls/native/native_view_host.h"
13 #include "views/widget/widget.h" 14 #include "views/widget/widget.h"
14 15
15 namespace views { 16 namespace views {
16 17
17 // static 18 // static
18 const char Combobox::kViewClassName[] = "views/Combobox"; 19 const char Combobox::kViewClassName[] = "views/Combobox";
19 20
20 //////////////////////////////////////////////////////////////////////////////// 21 ////////////////////////////////////////////////////////////////////////////////
21 // Combobox, public: 22 // Combobox, public:
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 native_wrapper_ = NativeComboboxWrapper::CreateWrapper(this); 134 native_wrapper_ = NativeComboboxWrapper::CreateWrapper(this);
134 AddChildView(native_wrapper_->GetView()); 135 AddChildView(native_wrapper_->GetView());
135 } 136 }
136 } 137 }
137 138
138 std::string Combobox::GetClassName() const { 139 std::string Combobox::GetClassName() const {
139 return kViewClassName; 140 return kViewClassName;
140 } 141 }
141 142
142 } // namespace views 143 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/combobox/combobox.h ('k') | views/controls/combobox/combobox_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698