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

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

Issue 8461017: More surgery to remove views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments (move listener to ui/views/aura) 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" 7 #include "ui/gfx/compositor/layer.h"
8 #include "ui/views/desktop/desktop_window_view.h"
9 #include "views/controls/button/image_button.h" 8 #include "views/controls/button/image_button.h"
10 9
11 // static 10 // static
12 const char TouchBrowserFrameView::kViewClassName[] = 11 const char TouchBrowserFrameView::kViewClassName[] =
13 "browser/ui/touch/frame/TouchBrowserFrameView"; 12 "browser/ui/touch/frame/TouchBrowserFrameView";
14 13
15 /////////////////////////////////////////////////////////////////////////////// 14 ///////////////////////////////////////////////////////////////////////////////
16 // TouchBrowserFrameView, public: 15 // TouchBrowserFrameView, public:
17 16
18 TouchBrowserFrameView::TouchBrowserFrameView(BrowserFrame* frame, 17 TouchBrowserFrameView::TouchBrowserFrameView(BrowserFrame* frame,
(...skipping 21 matching lines...) Expand all
40 return true; 39 return true;
41 if (maximize_button()->IsVisible() && 40 if (maximize_button()->IsVisible() &&
42 maximize_button()->GetMirroredBounds().Contains(point)) 41 maximize_button()->GetMirroredBounds().Contains(point))
43 return true; 42 return true;
44 if (minimize_button()->IsVisible() && 43 if (minimize_button()->IsVisible() &&
45 minimize_button()->GetMirroredBounds().Contains(point)) 44 minimize_button()->GetMirroredBounds().Contains(point))
46 return true; 45 return true;
47 46
48 return false; 47 return false;
49 } 48 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/touch/sensors/screen_orientation_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698