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

Side by Side Diff: content/browser/web_contents/web_contents_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: yzshen nits fixed. 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 virtual void HandleMouseDown() OVERRIDE; 329 virtual void HandleMouseDown() OVERRIDE;
330 virtual void HandleMouseUp() OVERRIDE; 330 virtual void HandleMouseUp() OVERRIDE;
331 virtual void HandleMouseActivate() OVERRIDE; 331 virtual void HandleMouseActivate() OVERRIDE;
332 virtual void RunFileChooser( 332 virtual void RunFileChooser(
333 content::RenderViewHost* render_view_host, 333 content::RenderViewHost* render_view_host,
334 const content::FileChooserParams& params) OVERRIDE; 334 const content::FileChooserParams& params) OVERRIDE;
335 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; 335 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE;
336 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; 336 virtual bool IsFullscreenForCurrentTab() const OVERRIDE;
337 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; 337 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
338 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; 338 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE;
339 virtual void RequestToLockMouse() OVERRIDE; 339 virtual void RequestToLockMouse(bool user_gesture) OVERRIDE;
340 virtual void LostMouseLock() OVERRIDE; 340 virtual void LostMouseLock() OVERRIDE;
341 341
342 // RenderViewHostManager::Delegate ------------------------------------------- 342 // RenderViewHostManager::Delegate -------------------------------------------
343 343
344 virtual bool CreateRenderViewForRenderManager( 344 virtual bool CreateRenderViewForRenderManager(
345 content::RenderViewHost* render_view_host) OVERRIDE; 345 content::RenderViewHost* render_view_host) OVERRIDE;
346 virtual void BeforeUnloadFiredFromRenderManager( 346 virtual void BeforeUnloadFiredFromRenderManager(
347 bool proceed, 347 bool proceed,
348 bool* proceed_to_fire_unload) OVERRIDE; 348 bool* proceed_to_fire_unload) OVERRIDE;
349 virtual void DidStartLoadingFromRenderManager( 349 virtual void DidStartLoadingFromRenderManager(
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 // Is there an opener associated with this? 679 // Is there an opener associated with this?
680 bool has_opener_; 680 bool has_opener_;
681 681
682 // Color chooser that was opened by this tab. 682 // Color chooser that was opened by this tab.
683 content::ColorChooser* color_chooser_; 683 content::ColorChooser* color_chooser_;
684 684
685 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 685 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
686 }; 686 };
687 687
688 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 688 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698