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/ui/tabs/dock_info.cc

Issue 5544002: Move a bunch more browser stuff around.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | « chrome/browser/ui/tabs/dock_info.h ('k') | chrome/browser/ui/tabs/dock_info_gtk.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/dock_info.h" 5 #include "chrome/browser/ui/tabs/dock_info.h"
6 6
7 #if defined(TOOLKIT_VIEWS) 7 #if defined(TOOLKIT_VIEWS)
8 #include "chrome/browser/views/tabs/tab.h" 8 #include "chrome/browser/views/tabs/tab.h"
9 #else 9 #else
10 #include "chrome/browser/gtk/tabs/tab_gtk.h" 10 #include "chrome/browser/gtk/tabs/tab_gtk.h"
11 #endif 11 #endif
12 12
13 namespace { 13 namespace {
14 14
15 // Distance in pixels between the hotspot and when the hint should be shown. 15 // Distance in pixels between the hotspot and when the hint should be shown.
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 int x, 259 int x,
260 int y, 260 int y,
261 Type type) { 261 Type type) {
262 if (IsCloseToMonitorPoint(screen_loc, x, y, type, &in_enable_area_)) { 262 if (IsCloseToMonitorPoint(screen_loc, x, y, type, &in_enable_area_)) {
263 hot_spot_.SetPoint(x, y); 263 hot_spot_.SetPoint(x, y);
264 type_ = type; 264 type_ = type;
265 return true; 265 return true;
266 } 266 }
267 return false; 267 return false;
268 } 268 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/dock_info.h ('k') | chrome/browser/ui/tabs/dock_info_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698