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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 8666013: Add a public content/ interface for intents. Use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments and comment fixes 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 CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 const std::string& protocol, 994 const std::string& protocol,
995 const GURL& url, 995 const GURL& url,
996 const string16& title) OVERRIDE; 996 const string16& title) OVERRIDE;
997 virtual void RegisterIntentHandler(TabContents* tab, 997 virtual void RegisterIntentHandler(TabContents* tab,
998 const string16& action, 998 const string16& action,
999 const string16& type, 999 const string16& type,
1000 const string16& href, 1000 const string16& href,
1001 const string16& title, 1001 const string16& title,
1002 const string16& disposition) OVERRIDE; 1002 const string16& disposition) OVERRIDE;
1003 virtual void WebIntentDispatch(TabContents* tab, 1003 virtual void WebIntentDispatch(TabContents* tab,
1004 int routing_id, 1004 content::IntentsHost* intents_host) OVERRIDE;
1005 const webkit_glue::WebIntentData& intent,
1006 int intent_id) OVERRIDE;
1007 virtual void UpdatePreferredSize(TabContents* source, 1005 virtual void UpdatePreferredSize(TabContents* source,
1008 const gfx::Size& pref_size) OVERRIDE; 1006 const gfx::Size& pref_size) OVERRIDE;
1009 1007
1010 virtual void FindReply(TabContents* tab, 1008 virtual void FindReply(TabContents* tab,
1011 int request_id, 1009 int request_id,
1012 int number_of_matches, 1010 int number_of_matches,
1013 const gfx::Rect& selection_rect, 1011 const gfx::Rect& selection_rect,
1014 int active_match_ordinal, 1012 int active_match_ordinal,
1015 bool final_update) OVERRIDE; 1013 bool final_update) OVERRIDE;
1016 1014
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 1423
1426 scoped_refptr<FullscreenController> fullscreen_controller_; 1424 scoped_refptr<FullscreenController> fullscreen_controller_;
1427 1425
1428 // True if the browser window has been shown at least once. 1426 // True if the browser window has been shown at least once.
1429 bool window_has_shown_; 1427 bool window_has_shown_;
1430 1428
1431 DISALLOW_COPY_AND_ASSIGN(Browser); 1429 DISALLOW_COPY_AND_ASSIGN(Browser);
1432 }; 1430 };
1433 1431
1434 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1432 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/intents/web_intent_picker_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698