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

Side by Side Diff: chrome/browser/ui/views/event_utils.cc

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win 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/event_disposition.h"
5 #include "chrome/browser/ui/views/event_utils.h" 6 #include "chrome/browser/ui/views/event_utils.h"
6 #include "chrome/browser/event_disposition.h"
7 #include "content/browser/disposition_utils.h" 7 #include "content/browser/disposition_utils.h"
8 #include "views/events/event.h" 8 #include "ui/views/events/event.h"
9 9
10 using views::Event; 10 using views::Event;
11 11
12 namespace event_utils { 12 namespace event_utils {
13 13
14 // TODO(shinyak) After refactoring, this function shoulbe removed. 14 // TODO(shinyak) After refactoring, this function shoulbe removed.
15 WindowOpenDisposition DispositionFromEventFlags(int event_flags) { 15 WindowOpenDisposition DispositionFromEventFlags(int event_flags) {
16 return browser::DispositionFromEventFlags(event_flags); 16 return browser::DispositionFromEventFlags(event_flags);
17 } 17 }
18 18
19 bool IsPossibleDispositionEvent(const views::MouseEvent& event) { 19 bool IsPossibleDispositionEvent(const views::MouseEvent& event) {
20 return event.IsLeftMouseButton() || event.IsMiddleMouseButton(); 20 return event.IsLeftMouseButton() || event.IsMiddleMouseButton();
21 } 21 }
22 22
23 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698