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

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

Issue 1258273006: Remove page id from title and state updating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch
Patch Set: comment nit Created 4 years, 2 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 IPC::Message* reply_msg) override; 467 IPC::Message* reply_msg) override;
468 void RunFileChooser(RenderFrameHost* render_frame_host, 468 void RunFileChooser(RenderFrameHost* render_frame_host,
469 const FileChooserParams& params) override; 469 const FileChooserParams& params) override;
470 void DidAccessInitialDocument() override; 470 void DidAccessInitialDocument() override;
471 void DidChangeName(RenderFrameHost* render_frame_host, 471 void DidChangeName(RenderFrameHost* render_frame_host,
472 const std::string& name) override; 472 const std::string& name) override;
473 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override; 473 void DocumentOnLoadCompleted(RenderFrameHost* render_frame_host) override;
474 void UpdateStateForFrame(RenderFrameHost* render_frame_host, 474 void UpdateStateForFrame(RenderFrameHost* render_frame_host,
475 const PageState& page_state) override; 475 const PageState& page_state) override;
476 void UpdateTitle(RenderFrameHost* render_frame_host, 476 void UpdateTitle(RenderFrameHost* render_frame_host,
477 int32_t page_id,
478 const base::string16& title, 477 const base::string16& title,
479 base::i18n::TextDirection title_direction) override; 478 base::i18n::TextDirection title_direction) override;
480 void UpdateEncoding(RenderFrameHost* render_frame_host, 479 void UpdateEncoding(RenderFrameHost* render_frame_host,
481 const std::string& encoding) override; 480 const std::string& encoding) override;
482 WebContents* GetAsWebContents() override; 481 WebContents* GetAsWebContents() override;
483 bool IsNeverVisible() override; 482 bool IsNeverVisible() override;
484 AccessibilityMode GetAccessibilityMode() const override; 483 AccessibilityMode GetAccessibilityMode() const override;
485 void AccessibilityEventReceived( 484 void AccessibilityEventReceived(
486 const std::vector<AXEventNotificationDetails>& details) override; 485 const std::vector<AXEventNotificationDetails>& details) override;
487 void AccessibilityLocationChangesReceived( 486 void AccessibilityLocationChangesReceived(
(...skipping 20 matching lines...) Expand all
508 // RenderFrameHostDelegate has the same method, so list it there because this 507 // RenderFrameHostDelegate has the same method, so list it there because this
509 // interface is going away. 508 // interface is going away.
510 // WebContents* GetAsWebContents() override; 509 // WebContents* GetAsWebContents() override;
511 void RenderViewCreated(RenderViewHost* render_view_host) override; 510 void RenderViewCreated(RenderViewHost* render_view_host) override;
512 void RenderViewReady(RenderViewHost* render_view_host) override; 511 void RenderViewReady(RenderViewHost* render_view_host) override;
513 void RenderViewTerminated(RenderViewHost* render_view_host, 512 void RenderViewTerminated(RenderViewHost* render_view_host,
514 base::TerminationStatus status, 513 base::TerminationStatus status,
515 int error_code) override; 514 int error_code) override;
516 void RenderViewDeleted(RenderViewHost* render_view_host) override; 515 void RenderViewDeleted(RenderViewHost* render_view_host) override;
517 void UpdateState(RenderViewHost* render_view_host, 516 void UpdateState(RenderViewHost* render_view_host,
518 int32_t page_id,
519 const PageState& page_state) override; 517 const PageState& page_state) override;
520 void UpdateTargetURL(RenderViewHost* render_view_host, 518 void UpdateTargetURL(RenderViewHost* render_view_host,
521 const GURL& url) override; 519 const GURL& url) override;
522 void Close(RenderViewHost* render_view_host) override; 520 void Close(RenderViewHost* render_view_host) override;
523 void RequestMove(const gfx::Rect& new_bounds) override; 521 void RequestMove(const gfx::Rect& new_bounds) override;
524 void DidCancelLoading() override; 522 void DidCancelLoading() override;
525 void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) override; 523 void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) override;
526 void RouteCloseEvent(RenderViewHost* rvh) override; 524 void RouteCloseEvent(RenderViewHost* rvh) override;
527 bool AddMessageToConsole(int32_t level, 525 bool AddMessageToConsole(int32_t level,
528 const base::string16& message, 526 const base::string16& message,
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 // Adds/removes a callback called on creation of each new WebContents. 1477 // Adds/removes a callback called on creation of each new WebContents.
1480 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1478 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1481 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1479 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1482 1480
1483 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1481 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1484 }; 1482 };
1485 1483
1486 } // namespace content 1484 } // namespace content
1487 1485
1488 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1486 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.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