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

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

Issue 10173030: User Gesture plumbed from Renderer to Browser's FullscreenController::RequestToLockMouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 412
413 // RenderWidgetHost protected overrides. 413 // RenderWidgetHost protected overrides.
414 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 414 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
415 bool* is_keyboard_shortcut) OVERRIDE; 415 bool* is_keyboard_shortcut) OVERRIDE;
416 virtual void UnhandledKeyboardEvent( 416 virtual void UnhandledKeyboardEvent(
417 const NativeWebKeyboardEvent& event) OVERRIDE; 417 const NativeWebKeyboardEvent& event) OVERRIDE;
418 virtual void OnUserGesture() OVERRIDE; 418 virtual void OnUserGesture() OVERRIDE;
419 virtual void NotifyRendererUnresponsive() OVERRIDE; 419 virtual void NotifyRendererUnresponsive() OVERRIDE;
420 virtual void NotifyRendererResponsive() OVERRIDE; 420 virtual void NotifyRendererResponsive() OVERRIDE;
421 virtual void OnRenderAutoResized(const gfx::Size& size) OVERRIDE; 421 virtual void OnRenderAutoResized(const gfx::Size& size) OVERRIDE;
422 virtual void RequestToLockMouse() OVERRIDE; 422 virtual void RequestToLockMouse(bool user_gesture) OVERRIDE;
423 virtual bool IsFullscreen() const OVERRIDE; 423 virtual bool IsFullscreen() const OVERRIDE;
424 virtual void OnMsgFocus() OVERRIDE; 424 virtual void OnMsgFocus() OVERRIDE;
425 virtual void OnMsgBlur() OVERRIDE; 425 virtual void OnMsgBlur() OVERRIDE;
426 426
427 // IPC message handlers. 427 // IPC message handlers.
428 void OnMsgShowView(int route_id, 428 void OnMsgShowView(int route_id,
429 WindowOpenDisposition disposition, 429 WindowOpenDisposition disposition,
430 const gfx::Rect& initial_pos, 430 const gfx::Rect& initial_pos,
431 bool user_gesture); 431 bool user_gesture);
432 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 432 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 627 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
628 }; 628 };
629 629
630 #if defined(COMPILER_MSVC) 630 #if defined(COMPILER_MSVC)
631 #pragma warning(pop) 631 #pragma warning(pop)
632 #endif 632 #endif
633 633
634 } // namespace content 634 } // namespace content
635 635
636 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 636 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698