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

Side by Side Diff: chrome/browser/ui/touch/frame/touch_browser_frame_view.cc

Issue 8568022: views: Move desktop and touchui directories to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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/ui/touch/frame/touch_browser_frame_view.h" 5 #include "chrome/browser/ui/touch/frame/touch_browser_frame_view.h"
6 6
7 #include "ui/gfx/compositor/layer.h"
8 #include "ui/views/desktop/desktop_window_view.h"
7 #include "views/controls/button/image_button.h" 9 #include "views/controls/button/image_button.h"
8 #include "views/desktop/desktop_window_view.h"
9 #include "ui/gfx/compositor/layer.h"
10 10
11 // static 11 // static
12 const char TouchBrowserFrameView::kViewClassName[] = 12 const char TouchBrowserFrameView::kViewClassName[] =
13 "browser/ui/touch/frame/TouchBrowserFrameView"; 13 "browser/ui/touch/frame/TouchBrowserFrameView";
14 14
15 /////////////////////////////////////////////////////////////////////////////// 15 ///////////////////////////////////////////////////////////////////////////////
16 // TouchBrowserFrameView, public: 16 // TouchBrowserFrameView, public:
17 17
18 TouchBrowserFrameView::TouchBrowserFrameView(BrowserFrame* frame, 18 TouchBrowserFrameView::TouchBrowserFrameView(BrowserFrame* frame,
19 BrowserView* browser_view) 19 BrowserView* browser_view)
(...skipping 20 matching lines...) Expand all
40 return true; 40 return true;
41 if (maximize_button()->IsVisible() && 41 if (maximize_button()->IsVisible() &&
42 maximize_button()->GetMirroredBounds().Contains(point)) 42 maximize_button()->GetMirroredBounds().Contains(point))
43 return true; 43 return true;
44 if (minimize_button()->IsVisible() && 44 if (minimize_button()->IsVisible() &&
45 minimize_button()->GetMirroredBounds().Contains(point)) 45 minimize_button()->GetMirroredBounds().Contains(point))
46 return true; 46 return true;
47 47
48 return false; 48 return false;
49 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698