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

Side by Side Diff: chrome/browser/bookmarks/bookmark_drop_info.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/panel_controller.cc » ('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 "chrome/browser/bookmarks/bookmark_drop_info.h" 5 #include "chrome/browser/bookmarks/bookmark_drop_info.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "ui/views/events/event.h" 12 #include "ui/views/events/event.h"
13 #include "views/view_constants.h" 13 #include "ui/views/view_constants.h"
14 14
15 BookmarkDropInfo::BookmarkDropInfo(gfx::NativeWindow wnd, int top_margin) 15 BookmarkDropInfo::BookmarkDropInfo(gfx::NativeWindow wnd, int top_margin)
16 : source_operations_(0), 16 : source_operations_(0),
17 is_control_down_(false), 17 is_control_down_(false),
18 last_y_(0), 18 last_y_(0),
19 drop_operation_(0), 19 drop_operation_(0),
20 wnd_(wnd), 20 wnd_(wnd),
21 top_margin_(top_margin), 21 top_margin_(top_margin),
22 scroll_up_(false) { 22 scroll_up_(false) {
23 } 23 }
(...skipping 30 matching lines...) Expand all
54 54
55 void BookmarkDropInfo::Scroll() { 55 void BookmarkDropInfo::Scroll() {
56 #if defined(OS_WIN) && !defined(USE_AURA) 56 #if defined(OS_WIN) && !defined(USE_AURA)
57 SendMessage(wnd_, WM_VSCROLL, scroll_up_ ? SB_LINEUP : SB_LINEDOWN, NULL); 57 SendMessage(wnd_, WM_VSCROLL, scroll_up_ ? SB_LINEUP : SB_LINEDOWN, NULL);
58 Scrolled(); 58 Scrolled();
59 #else 59 #else
60 // TODO(port): Scroll the appropriate view/widget. 60 // TODO(port): Scroll the appropriate view/widget.
61 NOTIMPLEMENTED(); 61 NOTIMPLEMENTED();
62 #endif 62 #endif
63 } 63 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/panel_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698