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

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

Issue 3117034: Skeleton of sync handler on the I/O thread for GetSearchProviderInstallState. (Closed)
Patch Set: 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_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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 namespace WebKit { 97 namespace WebKit {
98 class WebAccessibilityCache; 98 class WebAccessibilityCache;
99 class WebAccessibilityObject; 99 class WebAccessibilityObject;
100 class WebApplicationCacheHost; 100 class WebApplicationCacheHost;
101 class WebApplicationCacheHostClient; 101 class WebApplicationCacheHostClient;
102 class WebDataSource; 102 class WebDataSource;
103 class WebDocument; 103 class WebDocument;
104 class WebDragData; 104 class WebDragData;
105 class WebFrame;
105 class WebGeolocationServiceInterface; 106 class WebGeolocationServiceInterface;
106 class WebImage; 107 class WebImage;
107 class WebInputElement; 108 class WebInputElement;
108 class WebKeyboardEvent; 109 class WebKeyboardEvent;
109 class WebMediaPlayer; 110 class WebMediaPlayer;
110 class WebMediaPlayerClient; 111 class WebMediaPlayerClient;
111 class WebNode; 112 class WebNode;
112 class WebPlugin; 113 class WebPlugin;
113 class WebSpeechInputController; 114 class WebSpeechInputController;
114 class WebSpeechInputListener; 115 class WebSpeechInputListener;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 void set_send_content_state_immediately(bool value) { 206 void set_send_content_state_immediately(bool value) {
206 send_content_state_immediately_ = value; 207 send_content_state_immediately_ = value;
207 } 208 }
208 209
209 // Called from JavaScript window.external.AddSearchProvider() to add a 210 // Called from JavaScript window.external.AddSearchProvider() to add a
210 // keyword for a provider described in the given OpenSearch document. 211 // keyword for a provider described in the given OpenSearch document.
211 void AddSearchProvider(const std::string& url); 212 void AddSearchProvider(const std::string& url);
212 213
213 // Returns the install state for the given search provider url. 214 // Returns the install state for the given search provider url.
214 ViewHostMsg_GetSearchProviderInstallState_Params 215 ViewHostMsg_GetSearchProviderInstallState_Params
215 GetSearchProviderInstallState(const std::string& url); 216 GetSearchProviderInstallState(WebKit::WebFrame* frame,
217 const std::string& url);
216 218
217 // Evaluates a string of JavaScript in a particular frame. 219 // Evaluates a string of JavaScript in a particular frame.
218 void EvaluateScript(const std::wstring& frame_xpath, 220 void EvaluateScript(const std::wstring& frame_xpath,
219 const std::wstring& jscript); 221 const std::wstring& jscript);
220 222
221 // Adds the given file chooser request to the file_chooser_completion_ queue 223 // Adds the given file chooser request to the file_chooser_completion_ queue
222 // (see that var for more) and requests the chooser be displayed if there are 224 // (see that var for more) and requests the chooser be displayed if there are
223 // no other waiting items in the queue. 225 // no other waiting items in the queue.
224 // 226 //
225 // Returns true if the chooser was successfully scheduled. False means we 227 // Returns true if the chooser was successfully scheduled. False means we
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1294 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1293 // sections rather than throwing it randomly at the end. If you're adding a 1295 // sections rather than throwing it randomly at the end. If you're adding a
1294 // bunch of stuff, you should probably create a helper class and put your 1296 // bunch of stuff, you should probably create a helper class and put your
1295 // data and methods on that to avoid bloating RenderView more. 1297 // data and methods on that to avoid bloating RenderView more.
1296 // --------------------------------------------------------------------------- 1298 // ---------------------------------------------------------------------------
1297 1299
1298 DISALLOW_COPY_AND_ASSIGN(RenderView); 1300 DISALLOW_COPY_AND_ASSIGN(RenderView);
1299 }; 1301 };
1300 1302
1301 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1303 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698