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

Side by Side Diff: content/browser/renderer_host/render_view_host.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_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 const gfx::Rect& initial_pos, 405 const gfx::Rect& initial_pos,
406 bool user_gesture); 406 bool user_gesture);
407 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 407 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
408 void OnMsgShowFullscreenWidget(int route_id); 408 void OnMsgShowFullscreenWidget(int route_id);
409 void OnMsgRunModal(IPC::Message* reply_msg); 409 void OnMsgRunModal(IPC::Message* reply_msg);
410 void OnMsgRenderViewReady(); 410 void OnMsgRenderViewReady();
411 void OnMsgRenderViewGone(int status, int error_code); 411 void OnMsgRenderViewGone(int status, int error_code);
412 void OnMsgNavigate(const IPC::Message& msg); 412 void OnMsgNavigate(const IPC::Message& msg);
413 void OnMsgUpdateState(int32 page_id, 413 void OnMsgUpdateState(int32 page_id,
414 const std::string& state); 414 const std::string& state);
415 void OnMsgUpdateTitle(int32 page_id, const string16& title); 415 void OnMsgUpdateTitle(int32 page_id, const string16& title,
416 WebKit::WebTextDirection title_direction);
jeremy 2011/08/02 09:34:37 nit: Style here seems to be one parameter per line
416 void OnMsgUpdateEncoding(const std::string& encoding); 417 void OnMsgUpdateEncoding(const std::string& encoding);
417 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); 418 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
418 void OnMsgClose(); 419 void OnMsgClose();
419 void OnMsgRequestMove(const gfx::Rect& pos); 420 void OnMsgRequestMove(const gfx::Rect& pos);
420 void OnMsgDidStartLoading(); 421 void OnMsgDidStartLoading();
421 void OnMsgDidStopLoading(); 422 void OnMsgDidStopLoading();
422 void OnMsgDidChangeLoadProgress(double load_progress); 423 void OnMsgDidChangeLoadProgress(double load_progress);
423 void OnMsgDocumentAvailableInMainFrame(); 424 void OnMsgDocumentAvailableInMainFrame();
424 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); 425 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id);
425 void OnMsgContextMenu(const ContextMenuParams& params); 426 void OnMsgContextMenu(const ContextMenuParams& params);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // The termination status of the last render view that terminated. 546 // The termination status of the last render view that terminated.
546 base::TerminationStatus render_view_termination_status_; 547 base::TerminationStatus render_view_termination_status_;
547 548
548 // A list of observers that filter messages. Weak references. 549 // A list of observers that filter messages. Weak references.
549 ObserverList<RenderViewHostObserver> observers_; 550 ObserverList<RenderViewHostObserver> observers_;
550 551
551 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 552 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
552 }; 553 };
553 554
554 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 555 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698