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

Side by Side Diff: views/view.cc

Issue 570014: Adding drag-drop support in and out of the Browser Action overflow menu.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/view.h" 5 #include "views/view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #ifndef NDEBUG 8 #ifndef NDEBUG
9 #include <iostream> 9 #include <iostream>
10 #endif 10 #endif
11 11
(...skipping 22 matching lines...) Expand all
34 #endif 34 #endif
35 35
36 namespace views { 36 namespace views {
37 37
38 // static 38 // static
39 ViewsDelegate* ViewsDelegate::views_delegate = NULL; 39 ViewsDelegate* ViewsDelegate::views_delegate = NULL;
40 40
41 // static 41 // static
42 char View::kViewClassName[] = "views/View"; 42 char View::kViewClassName[] = "views/View";
43 43
44 // static
45 const int View::kShowFolderDropMenuDelay = 400;
46
44 ///////////////////////////////////////////////////////////////////////////// 47 /////////////////////////////////////////////////////////////////////////////
45 // 48 //
46 // View - constructors, destructors, initialization 49 // View - constructors, destructors, initialization
47 // 50 //
48 ///////////////////////////////////////////////////////////////////////////// 51 /////////////////////////////////////////////////////////////////////////////
49 52
50 View::View() 53 View::View()
51 : id_(0), 54 : id_(0),
52 group_(-1), 55 group_(-1),
53 enabled_(true), 56 enabled_(true),
(...skipping 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 start_x = start_y = 0; 1457 start_x = start_y = 0;
1455 } 1458 }
1456 1459
1457 void View::DragInfo::PossibleDrag(int x, int y) { 1460 void View::DragInfo::PossibleDrag(int x, int y) {
1458 possible_drag = true; 1461 possible_drag = true;
1459 start_x = x; 1462 start_x = x;
1460 start_y = y; 1463 start_y = y;
1461 } 1464 }
1462 1465
1463 } // namespace 1466 } // namespace
OLDNEW
« views/view.h ('K') | « views/view.h ('k') | views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698