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

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

Issue 1425303002: OOPIF: Stop using HistoryController and refactor UpdateState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit Created 5 years, 1 month 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 JavaScriptMessageType type, 408 JavaScriptMessageType type,
409 IPC::Message* reply_msg) override; 409 IPC::Message* reply_msg) override;
410 void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, 410 void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host,
411 const base::string16& message, 411 const base::string16& message,
412 bool is_reload, 412 bool is_reload,
413 IPC::Message* reply_msg) override; 413 IPC::Message* reply_msg) override;
414 void DidAccessInitialDocument() override; 414 void DidAccessInitialDocument() override;
415 void DidChangeName(RenderFrameHost* render_frame_host, 415 void DidChangeName(RenderFrameHost* render_frame_host,
416 const std::string& name) override; 416 const std::string& name) override;
417 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override; 417 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override;
418 void UpdateStateForFrame(RenderFrameHost* render_frame_host,
419 const PageState& page_state) override;
418 void UpdateTitle(RenderFrameHost* render_frame_host, 420 void UpdateTitle(RenderFrameHost* render_frame_host,
419 int32 page_id, 421 int32 page_id,
420 const base::string16& title, 422 const base::string16& title,
421 base::i18n::TextDirection title_direction) override; 423 base::i18n::TextDirection title_direction) override;
422 void UpdateEncoding(RenderFrameHost* render_frame_host, 424 void UpdateEncoding(RenderFrameHost* render_frame_host,
423 const std::string& encoding) override; 425 const std::string& encoding) override;
424 WebContents* GetAsWebContents() override; 426 WebContents* GetAsWebContents() override;
425 bool IsNeverVisible() override; 427 bool IsNeverVisible() override;
426 AccessibilityMode GetAccessibilityMode() const override; 428 AccessibilityMode GetAccessibilityMode() const override;
427 void AccessibilityEventReceived( 429 void AccessibilityEventReceived(
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 // Adds/removes a callback called on creation of each new WebContents. 1337 // Adds/removes a callback called on creation of each new WebContents.
1336 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1338 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1337 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1339 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1338 1340
1339 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1341 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1340 }; 1342 };
1341 1343
1342 } // namespace content 1344 } // namespace content
1343 1345
1344 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1346 #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