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

Side by Side Diff: sky/engine/public/web/WebViewClient.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/platform/scroll/Scrollbar.cpp ('k') | sky/engine/public/web/WebWidget.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // 75 //
76 // Returns true if the keyboard event was handled by the embedder, 76 // Returns true if the keyboard event was handled by the embedder,
77 // indicating that the default action should be suppressed. 77 // indicating that the default action should be suppressed.
78 virtual bool handleCurrentKeyboardEvent() { return false; } 78 virtual bool handleCurrentKeyboardEvent() { return false; }
79 79
80 // UI ------------------------------------------------------------------ 80 // UI ------------------------------------------------------------------
81 81
82 // Called when script modifies window.status 82 // Called when script modifies window.status
83 virtual void setStatusText(const WebString&) { } 83 virtual void setStatusText(const WebString&) { }
84 84
85 // Called when hovering over an anchor with the given URL.
86 virtual void setMouseOverURL(const WebURL&) { }
87
88 // Called when keyboard focus switches to an anchor with the given URL. 85 // Called when keyboard focus switches to an anchor with the given URL.
89 virtual void setKeyboardFocusURL(const WebURL&) { } 86 virtual void setKeyboardFocusURL(const WebURL&) { }
90 87
91 // Called to determine if drag-n-drop operations may initiate a page 88 // Called to determine if drag-n-drop operations may initiate a page
92 // navigation. 89 // navigation.
93 virtual bool acceptsLoadDrops() { return true; } 90 virtual bool acceptsLoadDrops() { return true; }
94 91
95 // Take focus away from the WebView by focusing an adjacent UI element 92 // Take focus away from the WebView by focusing an adjacent UI element
96 // in the containing window. 93 // in the containing window.
97 virtual void focusNext() { } 94 virtual void focusNext() { }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return WebPageVisibilityStateVisible; 141 return WebPageVisibilityStateVisible;
145 } 142 }
146 143
147 protected: 144 protected:
148 ~WebViewClient() { } 145 ~WebViewClient() { }
149 }; 146 };
150 147
151 } // namespace blink 148 } // namespace blink
152 149
153 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEWCLIENT_H_ 150 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEWCLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/platform/scroll/Scrollbar.cpp ('k') | sky/engine/public/web/WebWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698