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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 3655007: Merge 58701 - Relanding this:... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/517/src/
Patch Set: Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 // Saves the given title to the navigation entry and does associated work. It 816 // Saves the given title to the navigation entry and does associated work. It
817 // will update history and the view for the new title, and also synthesize 817 // will update history and the view for the new title, and also synthesize
818 // titles for file URLs that have none (so we require that the URL of the 818 // titles for file URLs that have none (so we require that the URL of the
819 // entry already be set). 819 // entry already be set).
820 // 820 //
821 // This is used as the backend for state updates, which include a new title, 821 // This is used as the backend for state updates, which include a new title,
822 // or the dedicated set title message. It returns true if the new title is 822 // or the dedicated set title message. It returns true if the new title is
823 // different and was therefore updated. 823 // different and was therefore updated.
824 bool UpdateTitleForEntry(NavigationEntry* entry, const std::wstring& title); 824 bool UpdateTitleForEntry(NavigationEntry* entry, const std::wstring& title);
825 825
826 // Causes the TabContents to navigate in the right renderer to |entry|, which
827 // must be already part of the entries in the navigation controller.
828 // This does not change the NavigationController state.
829 bool NavigateToEntry(const NavigationEntry& entry,
830 NavigationController::ReloadType reload_type);
831
826 // Misc non-view stuff ------------------------------------------------------- 832 // Misc non-view stuff -------------------------------------------------------
827 833
828 // Helper functions for sending notifications. 834 // Helper functions for sending notifications.
829 void NotifySwapped(); 835 void NotifySwapped();
830 void NotifyConnected(); 836 void NotifyConnected();
831 void NotifyDisconnected(); 837 void NotifyDisconnected();
832 838
833 // If params has a searchable form, this tries to create a new keyword. 839 // If params has a searchable form, this tries to create a new keyword.
834 void GenerateKeywordIfNecessary( 840 void GenerateKeywordIfNecessary(
835 const ViewHostMsg_FrameNavigate_Params& params); 841 const ViewHostMsg_FrameNavigate_Params& params);
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 bool displaying_pdf_content_; 1274 bool displaying_pdf_content_;
1269 1275
1270 scoped_ptr<MatchPreview> match_preview_; 1276 scoped_ptr<MatchPreview> match_preview_;
1271 1277
1272 // --------------------------------------------------------------------------- 1278 // ---------------------------------------------------------------------------
1273 1279
1274 DISALLOW_COPY_AND_ASSIGN(TabContents); 1280 DISALLOW_COPY_AND_ASSIGN(TabContents);
1275 }; 1281 };
1276 1282
1277 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1283 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_host_manager_unittest.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698