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

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

Issue 7453050: Plumb the title direction up to the renderer host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 int error_code) OVERRIDE; 637 int error_code) OVERRIDE;
638 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; 638 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE;
639 virtual void DidNavigate( 639 virtual void DidNavigate(
640 RenderViewHost* render_view_host, 640 RenderViewHost* render_view_host,
641 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 641 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
642 virtual void UpdateState(RenderViewHost* render_view_host, 642 virtual void UpdateState(RenderViewHost* render_view_host,
643 int32 page_id, 643 int32 page_id,
644 const std::string& state) OVERRIDE; 644 const std::string& state) OVERRIDE;
645 virtual void UpdateTitle(RenderViewHost* render_view_host, 645 virtual void UpdateTitle(RenderViewHost* render_view_host,
646 int32 page_id, 646 int32 page_id,
647 const string16& title) OVERRIDE; 647 const string16& title,
648 base::i18n::TextDirection title_direction) OVERRIDE;
648 virtual void UpdateEncoding(RenderViewHost* render_view_host, 649 virtual void UpdateEncoding(RenderViewHost* render_view_host,
649 const std::string& encoding) OVERRIDE; 650 const std::string& encoding) OVERRIDE;
650 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; 651 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE;
651 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; 652 virtual void Close(RenderViewHost* render_view_host) OVERRIDE;
652 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; 653 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE;
653 virtual void DidStartLoading() OVERRIDE; 654 virtual void DidStartLoading() OVERRIDE;
654 virtual void DidStopLoading() OVERRIDE; 655 virtual void DidStopLoading() OVERRIDE;
655 virtual void DidCancelLoading() OVERRIDE; 656 virtual void DidCancelLoading() OVERRIDE;
656 virtual void DidChangeLoadProgress(double progress) OVERRIDE; 657 virtual void DidChangeLoadProgress(double progress) OVERRIDE;
657 virtual void DocumentOnLoadCompletedInMainFrame( 658 virtual void DocumentOnLoadCompletedInMainFrame(
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 ObserverList<TabContentsObserver> observers_; 850 ObserverList<TabContentsObserver> observers_;
850 851
851 // Content restrictions, used to disable print/copy etc based on content's 852 // Content restrictions, used to disable print/copy etc based on content's
852 // (full-page plugins for now only) permissions. 853 // (full-page plugins for now only) permissions.
853 int content_restrictions_; 854 int content_restrictions_;
854 855
855 DISALLOW_COPY_AND_ASSIGN(TabContents); 856 DISALLOW_COPY_AND_ASSIGN(TabContents);
856 }; 857 };
857 858
858 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 859 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698