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

Side by Side Diff: ui/aura/root_window.cc

Issue 9773024: This patch implements Chromium's Aura gesture recognizer in terms of utouch-grail and utouch-frame … (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 months 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
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/root_window_host.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/aura/root_window.h" 5 #include "ui/aura/root_window.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 gfx::AcceleratedWidget RootWindow::GetAcceleratedWidget() { 442 gfx::AcceleratedWidget RootWindow::GetAcceleratedWidget() {
443 return host_->GetAcceleratedWidget(); 443 return host_->GetAcceleratedWidget();
444 } 444 }
445 445
446 #if !defined(NDEBUG) 446 #if !defined(NDEBUG)
447 void RootWindow::ToggleFullScreen() { 447 void RootWindow::ToggleFullScreen() {
448 host_->ToggleFullScreen(); 448 host_->ToggleFullScreen();
449 } 449 }
450 #endif 450 #endif
451 451
452 aura::NativeHandle RootWindow::GetNativeWindow() const {
453 return host_->GetNativeWindow();
454 }
455
452 //////////////////////////////////////////////////////////////////////////////// 456 ////////////////////////////////////////////////////////////////////////////////
453 // RootWindow, Window overrides: 457 // RootWindow, Window overrides:
454 458
455 RootWindow* RootWindow::GetRootWindow() { 459 RootWindow* RootWindow::GetRootWindow() {
456 return this; 460 return this;
457 } 461 }
458 462
459 void RootWindow::SetTransform(const ui::Transform& transform) { 463 void RootWindow::SetTransform(const ui::Transform& transform) {
460 Window::SetTransform(transform); 464 Window::SetTransform(transform);
461 465
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 // is currently broken. See/ crbug.com/107931. 837 // is currently broken. See/ crbug.com/107931.
834 MouseEvent event(ui::ET_MOUSE_MOVED, 838 MouseEvent event(ui::ET_MOUSE_MOVED,
835 orig_mouse_location, 839 orig_mouse_location,
836 orig_mouse_location, 840 orig_mouse_location,
837 ui::EF_IS_SYNTHESIZED); 841 ui::EF_IS_SYNTHESIZED);
838 DispatchMouseEvent(&event); 842 DispatchMouseEvent(&event);
839 #endif 843 #endif
840 } 844 }
841 845
842 } // namespace aura 846 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/root_window_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698