OLD | NEW |
---|---|
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_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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
370 virtual void ForwardMouseEvent( | 370 virtual void ForwardMouseEvent( |
371 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; | 371 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; |
372 virtual void OnMouseActivate() OVERRIDE; | 372 virtual void OnMouseActivate() OVERRIDE; |
373 virtual void ForwardKeyboardEvent( | 373 virtual void ForwardKeyboardEvent( |
374 const NativeWebKeyboardEvent& key_event) OVERRIDE; | 374 const NativeWebKeyboardEvent& key_event) OVERRIDE; |
375 | 375 |
376 // Creates a new RenderView with the given route id. | 376 // Creates a new RenderView with the given route id. |
377 void CreateNewWindow(int route_id, | 377 void CreateNewWindow(int route_id, |
378 const ViewHostMsg_CreateWindow_Params& params); | 378 const ViewHostMsg_CreateWindow_Params& params); |
379 | 379 |
380 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 380 // Creates a new RenderWidget with the given route id. |
381 // if this widget is a popup and what kind of popup it is (select, autofill). | 381 // |popup_type| indicates if this widget is a popup and what kind of popup it |
382 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 382 // is (select, autofill). |
383 void CreateNewWidget(int route_id, | |
384 WebKit::WebPopupType popup_type); | |
jonathan.backer
2012/01/16 19:47:26
nit: not sure how this is better.
piman
2012/01/17 19:40:54
It's not, reverted, thanks. I originally had added
| |
383 | 385 |
384 // Creates a full screen RenderWidget. | 386 // Creates a full screen RenderWidget. |
385 void CreateNewFullscreenWidget(int route_id); | 387 void CreateNewFullscreenWidget(int route_id); |
386 | 388 |
387 #if defined(OS_MACOSX) | 389 #if defined(OS_MACOSX) |
388 // Select popup menu related methods (for external popup menus). | 390 // Select popup menu related methods (for external popup menus). |
389 void DidSelectPopupMenuItem(int selected_index); | 391 void DidSelectPopupMenuItem(int selected_index); |
390 void DidCancelPopupMenu(); | 392 void DidCancelPopupMenu(); |
391 #endif | 393 #endif |
392 | 394 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
690 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 692 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; |
691 PowerSaveBlockerMap power_save_blockers_; | 693 PowerSaveBlockerMap power_save_blockers_; |
692 | 694 |
693 // A list of observers that filter messages. Weak references. | 695 // A list of observers that filter messages. Weak references. |
694 ObserverList<content::RenderViewHostObserver> observers_; | 696 ObserverList<content::RenderViewHostObserver> observers_; |
695 | 697 |
696 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 698 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
697 }; | 699 }; |
698 | 700 |
699 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 701 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |