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

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

Issue 1415603018: OOPIF: Support session restore by combining/splitting frame states. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up and fix bugs 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 class WebContentsAudioMuter; 69 class WebContentsAudioMuter;
70 class WebContentsDelegate; 70 class WebContentsDelegate;
71 class WebContentsImpl; 71 class WebContentsImpl;
72 class WebContentsObserver; 72 class WebContentsObserver;
73 class WebContentsView; 73 class WebContentsView;
74 class WebContentsViewDelegate; 74 class WebContentsViewDelegate;
75 struct AXEventNotificationDetails; 75 struct AXEventNotificationDetails;
76 struct ColorSuggestion; 76 struct ColorSuggestion;
77 struct FaviconURL; 77 struct FaviconURL;
78 struct LoadNotificationDetails; 78 struct LoadNotificationDetails;
79 struct ExplodedFrameState;
79 struct ResourceRedirectDetails; 80 struct ResourceRedirectDetails;
80 struct ResourceRequestDetails; 81 struct ResourceRequestDetails;
81 82
82 #if defined(OS_ANDROID) && !defined(USE_AURA) 83 #if defined(OS_ANDROID) && !defined(USE_AURA)
83 class WebContentsAndroid; 84 class WebContentsAndroid;
84 #endif 85 #endif
85 86
86 // Factory function for the implementations that content knows about. Takes 87 // Factory function for the implementations that content knows about. Takes
87 // ownership of |delegate|. 88 // ownership of |delegate|.
88 WebContentsView* CreateWebContentsView( 89 WebContentsView* CreateWebContentsView(
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 IPC::Message* reply_msg) override; 411 IPC::Message* reply_msg) override;
411 void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, 412 void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host,
412 const base::string16& message, 413 const base::string16& message,
413 bool is_reload, 414 bool is_reload,
414 IPC::Message* reply_msg) override; 415 IPC::Message* reply_msg) override;
415 void DidAccessInitialDocument() override; 416 void DidAccessInitialDocument() override;
416 void DidChangeName(RenderFrameHost* render_frame_host, 417 void DidChangeName(RenderFrameHost* render_frame_host,
417 const std::string& name) override; 418 const std::string& name) override;
418 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override; 419 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override;
419 void UpdateStateForFrame(RenderFrameHost* render_frame_host, 420 void UpdateStateForFrame(RenderFrameHost* render_frame_host,
420 const PageState& page_state) override; 421 const ExplodedFrameState& page_state) override;
421 void UpdateTitle(RenderFrameHost* render_frame_host, 422 void UpdateTitle(RenderFrameHost* render_frame_host,
422 int32 page_id, 423 int32 page_id,
423 const base::string16& title, 424 const base::string16& title,
424 base::i18n::TextDirection title_direction) override; 425 base::i18n::TextDirection title_direction) override;
425 void UpdateEncoding(RenderFrameHost* render_frame_host, 426 void UpdateEncoding(RenderFrameHost* render_frame_host,
426 const std::string& encoding) override; 427 const std::string& encoding) override;
427 WebContents* GetAsWebContents() override; 428 WebContents* GetAsWebContents() override;
428 bool IsNeverVisible() override; 429 bool IsNeverVisible() override;
429 AccessibilityMode GetAccessibilityMode() const override; 430 AccessibilityMode GetAccessibilityMode() const override;
430 void AccessibilityEventReceived( 431 void AccessibilityEventReceived(
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 // Adds/removes a callback called on creation of each new WebContents. 1358 // Adds/removes a callback called on creation of each new WebContents.
1358 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1359 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1359 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1360 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1360 1361
1361 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1362 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1362 }; 1363 };
1363 1364
1364 } // namespace content 1365 } // namespace content
1365 1366
1366 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1367 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_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