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

Side by Side Diff: views/view_gtk.cc

Issue 151099: Fixes compile bugs for views on gtk. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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
« no previous file with comments | « views/focus/focus_manager_gtk.cc ('k') | views/widget/root_view.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 FocusManager* View::GetFocusManager() {
14 NOTIMPLEMENTED();
15 return NULL;
16 }
17
18 void View::DoDrag(const MouseEvent& e, int press_x, int press_y) { 13 void View::DoDrag(const MouseEvent& e, int press_x, int press_y) {
19 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
20 } 15 }
21 16
22 ViewAccessibilityWrapper* View::GetViewAccessibilityWrapper() { 17 ViewAccessibilityWrapper* View::GetViewAccessibilityWrapper() {
23 NOTIMPLEMENTED(); 18 NOTIMPLEMENTED();
24 return NULL; 19 return NULL;
25 } 20 }
26 21
27 void View::Focus() { 22 void View::Focus() {
(...skipping 15 matching lines...) Expand all
43 drag_threshold = value; 38 drag_threshold = value;
44 return drag_threshold; 39 return drag_threshold;
45 } 40 }
46 41
47 int View::GetVerticalDragThreshold() { 42 int View::GetVerticalDragThreshold() {
48 // Vertical and horizontal drag threshold are the same in Gtk. 43 // Vertical and horizontal drag threshold are the same in Gtk.
49 return GetHorizontalDragThreshold(); 44 return GetHorizontalDragThreshold();
50 } 45 }
51 46
52 } // namespace views 47 } // namespace views
OLDNEW
« no previous file with comments | « views/focus/focus_manager_gtk.cc ('k') | views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698