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

Unified Diff: views/controls/scrollbar/native_scroll_bar.cc

Issue 114059: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar.h ('k') | views/controls/separator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/scrollbar/native_scroll_bar.cc
===================================================================
--- views/controls/scrollbar/native_scroll_bar.cc (revision 17161)
+++ views/controls/scrollbar/native_scroll_bar.cc (working copy)
@@ -13,7 +13,7 @@
#include <string>
#include "base/message_loop.h"
-#include "views/controls/hwnd_view.h"
+#include "views/controls/native/native_view_host.h"
#include "views/widget/widget.h"
namespace views {
@@ -231,7 +231,7 @@
View *child) {
Widget* widget;
if (is_add && (widget = GetWidget()) && !sb_view_) {
- sb_view_ = new HWNDView();
+ sb_view_ = new NativeViewHost;
AddChildView(sb_view_);
sb_container_ = new ScrollBarContainer(this);
sb_view_->Attach(*sb_container_);
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar.h ('k') | views/controls/separator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698