| OLD | NEW | 
|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_HOST_H__ | 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 
| 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 
| 7 | 7 | 
| 8 #include <string> | 8 #include <string> | 
| 9 #include <vector> | 9 #include <vector> | 
| 10 | 10 | 
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 375 | 375 | 
| 376   HostPersonalization personalization() { | 376   HostPersonalization personalization() { | 
| 377     return personalization_; | 377     return personalization_; | 
| 378   } | 378   } | 
| 379 #endif | 379 #endif | 
| 380 | 380 | 
| 381   // Forward a message from external host to chrome renderer. | 381   // Forward a message from external host to chrome renderer. | 
| 382   void ForwardMessageFromExternalHost(const std::string& target, | 382   void ForwardMessageFromExternalHost(const std::string& target, | 
| 383                                       const std::string& message); | 383                                       const std::string& message); | 
| 384 | 384 | 
|  | 385   // Message the renderer that we should be counted as a new document and not | 
|  | 386   // as a popup. | 
|  | 387   void DisassociateFromPopupCount(); | 
|  | 388 | 
| 385  protected: | 389  protected: | 
| 386   // Overridden from RenderWidgetHost: | 390   // Overridden from RenderWidgetHost: | 
| 387   virtual void UnhandledInputEvent(const WebInputEvent& event); | 391   virtual void UnhandledInputEvent(const WebInputEvent& event); | 
| 388 | 392 | 
| 389   // IPC message handlers: | 393   // IPC message handlers: | 
| 390   void OnMsgCreateView(int route_id, HANDLE modal_dialog_event); | 394   void OnMsgCreateView(int route_id, HANDLE modal_dialog_event); | 
| 391   void OnMsgCreateWidget(int route_id); | 395   void OnMsgCreateWidget(int route_id); | 
| 392   void OnMsgShowView(int route_id, | 396   void OnMsgShowView(int route_id, | 
| 393                      WindowOpenDisposition disposition, | 397                      WindowOpenDisposition disposition, | 
| 394                      const gfx::Rect& initial_pos, | 398                      const gfx::Rect& initial_pos, | 
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 571   virtual ~RenderViewHostFactory() {} | 575   virtual ~RenderViewHostFactory() {} | 
| 572 | 576 | 
| 573   virtual RenderViewHost* CreateRenderViewHost( | 577   virtual RenderViewHost* CreateRenderViewHost( | 
| 574       SiteInstance* instance, | 578       SiteInstance* instance, | 
| 575       RenderViewHostDelegate* delegate, | 579       RenderViewHostDelegate* delegate, | 
| 576       int routing_id, | 580       int routing_id, | 
| 577       HANDLE modal_dialog_event) = 0; | 581       HANDLE modal_dialog_event) = 0; | 
| 578 }; | 582 }; | 
| 579 | 583 | 
| 580 #endif  // CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 584 #endif  // CHROME_BROWSER_RENDER_VIEW_HOST_H__ | 
| 581 |  | 
| OLD | NEW | 
|---|