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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 6735004: Move extension messages to their own file and add a RenderViewObserver to start moving the extens... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 class Profile; 38 class Profile;
39 struct RendererPreferences; 39 struct RendererPreferences;
40 class RenderProcessHost; 40 class RenderProcessHost;
41 class RenderViewHost; 41 class RenderViewHost;
42 class ResourceRedirectDetails; 42 class ResourceRedirectDetails;
43 class ResourceRequestDetails; 43 class ResourceRequestDetails;
44 class SkBitmap; 44 class SkBitmap;
45 class SSLClientAuthHandler; 45 class SSLClientAuthHandler;
46 class SSLAddCertHandler; 46 class SSLAddCertHandler;
47 class TabContents; 47 class TabContents;
48 struct ExtensionHostMsg_DomMessage_Params;
48 struct ViewHostMsg_CreateWindow_Params; 49 struct ViewHostMsg_CreateWindow_Params;
49 struct ViewHostMsg_DomMessage_Params;
50 struct ViewHostMsg_FrameNavigate_Params; 50 struct ViewHostMsg_FrameNavigate_Params;
51 struct WebApplicationInfo; 51 struct WebApplicationInfo;
52 struct WebDropData; 52 struct WebDropData;
53 struct WebMenuItem; 53 struct WebMenuItem;
54 class WebKeyboardEvent; 54 class WebKeyboardEvent;
55 struct WebPreferences; 55 struct WebPreferences;
56 56
57 namespace base { 57 namespace base {
58 class WaitableEvent; 58 class WaitableEvent;
59 } 59 }
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 WindowOpenDisposition disposition) {} 485 WindowOpenDisposition disposition) {}
486 486
487 // A DOM automation operation completed. The result of the operation is 487 // A DOM automation operation completed. The result of the operation is
488 // expressed in a json string. 488 // expressed in a json string.
489 virtual void DomOperationResponse(const std::string& json_string, 489 virtual void DomOperationResponse(const std::string& json_string,
490 int automation_id) {} 490 int automation_id) {}
491 491
492 // A message was sent from HTML-based UI. 492 // A message was sent from HTML-based UI.
493 // By default we ignore such messages. 493 // By default we ignore such messages.
494 virtual void ProcessWebUIMessage( 494 virtual void ProcessWebUIMessage(
495 const ViewHostMsg_DomMessage_Params& params) {} 495 const ExtensionHostMsg_DomMessage_Params& params) {}
496 496
497 // A message for external host. By default we ignore such messages. 497 // A message for external host. By default we ignore such messages.
498 // |receiver| can be a receiving script and |message| is any 498 // |receiver| can be a receiving script and |message| is any
499 // arbitrary string that makes sense to the receiver. 499 // arbitrary string that makes sense to the receiver.
500 virtual void ProcessExternalHostMessage(const std::string& message, 500 virtual void ProcessExternalHostMessage(const std::string& message,
501 const std::string& origin, 501 const std::string& origin,
502 const std::string& target) {} 502 const std::string& target) {}
503 503
504 // A javascript message, confirmation or prompt should be shown. 504 // A javascript message, confirmation or prompt should be shown.
505 virtual void RunJavaScriptMessage(const std::wstring& message, 505 virtual void RunJavaScriptMessage(const std::wstring& message,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 bool remember) {} 565 bool remember) {}
566 566
567 // Notification that a worker process has crashed. 567 // Notification that a worker process has crashed.
568 void WorkerCrashed() {} 568 void WorkerCrashed() {}
569 569
570 protected: 570 protected:
571 virtual ~RenderViewHostDelegate() {} 571 virtual ~RenderViewHostDelegate() {}
572 }; 572 };
573 573
574 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 574 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698