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

Side by Side Diff: chrome/renderer/render_view.h

Issue 155707: Changed the extension.connect() API not to broadcast to all tabs. Added a (Closed)
Patch Set: review comments Created 11 years, 5 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
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 29 matching lines...) Expand all
40 // RenderWidget. It's safe to ignore that warning. 40 // RenderWidget. It's safe to ignore that warning.
41 #pragma warning(disable: 4250) 41 #pragma warning(disable: 4250)
42 #endif 42 #endif
43 43
44 class AudioMessageFilter; 44 class AudioMessageFilter;
45 class DictionaryValue; 45 class DictionaryValue;
46 class DevToolsAgent; 46 class DevToolsAgent;
47 class DevToolsClient; 47 class DevToolsClient;
48 class FilePath; 48 class FilePath;
49 class GURL; 49 class GURL;
50 class ListValue;
50 class NavigationState; 51 class NavigationState;
51 class PrintWebViewHelper; 52 class PrintWebViewHelper;
52 class WebFrame; 53 class WebFrame;
53 class WebPluginDelegate; 54 class WebPluginDelegate;
54 class WebPluginDelegateProxy; 55 class WebPluginDelegateProxy;
55 class WebDevToolsAgentDelegate; 56 class WebDevToolsAgentDelegate;
56 struct ContextMenuMediaParams; 57 struct ContextMenuMediaParams;
57 struct ThumbnailScore; 58 struct ThumbnailScore;
58 struct ViewMsg_Navigate_Params; 59 struct ViewMsg_Navigate_Params;
59 struct ViewMsg_UploadFile_Params; 60 struct ViewMsg_UploadFile_Params;
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 void OnEnableViewSourceMode(); 538 void OnEnableViewSourceMode();
538 void OnEnableIntrinsicWidthChangedMode(); 539 void OnEnableIntrinsicWidthChangedMode();
539 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 540 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
540 void OnUpdateBackForwardListCount(int back_list_count, 541 void OnUpdateBackForwardListCount(int back_list_count,
541 int forward_list_count); 542 int forward_list_count);
542 void OnGetAccessibilityInfo( 543 void OnGetAccessibilityInfo(
543 const webkit_glue::WebAccessibility::InParams& in_params, 544 const webkit_glue::WebAccessibility::InParams& in_params,
544 webkit_glue::WebAccessibility::OutParams* out_params); 545 webkit_glue::WebAccessibility::OutParams* out_params);
545 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); 546 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all);
546 547
548 void OnExtensionMessageInvoke(const std::string& function_name,
549 const ListValue& args);
550
547 void OnMoveOrResizeStarted(); 551 void OnMoveOrResizeStarted();
548 552
549 // Checks if the RenderView should close, runs the beforeunload handler and 553 // Checks if the RenderView should close, runs the beforeunload handler and
550 // sends ViewMsg_ShouldClose to the browser. 554 // sends ViewMsg_ShouldClose to the browser.
551 void OnMsgShouldClose(); 555 void OnMsgShouldClose();
552 556
553 // Runs the onunload handler and closes the page, replying with ClosePage_ACK 557 // Runs the onunload handler and closes the page, replying with ClosePage_ACK
554 // (with the given RPH and request IDs, to help track the request). 558 // (with the given RPH and request IDs, to help track the request).
555 void OnClosePage(int new_render_process_host_id, int new_request_id); 559 void OnClosePage(int new_render_process_host_id, int new_request_id);
556 560
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 // PrintWebViewHelper handles printing. Note that this object is constructed 805 // PrintWebViewHelper handles printing. Note that this object is constructed
802 // when printing for the first time but only destroyed with the RenderView. 806 // when printing for the first time but only destroyed with the RenderView.
803 scoped_ptr<PrintWebViewHelper> print_helper_; 807 scoped_ptr<PrintWebViewHelper> print_helper_;
804 808
805 RendererPreferences renderer_preferences_; 809 RendererPreferences renderer_preferences_;
806 810
807 DISALLOW_COPY_AND_ASSIGN(RenderView); 811 DISALLOW_COPY_AND_ASSIGN(RenderView);
808 }; 812 };
809 813
810 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 814 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698