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

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

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Accidentally made will_cause_resize always false in previous cleanup. Fixed Created 4 years, 10 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 | « content/public/browser/web_contents.h ('k') | content/shell/browser/blink_test_controller.cc » ('j') | 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_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // Invoked when the WebContents is muted/unmuted. 400 // Invoked when the WebContents is muted/unmuted.
401 virtual void DidUpdateAudioMutingState(bool muted) {} 401 virtual void DidUpdateAudioMutingState(bool muted) {}
402 402
403 // Invoked when a pepper plugin creates and shows or destroys a fullscreen 403 // Invoked when a pepper plugin creates and shows or destroys a fullscreen
404 // RenderWidget. 404 // RenderWidget.
405 virtual void DidShowFullscreenWidget(int routing_id) {} 405 virtual void DidShowFullscreenWidget(int routing_id) {}
406 virtual void DidDestroyFullscreenWidget(int routing_id) {} 406 virtual void DidDestroyFullscreenWidget(int routing_id) {}
407 407
408 // Invoked when the renderer process has toggled the tab into/out of 408 // Invoked when the renderer process has toggled the tab into/out of
409 // fullscreen mode. 409 // fullscreen mode.
410 virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen) {} 410 virtual void DidToggleFullscreenModeForTab(bool entered_fullscreen,
411 bool will_cause_resize) {}
411 412
412 // Invoked when an interstitial page is attached or detached. 413 // Invoked when an interstitial page is attached or detached.
413 virtual void DidAttachInterstitialPage() {} 414 virtual void DidAttachInterstitialPage() {}
414 virtual void DidDetachInterstitialPage() {} 415 virtual void DidDetachInterstitialPage() {}
415 416
416 // Invoked before a form repost warning is shown. 417 // Invoked before a form repost warning is shown.
417 virtual void BeforeFormRepostWarningShow() {} 418 virtual void BeforeFormRepostWarningShow() {}
418 419
419 // Invoked when the beforeunload handler fires. The time is from the renderer 420 // Invoked when the beforeunload handler fires. The time is from the renderer
420 // process. 421 // process.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 void ResetWebContents(); 484 void ResetWebContents();
484 485
485 WebContentsImpl* web_contents_; 486 WebContentsImpl* web_contents_;
486 487
487 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 488 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
488 }; 489 };
489 490
490 } // namespace content 491 } // namespace content
491 492
492 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 493 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/shell/browser/blink_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698