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

Side by Side Diff: content/browser/tab_contents/tab_contents_delegate.h

Issue 8934011: Rename IntentsHost -> WebIntentsDispatcher and IntentsDispatcher -> WebIntentsHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 struct NativeWebKeyboardEvent; 25 struct NativeWebKeyboardEvent;
26 struct OpenURLParams; 26 struct OpenURLParams;
27 27
28 namespace base { 28 namespace base {
29 class ListValue; 29 class ListValue;
30 } 30 }
31 31
32 namespace content { 32 namespace content {
33 class BrowserContext; 33 class BrowserContext;
34 struct FileChooserParams; 34 struct FileChooserParams;
35 class IntentsHost; 35 class WebIntentsDispatcher;
36 class JavaScriptDialogCreator; 36 class JavaScriptDialogCreator;
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 const string16& title); 319 const string16& title);
320 320
321 // Register a new handler for Intents with the given action and type filter. 321 // Register a new handler for Intents with the given action and type filter.
322 virtual void RegisterIntentHandler(TabContents* tab, 322 virtual void RegisterIntentHandler(TabContents* tab,
323 const string16& action, 323 const string16& action,
324 const string16& type, 324 const string16& type,
325 const string16& href, 325 const string16& href,
326 const string16& title, 326 const string16& title,
327 const string16& disposition); 327 const string16& disposition);
328 328
329 // Web Intents notification handler. Takes ownership of the |intents_host|. 329 // Web Intents notification handler. Takes ownership of the
330 virtual void WebIntentDispatch(TabContents* tab, 330 // |intents_dispatcher|.
331 content::IntentsHost* intents_host); 331 virtual void WebIntentDispatch(
332 TabContents* tab,
333 content::WebIntentsDispatcher* intents_dispatcher);
332 334
333 // Result of string search in the page. This includes the number of matches 335 // Result of string search in the page. This includes the number of matches
334 // found and the selection rect (in screen coordinates) for the string found. 336 // found and the selection rect (in screen coordinates) for the string found.
335 // If |final_update| is false, it indicates that more results follow. 337 // If |final_update| is false, it indicates that more results follow.
336 virtual void FindReply(TabContents* tab, 338 virtual void FindReply(TabContents* tab,
337 int request_id, 339 int request_id,
338 int number_of_matches, 340 int number_of_matches,
339 const gfx::Rect& selection_rect, 341 const gfx::Rect& selection_rect,
340 int active_match_ordinal, 342 int active_match_ordinal,
341 bool final_update); 343 bool final_update);
(...skipping 29 matching lines...) Expand all
371 void Attach(TabContents* source); 373 void Attach(TabContents* source);
372 374
373 // Called when |this| is no longer the TabContentsDelegate for |source|. 375 // Called when |this| is no longer the TabContentsDelegate for |source|.
374 void Detach(TabContents* source); 376 void Detach(TabContents* source);
375 377
376 // The TabContents that this is currently a delegate for. 378 // The TabContents that this is currently a delegate for.
377 std::set<TabContents*> attached_contents_; 379 std::set<TabContents*> attached_contents_;
378 }; 380 };
379 381
380 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ 382 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698