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

Side by Side Diff: content/public/browser/web_contents_delegate.h

Issue 8934011: Rename IntentsHost -> WebIntentsDispatcher and IntentsDispatcher -> WebIntentsHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 9 years 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
« no previous file with comments | « content/public/browser/intents_host.h ('k') | content/public/browser/web_contents_delegate.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) 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_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 13 matching lines...) Expand all
24 struct NativeWebKeyboardEvent; 24 struct NativeWebKeyboardEvent;
25 struct OpenURLParams; 25 struct OpenURLParams;
26 26
27 namespace base { 27 namespace base {
28 class ListValue; 28 class ListValue;
29 } 29 }
30 30
31 namespace content { 31 namespace content {
32 class BrowserContext; 32 class BrowserContext;
33 class DownloadItem; 33 class DownloadItem;
34 class IntentsHost;
35 class JavaScriptDialogCreator; 34 class JavaScriptDialogCreator;
35 class WebIntentsDispatcher;
36 struct FileChooserParams; 36 struct FileChooserParams;
37 } 37 }
38 38
39 namespace gfx { 39 namespace gfx {
40 class Point; 40 class Point;
41 class Rect; 41 class Rect;
42 class Size; 42 class Size;
43 } 43 }
44 44
45 namespace history { 45 namespace history {
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 const string16& title); 322 const string16& title);
323 323
324 // Register a new handler for Intents with the given action and type filter. 324 // Register a new handler for Intents with the given action and type filter.
325 virtual void RegisterIntentHandler(TabContents* tab, 325 virtual void RegisterIntentHandler(TabContents* tab,
326 const string16& action, 326 const string16& action,
327 const string16& type, 327 const string16& type,
328 const string16& href, 328 const string16& href,
329 const string16& title, 329 const string16& title,
330 const string16& disposition); 330 const string16& disposition);
331 331
332 // Web Intents notification handler. Takes ownership of the |intents_host|. 332 // Web Intents notification handler. Takes ownership of the
333 virtual void WebIntentDispatch(TabContents* tab, 333 // |intents_dispatcher|.
334 content::IntentsHost* intents_host); 334 virtual void WebIntentDispatch(
335 TabContents* tab,
336 content::WebIntentsDispatcher* intents_dispatcher);
335 337
336 // Result of string search in the page. This includes the number of matches 338 // Result of string search in the page. This includes the number of matches
337 // found and the selection rect (in screen coordinates) for the string found. 339 // found and the selection rect (in screen coordinates) for the string found.
338 // If |final_update| is false, it indicates that more results follow. 340 // If |final_update| is false, it indicates that more results follow.
339 virtual void FindReply(TabContents* tab, 341 virtual void FindReply(TabContents* tab,
340 int request_id, 342 int request_id,
341 int number_of_matches, 343 int number_of_matches,
342 const gfx::Rect& selection_rect, 344 const gfx::Rect& selection_rect,
343 int active_match_ordinal, 345 int active_match_ordinal,
344 bool final_update); 346 bool final_update);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // Called when |this| is no longer the WebContentsDelegate for |source|. 378 // Called when |this| is no longer the WebContentsDelegate for |source|.
377 void Detach(TabContents* source); 379 void Detach(TabContents* source);
378 380
379 // The TabContents that this is currently a delegate for. 381 // The TabContents that this is currently a delegate for.
380 std::set<TabContents*> attached_contents_; 382 std::set<TabContents*> attached_contents_;
381 }; 383 };
382 384
383 } // namespace content 385 } // namespace content
384 386
385 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 387 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/intents_host.h ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698