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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 3055009: Use RenderWidget(Host) for full screen (Closed)
Patch Set: Add IPC::SyncMessage dependency. Fix auto complete. Created 10 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
OLDNEW
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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 // Creates a new RenderView with the given route id. 427 // Creates a new RenderView with the given route id.
428 void CreateNewWindow(int route_id, 428 void CreateNewWindow(int route_id,
429 WindowContainerType window_container_type, 429 WindowContainerType window_container_type,
430 const string16& frame_name); 430 const string16& frame_name);
431 431
432 // Creates a new RenderWidget with the given route id. |popup_type| indicates 432 // Creates a new RenderWidget with the given route id. |popup_type| indicates
433 // if this widget is a popup and what kind of popup it is (select, autofill). 433 // if this widget is a popup and what kind of popup it is (select, autofill).
434 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 434 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
435 435
436 // Creates a full screen RenderWidget.
437 void CreateNewFullscreenWidget(int route_id, WebKit::WebPopupType popup_type);
438
436 // Sends the response to an extension api call. 439 // Sends the response to an extension api call.
437 void SendExtensionResponse(int request_id, bool success, 440 void SendExtensionResponse(int request_id, bool success,
438 const std::string& response, 441 const std::string& response,
439 const std::string& error); 442 const std::string& error);
440 443
441 // Sends a response to an extension api call that it was blocked for lack of 444 // Sends a response to an extension api call that it was blocked for lack of
442 // permission. 445 // permission.
443 void BlockExtensionRequest(int request_id); 446 void BlockExtensionRequest(int request_id);
444 447
445 // Tells the renderer which browser window it is being attached to. 448 // Tells the renderer which browser window it is being attached to.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 virtual void OnMsgFocusedNodeChanged(); 484 virtual void OnMsgFocusedNodeChanged();
482 virtual void OnMsgFocus(); 485 virtual void OnMsgFocus();
483 virtual void OnMsgBlur(); 486 virtual void OnMsgBlur();
484 487
485 // IPC message handlers. 488 // IPC message handlers.
486 void OnMsgShowView(int route_id, 489 void OnMsgShowView(int route_id,
487 WindowOpenDisposition disposition, 490 WindowOpenDisposition disposition,
488 const gfx::Rect& initial_pos, 491 const gfx::Rect& initial_pos,
489 bool user_gesture); 492 bool user_gesture);
490 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 493 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
494 void OnMsgShowFullscreenWidget(int route_id);
491 void OnMsgRunModal(IPC::Message* reply_msg); 495 void OnMsgRunModal(IPC::Message* reply_msg);
492 void OnMsgRenderViewReady(); 496 void OnMsgRenderViewReady();
493 void OnMsgRenderViewGone(); 497 void OnMsgRenderViewGone();
494 void OnMsgNavigate(const IPC::Message& msg); 498 void OnMsgNavigate(const IPC::Message& msg);
495 void OnMsgUpdateState(int32 page_id, 499 void OnMsgUpdateState(int32 page_id,
496 const std::string& state); 500 const std::string& state);
497 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); 501 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title);
498 void OnMsgUpdateEncoding(const std::string& encoding); 502 void OnMsgUpdateEncoding(const std::string& encoding);
499 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); 503 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
500 void OnMsgThumbnail(const GURL& url, 504 void OnMsgThumbnail(const GURL& url,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 int autofill_query_id_; 738 int autofill_query_id_;
735 std::vector<string16> autofill_values_; 739 std::vector<string16> autofill_values_;
736 std::vector<string16> autofill_labels_; 740 std::vector<string16> autofill_labels_;
737 std::vector<string16> autofill_icons_; 741 std::vector<string16> autofill_icons_;
738 std::vector<int> autofill_unique_ids_; 742 std::vector<int> autofill_unique_ids_;
739 743
740 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 744 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
741 }; 745 };
742 746
743 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 747 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.h ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698