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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10443045: Silent mouse lock after unlock by target (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit changes Created 8 years, 6 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
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // Add and remove observers for filtering IPC messages. Clients must be sure 431 // Add and remove observers for filtering IPC messages. Clients must be sure
432 // to remove the observer before they go away. 432 // to remove the observer before they go away.
433 void AddObserver(RenderViewHostObserver* observer); 433 void AddObserver(RenderViewHostObserver* observer);
434 void RemoveObserver(RenderViewHostObserver* observer); 434 void RemoveObserver(RenderViewHostObserver* observer);
435 435
436 // RenderWidgetHost protected overrides. 436 // RenderWidgetHost protected overrides.
437 virtual void OnUserGesture() OVERRIDE; 437 virtual void OnUserGesture() OVERRIDE;
438 virtual void NotifyRendererUnresponsive() OVERRIDE; 438 virtual void NotifyRendererUnresponsive() OVERRIDE;
439 virtual void NotifyRendererResponsive() OVERRIDE; 439 virtual void NotifyRendererResponsive() OVERRIDE;
440 virtual void OnRenderAutoResized(const gfx::Size& size) OVERRIDE; 440 virtual void OnRenderAutoResized(const gfx::Size& size) OVERRIDE;
441 virtual void RequestToLockMouse(bool user_gesture) OVERRIDE; 441 virtual void RequestToLockMouse(bool user_gesture,
442 bool last_unlocked_by_target) OVERRIDE;
442 virtual bool IsFullscreen() const OVERRIDE; 443 virtual bool IsFullscreen() const OVERRIDE;
443 virtual void OnMsgFocus() OVERRIDE; 444 virtual void OnMsgFocus() OVERRIDE;
444 virtual void OnMsgBlur() OVERRIDE; 445 virtual void OnMsgBlur() OVERRIDE;
445 446
446 // IPC message handlers. 447 // IPC message handlers.
447 void OnMsgShowView(int route_id, 448 void OnMsgShowView(int route_id,
448 WindowOpenDisposition disposition, 449 WindowOpenDisposition disposition,
449 const gfx::Rect& initial_pos, 450 const gfx::Rect& initial_pos,
450 bool user_gesture); 451 bool user_gesture);
451 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 452 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 654 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
654 }; 655 };
655 656
656 #if defined(COMPILER_MSVC) 657 #if defined(COMPILER_MSVC)
657 #pragma warning(pop) 658 #pragma warning(pop)
658 #endif 659 #endif
659 660
660 } // namespace content 661 } // namespace content
661 662
662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 663 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698