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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to fix test broken on Mac Created 5 years 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_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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 const ImageDownloadCallback& callback) override; 364 const ImageDownloadCallback& callback) override;
365 bool IsSubframe() const override; 365 bool IsSubframe() const override;
366 void Find(int request_id, 366 void Find(int request_id,
367 const base::string16& search_text, 367 const base::string16& search_text,
368 const blink::WebFindOptions& options) override; 368 const blink::WebFindOptions& options) override;
369 void StopFinding(StopFindAction action) override; 369 void StopFinding(StopFindAction action) override;
370 void InsertCSS(const std::string& css) override; 370 void InsertCSS(const std::string& css) override;
371 bool WasRecentlyAudible() override; 371 bool WasRecentlyAudible() override;
372 void GetManifest(const GetManifestCallback& callback) override; 372 void GetManifest(const GetManifestCallback& callback) override;
373 void HasManifest(const HasManifestCallback& callback) override; 373 void HasManifest(const HasManifestCallback& callback) override;
374 void ExitFullscreen() override; 374 void ExitFullscreen(bool will_cause_resize) override;
375 void ResumeLoadingCreatedWebContents() override; 375 void ResumeLoadingCreatedWebContents() override;
376 base::debug::StackTrace GetCreationStackTrace() override; 376 base::debug::StackTrace GetCreationStackTrace() override;
377 #if defined(OS_ANDROID) 377 #if defined(OS_ANDROID)
378 void OnMediaSessionStateChanged(); 378 void OnMediaSessionStateChanged();
379 void ResumeMediaSession() override; 379 void ResumeMediaSession() override;
380 void SuspendMediaSession() override; 380 void SuspendMediaSession() override;
381 void StopMediaSession() override; 381 void StopMediaSession() override;
382 #if !defined(USE_AURA) 382 #if !defined(USE_AURA)
383 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; 383 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override;
384 virtual WebContentsAndroid* GetWebContentsAndroid(); 384 virtual WebContentsAndroid* GetWebContentsAndroid();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 bool IsNeverVisible() override; 429 bool IsNeverVisible() override;
430 AccessibilityMode GetAccessibilityMode() const override; 430 AccessibilityMode GetAccessibilityMode() const override;
431 void AccessibilityEventReceived( 431 void AccessibilityEventReceived(
432 const std::vector<AXEventNotificationDetails>& details) override; 432 const std::vector<AXEventNotificationDetails>& details) override;
433 RenderFrameHost* GetGuestByInstanceID( 433 RenderFrameHost* GetGuestByInstanceID(
434 RenderFrameHost* render_frame_host, 434 RenderFrameHost* render_frame_host,
435 int browser_plugin_instance_id) override; 435 int browser_plugin_instance_id) override;
436 GeolocationServiceContext* GetGeolocationServiceContext() override; 436 GeolocationServiceContext* GetGeolocationServiceContext() override;
437 WakeLockServiceContext* GetWakeLockServiceContext() override; 437 WakeLockServiceContext* GetWakeLockServiceContext() override;
438 void EnterFullscreenMode(const GURL& origin) override; 438 void EnterFullscreenMode(const GURL& origin) override;
439 void ExitFullscreenMode() override; 439 void ExitFullscreenMode(bool will_cause_resize) override;
440 bool ShouldRouteMessageEvent( 440 bool ShouldRouteMessageEvent(
441 RenderFrameHost* target_rfh, 441 RenderFrameHost* target_rfh,
442 SiteInstance* source_site_instance) const override; 442 SiteInstance* source_site_instance) const override;
443 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; 443 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override;
444 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override; 444 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override;
445 #if defined(OS_WIN) 445 #if defined(OS_WIN)
446 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; 446 gfx::NativeViewAccessible GetParentNativeViewAccessible() override;
447 #endif 447 #endif
448 448
449 // RenderViewHostDelegate ---------------------------------------------------- 449 // RenderViewHostDelegate ----------------------------------------------------
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 // Adds/removes a callback called on creation of each new WebContents. 1355 // Adds/removes a callback called on creation of each new WebContents.
1356 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1356 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1357 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1357 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1358 1358
1359 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1359 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1360 }; 1360 };
1361 1361
1362 } // namespace content 1362 } // namespace content
1363 1363
1364 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1364 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698