| OLD | NEW | 
|---|
| 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_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 474 | 474 | 
| 475  protected: | 475  protected: | 
| 476   // RenderWidgetHost protected overrides. | 476   // RenderWidgetHost protected overrides. | 
| 477   virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 477   virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 
| 478                                       bool* is_keyboard_shortcut); | 478                                       bool* is_keyboard_shortcut); | 
| 479   virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); | 479   virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event); | 
| 480   virtual void OnUserGesture(); | 480   virtual void OnUserGesture(); | 
| 481   virtual void NotifyRendererUnresponsive(); | 481   virtual void NotifyRendererUnresponsive(); | 
| 482   virtual void NotifyRendererResponsive(); | 482   virtual void NotifyRendererResponsive(); | 
| 483   virtual void OnMsgFocusedNodeChanged(); | 483   virtual void OnMsgFocusedNodeChanged(); | 
|  | 484   virtual void OnMsgFocus(); | 
|  | 485   virtual void OnMsgBlur(); | 
| 484 | 486 | 
| 485   // IPC message handlers. | 487   // IPC message handlers. | 
| 486   void OnMsgShowView(int route_id, | 488   void OnMsgShowView(int route_id, | 
| 487                      WindowOpenDisposition disposition, | 489                      WindowOpenDisposition disposition, | 
| 488                      const gfx::Rect& initial_pos, | 490                      const gfx::Rect& initial_pos, | 
| 489                      bool user_gesture); | 491                      bool user_gesture); | 
| 490   void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 492   void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); | 
| 491   void OnMsgRunModal(IPC::Message* reply_msg); | 493   void OnMsgRunModal(IPC::Message* reply_msg); | 
| 492   void OnMsgRenderViewReady(); | 494   void OnMsgRenderViewReady(); | 
| 493   void OnMsgRenderViewGone(); | 495   void OnMsgRenderViewGone(); | 
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 734   int autofill_query_id_; | 736   int autofill_query_id_; | 
| 735   std::vector<string16> autofill_values_; | 737   std::vector<string16> autofill_values_; | 
| 736   std::vector<string16> autofill_labels_; | 738   std::vector<string16> autofill_labels_; | 
| 737   std::vector<string16> autofill_icons_; | 739   std::vector<string16> autofill_icons_; | 
| 738   std::vector<int> autofill_unique_ids_; | 740   std::vector<int> autofill_unique_ids_; | 
| 739 | 741 | 
| 740   DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 742   DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 
| 741 }; | 743 }; | 
| 742 | 744 | 
| 743 #endif  // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 745 #endif  // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 
| OLD | NEW | 
|---|