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

Side by Side Diff: sky/engine/core/page/Chrome.cpp

Issue 873963003: Remove more mouse-specific code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Build fixes Created 5 years, 11 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 | « sky/engine/core/page/Chrome.h ('k') | sky/engine/core/page/ChromeClient.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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void Chrome::focusedNodeChanged(Node* node) const 94 void Chrome::focusedNodeChanged(Node* node) const
95 { 95 {
96 m_client->focusedNodeChanged(node); 96 m_client->focusedNodeChanged(node);
97 } 97 }
98 98
99 void Chrome::show(NavigationPolicy policy) const 99 void Chrome::show(NavigationPolicy policy) const
100 { 100 {
101 m_client->show(policy); 101 m_client->show(policy);
102 } 102 }
103 103
104 void Chrome::mouseDidMoveOverElement(const HitTestResult& result, unsigned modif ierFlags)
105 {
106 m_client->mouseDidMoveOverElement(result, modifierFlags);
107 }
108
109 void Chrome::setCursor(const Cursor& cursor) 104 void Chrome::setCursor(const Cursor& cursor)
110 { 105 {
111 m_client->setCursor(cursor); 106 m_client->setCursor(cursor);
112 } 107 }
113 108
114 void Chrome::scheduleAnimation() 109 void Chrome::scheduleAnimation()
115 { 110 {
116 WTF_LOG(ScriptedAnimationController, "Chrome::scheduleAnimation"); 111 WTF_LOG(ScriptedAnimationController, "Chrome::scheduleAnimation");
117 m_page->animator().setAnimationFramePending(); 112 m_page->animator().setAnimationFramePending();
118 m_client->scheduleAnimation(); 113 m_client->scheduleAnimation();
119 } 114 }
120 115
121 void Chrome::willBeDestroyed() 116 void Chrome::willBeDestroyed()
122 { 117 {
123 m_client->chromeDestroyed(); 118 m_client->chromeDestroyed();
124 } 119 }
125 120
126 } // namespace blink 121 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/page/Chrome.h ('k') | sky/engine/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698