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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 274883002: Move didReceiveTitle and related stuff to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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) 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/process/kill.h" 16 #include "base/process/kill.h"
17 #include "content/browser/renderer_host/render_widget_host_impl.h" 17 #include "content/browser/renderer_host/render_widget_host_impl.h"
18 #include "content/browser/site_instance_impl.h" 18 #include "content/browser/site_instance_impl.h"
19 #include "content/common/drag_event_source_info.h" 19 #include "content/common/drag_event_source_info.h"
20 #include "content/public/browser/notification_observer.h" 20 #include "content/public/browser/notification_observer.h"
21 #include "content/public/browser/render_view_host.h" 21 #include "content/public/browser/render_view_host.h"
22 #include "content/public/common/window_container_type.h" 22 #include "content/public/common/window_container_type.h"
23 #include "net/base/load_states.h" 23 #include "net/base/load_states.h"
24 #include "third_party/WebKit/public/web/WebAXEnums.h" 24 #include "third_party/WebKit/public/web/WebAXEnums.h"
25 #include "third_party/WebKit/public/web/WebConsoleMessage.h" 25 #include "third_party/WebKit/public/web/WebConsoleMessage.h"
26 #include "third_party/WebKit/public/web/WebPopupType.h" 26 #include "third_party/WebKit/public/web/WebPopupType.h"
27 #include "third_party/WebKit/public/web/WebTextDirection.h"
28 #include "third_party/skia/include/core/SkColor.h" 27 #include "third_party/skia/include/core/SkColor.h"
29 #include "ui/accessibility/ax_node_data.h" 28 #include "ui/accessibility/ax_node_data.h"
30 #include "ui/base/window_open_disposition.h" 29 #include "ui/base/window_open_disposition.h"
31 30
32 class SkBitmap; 31 class SkBitmap;
33 class FrameMsg_Navigate; 32 class FrameMsg_Navigate;
34 struct AccessibilityHostMsg_EventParams; 33 struct AccessibilityHostMsg_EventParams;
35 struct AccessibilityHostMsg_LocationChangeParams; 34 struct AccessibilityHostMsg_LocationChangeParams;
36 struct MediaPlayerAction; 35 struct MediaPlayerAction;
37 struct ViewHostMsg_CreateWindow_Params; 36 struct ViewHostMsg_CreateWindow_Params;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 void OnShowView(int route_id, 475 void OnShowView(int route_id,
477 WindowOpenDisposition disposition, 476 WindowOpenDisposition disposition,
478 const gfx::Rect& initial_pos, 477 const gfx::Rect& initial_pos,
479 bool user_gesture); 478 bool user_gesture);
480 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); 479 void OnShowWidget(int route_id, const gfx::Rect& initial_pos);
481 void OnShowFullscreenWidget(int route_id); 480 void OnShowFullscreenWidget(int route_id);
482 void OnRunModal(int opener_id, IPC::Message* reply_msg); 481 void OnRunModal(int opener_id, IPC::Message* reply_msg);
483 void OnRenderViewReady(); 482 void OnRenderViewReady();
484 void OnRenderProcessGone(int status, int error_code); 483 void OnRenderProcessGone(int status, int error_code);
485 void OnUpdateState(int32 page_id, const PageState& state); 484 void OnUpdateState(int32 page_id, const PageState& state);
486 void OnUpdateTitle(int32 page_id,
487 const base::string16& title,
488 blink::WebTextDirection title_direction);
489 void OnUpdateEncoding(const std::string& encoding);
490 void OnUpdateTargetURL(int32 page_id, const GURL& url); 485 void OnUpdateTargetURL(int32 page_id, const GURL& url);
491 void OnClose(); 486 void OnClose();
492 void OnRequestMove(const gfx::Rect& pos); 487 void OnRequestMove(const gfx::Rect& pos);
493 void OnDidChangeLoadProgress(double load_progress); 488 void OnDidChangeLoadProgress(double load_progress);
494 void OnDocumentAvailableInMainFrame(); 489 void OnDocumentAvailableInMainFrame();
495 void OnToggleFullscreen(bool enter_fullscreen); 490 void OnToggleFullscreen(bool enter_fullscreen);
496 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); 491 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size);
497 void OnDidChangeScrollOffset(); 492 void OnDidChangeScrollOffset();
498 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 493 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
499 bool is_pinned_to_right); 494 bool is_pinned_to_right);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 643 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
649 }; 644 };
650 645
651 #if defined(COMPILER_MSVC) 646 #if defined(COMPILER_MSVC)
652 #pragma warning(pop) 647 #pragma warning(pop)
653 #endif 648 #endif
654 649
655 } // namespace content 650 } // namespace content
656 651
657 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698