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

Side by Side Diff: sky/engine/core/page/ChromeClient.h

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.cpp ('k') | sky/engine/core/page/EventHandler.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, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Methods used by HostWindow. 83 // Methods used by HostWindow.
84 virtual IntRect rootViewToScreen(const IntRect&) const = 0; 84 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
85 virtual blink::WebScreenInfo screenInfo() const = 0; 85 virtual blink::WebScreenInfo screenInfo() const = 0;
86 virtual void setCursor(const Cursor&) = 0; 86 virtual void setCursor(const Cursor&) = 0;
87 virtual void scheduleAnimation() = 0; 87 virtual void scheduleAnimation() = 0;
88 // End methods used by HostWindow. 88 // End methods used by HostWindow.
89 89
90 virtual void layoutUpdated(LocalFrame*) const { } 90 virtual void layoutUpdated(LocalFrame*) const { }
91 91
92 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0;
93
94 virtual void setTouchAction(TouchAction) = 0; 92 virtual void setTouchAction(TouchAction) = 0;
95 93
96 virtual String acceptLanguages() = 0; 94 virtual String acceptLanguages() = 0;
97 95
98 enum DialogType { 96 enum DialogType {
99 AlertDialog = 0, 97 AlertDialog = 0,
100 ConfirmDialog = 1, 98 ConfirmDialog = 1,
101 PromptDialog = 2, 99 PromptDialog = 2,
102 HTMLDialog = 3 100 HTMLDialog = 3
103 }; 101 };
(...skipping 10 matching lines...) Expand all
114 virtual void willSetInputMethodState() { } 112 virtual void willSetInputMethodState() { }
115 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 113 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
116 virtual void showImeIfNeeded() { } 114 virtual void showImeIfNeeded() { }
117 115
118 protected: 116 protected:
119 virtual ~ChromeClient() { } 117 virtual ~ChromeClient() { }
120 }; 118 };
121 119
122 } 120 }
123 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ 121 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/Chrome.cpp ('k') | sky/engine/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698