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

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

Issue 6336012: Get rid of RenderViewHostDelegate::BrowserIntegration since it was unnecessar... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 const ThumbnailScore& score, 562 const ThumbnailScore& score,
563 const SkBitmap& bitmap); 563 const SkBitmap& bitmap);
564 void OnMsgScreenshot(const SkBitmap& bitmap); 564 void OnMsgScreenshot(const SkBitmap& bitmap);
565 void OnMsgClose(); 565 void OnMsgClose();
566 void OnMsgRequestMove(const gfx::Rect& pos); 566 void OnMsgRequestMove(const gfx::Rect& pos);
567 void OnMsgDidStartLoading(); 567 void OnMsgDidStartLoading();
568 void OnMsgDidStopLoading(); 568 void OnMsgDidStopLoading();
569 void OnMsgDidChangeLoadProgress(double load_progress); 569 void OnMsgDidChangeLoadProgress(double load_progress);
570 void OnMsgDocumentAvailableInMainFrame(); 570 void OnMsgDocumentAvailableInMainFrame();
571 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); 571 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id);
572 void OnMsgFindReply(int request_id,
573 int number_of_matches,
574 const gfx::Rect& selection_rect,
575 int active_match_ordinal,
576 bool final_update);
577 void OnExecuteCodeFinished(int request_id, bool success); 572 void OnExecuteCodeFinished(int request_id, bool success);
578 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url); 573 void OnMsgUpdateFavIconURL(int32 page_id, const GURL& icon_url);
579 void OnMsgDidDownloadFavIcon(int id, 574 void OnMsgDidDownloadFavIcon(int id,
580 const GURL& image_url, 575 const GURL& image_url,
581 bool errored, 576 bool errored,
582 const SkBitmap& image_data); 577 const SkBitmap& image_data);
583 void OnMsgContextMenu(const ContextMenuParams& params); 578 void OnMsgContextMenu(const ContextMenuParams& params);
584 void OnMsgOpenURL(const GURL& url, const GURL& referrer, 579 void OnMsgOpenURL(const GURL& url, const GURL& referrer,
585 WindowOpenDisposition disposition); 580 WindowOpenDisposition disposition);
586 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); 581 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size);
587 void OnMsgDomOperationResponse(const std::string& json_string, 582 void OnMsgDomOperationResponse(const std::string& json_string,
588 int automation_id); 583 int automation_id);
589 void OnMsgDOMUISend(const GURL& source_url, 584 void OnMsgDOMUISend(const GURL& source_url,
590 const std::string& message, 585 const std::string& message,
591 const std::string& content); 586 const std::string& content);
592 void OnMsgForwardMessageToExternalHost(const std::string& message, 587 void OnMsgForwardMessageToExternalHost(const std::string& message,
593 const std::string& origin, 588 const std::string& origin,
594 const std::string& target); 589 const std::string& target);
595 void OnMsgGoToEntryAtOffset(int offset);
596 void OnMsgSetTooltipText(const std::wstring& tooltip_text, 590 void OnMsgSetTooltipText(const std::wstring& tooltip_text,
597 WebKit::WebTextDirection text_direction_hint); 591 WebKit::WebTextDirection text_direction_hint);
598 void OnMsgSelectionChanged(const std::string& text); 592 void OnMsgSelectionChanged(const std::string& text);
599 void OnMsgPasteFromSelectionClipboard(); 593 void OnMsgPasteFromSelectionClipboard();
600 void OnMsgRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params); 594 void OnMsgRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params);
601 void OnMsgRunJavaScriptMessage(const std::wstring& message, 595 void OnMsgRunJavaScriptMessage(const std::wstring& message,
602 const std::wstring& default_prompt, 596 const std::wstring& default_prompt,
603 const GURL& frame_url, 597 const GURL& frame_url,
604 const int flags, 598 const int flags,
605 IPC::Message* reply_msg); 599 IPC::Message* reply_msg);
(...skipping 20 matching lines...) Expand all
626 void OnUpdateInspectorSetting(const std::string& key, 620 void OnUpdateInspectorSetting(const std::string& key,
627 const std::string& value); 621 const std::string& value);
628 void OnForwardToDevToolsAgent(const IPC::Message& message); 622 void OnForwardToDevToolsAgent(const IPC::Message& message);
629 void OnForwardToDevToolsClient(const IPC::Message& message); 623 void OnForwardToDevToolsClient(const IPC::Message& message);
630 void OnActivateDevToolsWindow(); 624 void OnActivateDevToolsWindow();
631 void OnCloseDevToolsWindow(); 625 void OnCloseDevToolsWindow();
632 void OnRequestDockDevToolsWindow(); 626 void OnRequestDockDevToolsWindow();
633 void OnRequestUndockDevToolsWindow(); 627 void OnRequestUndockDevToolsWindow();
634 void OnDevToolsRuntimePropertyChanged(const std::string& name, 628 void OnDevToolsRuntimePropertyChanged(const std::string& name,
635 const std::string& value); 629 const std::string& value);
636 void OnMissingPluginStatus(int status);
637 void OnCrashedPlugin(const FilePath& plugin_path);
638 void OnBlockedOutdatedPlugin(const string16& name, const GURL& update_url);
639
640 void OnReceivedSavableResourceLinksForCurrentPage( 630 void OnReceivedSavableResourceLinksForCurrentPage(
641 const std::vector<GURL>& resources_list, 631 const std::vector<GURL>& resources_list,
642 const std::vector<GURL>& referrers_list, 632 const std::vector<GURL>& referrers_list,
643 const std::vector<GURL>& frames_list); 633 const std::vector<GURL>& frames_list);
644
645 void OnReceivedSerializedHtmlData(const GURL& frame_url, 634 void OnReceivedSerializedHtmlData(const GURL& frame_url,
646 const std::string& data, 635 const std::string& data,
647 int32 status); 636 int32 status);
648 637
649 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info);
650 void OnInstallApplication(const WebApplicationInfo& info);
651 void OnMsgShouldCloseACK(bool proceed); 638 void OnMsgShouldCloseACK(bool proceed);
652 void OnShowDesktopNotification( 639 void OnShowDesktopNotification(
653 const ViewHostMsg_ShowNotification_Params& params); 640 const ViewHostMsg_ShowNotification_Params& params);
654 void OnCancelDesktopNotification(int notification_id); 641 void OnCancelDesktopNotification(int notification_id);
655 void OnRequestNotificationPermission(const GURL& origin, int callback_id); 642 void OnRequestNotificationPermission(const GURL& origin, int callback_id);
656 643
657 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params); 644 void OnExtensionRequest(const ViewHostMsg_DomMessage_Params& params);
658 void OnExtensionPostMessage(int port_id, const std::string& message); 645 void OnExtensionPostMessage(int port_id, const std::string& message);
659 void OnAccessibilityNotifications( 646 void OnAccessibilityNotifications(
660 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); 647 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params);
661 void OnCSSInserted(); 648 void OnCSSInserted();
662 void OnPageContents(const GURL& url,
663 int32 page_id,
664 const string16& contents,
665 const std::string& language,
666 bool page_translatable);
667 void OnPageTranslated(int32 page_id,
668 const std::string& original_lang,
669 const std::string& translated_lang,
670 TranslateErrors::Type error_type);
671 void OnContentBlocked(ContentSettingsType type, 649 void OnContentBlocked(ContentSettingsType type,
672 const std::string& resource_identifier); 650 const std::string& resource_identifier);
673 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); 651 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
674 void OnWebDatabaseAccessed(const GURL& url, 652 void OnWebDatabaseAccessed(const GURL& url,
675 const string16& name, 653 const string16& name,
676 const string16& display_name, 654 const string16& display_name,
677 unsigned long estimated_size, 655 unsigned long estimated_size,
678 bool blocked_by_policy); 656 bool blocked_by_policy);
679 void OnUpdateZoomLimits(int minimum_percent, 657 void OnUpdateZoomLimits(int minimum_percent,
680 int maximum_percent, 658 int maximum_percent,
681 bool remember); 659 bool remember);
682 void OnSetSuggestions(int32 page_id,
683 const std::vector<std::string>& suggestions);
684 void OnInstantSupportDetermined(int32 page_id, bool result);
685 void OnDetectedPhishingSite(const GURL& phishing_url, double phishing_score); 660 void OnDetectedPhishingSite(const GURL& phishing_url, double phishing_score);
686 void OnScriptEvalResponse(int id, const ListValue& result); 661 void OnScriptEvalResponse(int id, const ListValue& result);
687 void OnPagesReadyForPreview( 662 void OnPagesReadyForPreview(
688 const ViewHostMsg_DidPreviewDocument_Params& params); 663 const ViewHostMsg_DidPreviewDocument_Params& params);
689 664
690 #if defined(OS_MACOSX) 665 #if defined(OS_MACOSX)
691 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); 666 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
692 #endif 667 #endif
693 668
694 private: 669 private:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 // The most recently received accessibility tree - for unit testing only. 746 // The most recently received accessibility tree - for unit testing only.
772 webkit_glue::WebAccessibility accessibility_tree_; 747 webkit_glue::WebAccessibility accessibility_tree_;
773 748
774 // The termination status of the last render view that terminated. 749 // The termination status of the last render view that terminated.
775 base::TerminationStatus render_view_termination_status_; 750 base::TerminationStatus render_view_termination_status_;
776 751
777 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 752 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
778 }; 753 };
779 754
780 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 755 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698