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

Side by Side Diff: content/public/browser/web_contents_delegate.h

Issue 14234020: push MouseMove through WebContents and back to delegate to fix status bubble avoid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | 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 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // |*is_keyboard_shortcut| should be set to true. 249 // |*is_keyboard_shortcut| should be set to true.
250 virtual bool PreHandleKeyboardEvent(WebContents* source, 250 virtual bool PreHandleKeyboardEvent(WebContents* source,
251 const NativeWebKeyboardEvent& event, 251 const NativeWebKeyboardEvent& event,
252 bool* is_keyboard_shortcut); 252 bool* is_keyboard_shortcut);
253 253
254 // Allows delegates to handle unhandled keyboard messages coming back from 254 // Allows delegates to handle unhandled keyboard messages coming back from
255 // the renderer. 255 // the renderer.
256 virtual void HandleKeyboardEvent(WebContents* source, 256 virtual void HandleKeyboardEvent(WebContents* source,
257 const NativeWebKeyboardEvent& event) {} 257 const NativeWebKeyboardEvent& event) {}
258 258
259 virtual void HandleMouseMove() {}
259 virtual void HandleMouseDown() {} 260 virtual void HandleMouseDown() {}
260 virtual void HandleMouseUp() {} 261 virtual void HandleMouseUp() {}
261 262
262 // Handles activation resulting from a pointer event (e.g. when mouse is 263 // Handles activation resulting from a pointer event (e.g. when mouse is
263 // pressed, or a touch-gesture begins). 264 // pressed, or a touch-gesture begins).
264 virtual void HandlePointerActivate() {} 265 virtual void HandlePointerActivate() {}
265 266
266 virtual void HandleGestureBegin() {} 267 virtual void HandleGestureBegin() {}
267 virtual void HandleGestureEnd() {} 268 virtual void HandleGestureEnd() {}
268 269
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 // Called when |this| is no longer the WebContentsDelegate for |source|. 431 // Called when |this| is no longer the WebContentsDelegate for |source|.
431 void Detach(WebContents* source); 432 void Detach(WebContents* source);
432 433
433 // The WebContents that this is currently a delegate for. 434 // The WebContents that this is currently a delegate for.
434 std::set<WebContents*> attached_contents_; 435 std::set<WebContents*> attached_contents_;
435 }; 436 };
436 437
437 } // namespace content 438 } // namespace content
438 439
439 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 440 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698