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

Unified Diff: views/view_aura.cc

Issue 8742030: views: Move view.h to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and fix conflicts 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/view.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view_aura.cc
diff --git a/views/view_aura.cc b/views/view_aura.cc
deleted file mode 100644
index 0f5911d86fc742174d238cbc481b0df36dc6a466..0000000000000000000000000000000000000000
--- a/views/view_aura.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "views/view.h"
-
-namespace {
-
-// Default horizontal drag threshold in pixels.
-// Same as what gtk uses.
-const int kDefaultHorizontalDragThreshold = 8;
-
-// Default vertical drag threshold in pixels.
-// Same as what gtk uses.
-const int kDefaultVerticalDragThreshold = 8;
-
-} // namespace
-
-namespace views {
-
-gfx::NativeViewAccessible View::GetNativeViewAccessible() {
- return NULL;
-}
-
-int View::GetHorizontalDragThreshold() {
- // TODO(jennyz): This value may need to be adjusted for different platforms
- // and for different display density.
- return kDefaultHorizontalDragThreshold;
-}
-
-int View::GetVerticalDragThreshold() {
- // TODO(jennyz): This value may need to be adjusted for different platforms
- // and for different display density.
- return kDefaultVerticalDragThreshold;
-}
-
-} // namespace views
« no previous file with comments | « views/view.cc ('k') | views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698