OLD | NEW |
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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 static void RegisterProtocolHandlerHelper(TabContents* tab, | 684 static void RegisterProtocolHandlerHelper(TabContents* tab, |
685 const std::string& protocol, | 685 const std::string& protocol, |
686 const GURL& url, | 686 const GURL& url, |
687 const string16& title); | 687 const string16& title); |
688 | 688 |
689 // Helper function to register an intent handler. | 689 // Helper function to register an intent handler. |
690 static void RegisterIntentHandlerHelper(TabContents* tab, | 690 static void RegisterIntentHandlerHelper(TabContents* tab, |
691 const string16& action, | 691 const string16& action, |
692 const string16& type, | 692 const string16& type, |
693 const string16& href, | 693 const string16& href, |
694 const string16& title); | 694 const string16& title, |
| 695 const string16& disposition); |
695 | 696 |
696 // Helper function to handle find results. | 697 // Helper function to handle find results. |
697 static void FindReplyHelper(TabContents* tab, | 698 static void FindReplyHelper(TabContents* tab, |
698 int request_id, | 699 int request_id, |
699 int number_of_matches, | 700 int number_of_matches, |
700 const gfx::Rect& selection_rect, | 701 const gfx::Rect& selection_rect, |
701 int active_match_ordinal, | 702 int active_match_ordinal, |
702 bool final_update); | 703 bool final_update); |
703 | 704 |
704 // Helper function to handle crashed plugin notifications. | 705 // Helper function to handle crashed plugin notifications. |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 virtual bool IsFullscreenForTab(const TabContents* tab) const OVERRIDE; | 998 virtual bool IsFullscreenForTab(const TabContents* tab) const OVERRIDE; |
998 virtual void JSOutOfMemory(TabContents* tab) OVERRIDE; | 999 virtual void JSOutOfMemory(TabContents* tab) OVERRIDE; |
999 virtual void RegisterProtocolHandler(TabContents* tab, | 1000 virtual void RegisterProtocolHandler(TabContents* tab, |
1000 const std::string& protocol, | 1001 const std::string& protocol, |
1001 const GURL& url, | 1002 const GURL& url, |
1002 const string16& title) OVERRIDE; | 1003 const string16& title) OVERRIDE; |
1003 virtual void RegisterIntentHandler(TabContents* tab, | 1004 virtual void RegisterIntentHandler(TabContents* tab, |
1004 const string16& action, | 1005 const string16& action, |
1005 const string16& type, | 1006 const string16& type, |
1006 const string16& href, | 1007 const string16& href, |
1007 const string16& title) OVERRIDE; | 1008 const string16& title, |
| 1009 const string16& disposition) OVERRIDE; |
1008 virtual void WebIntentDispatch(TabContents* tab, | 1010 virtual void WebIntentDispatch(TabContents* tab, |
1009 int routing_id, | 1011 int routing_id, |
1010 const webkit_glue::WebIntentData& intent, | 1012 const webkit_glue::WebIntentData& intent, |
1011 int intent_id) OVERRIDE; | 1013 int intent_id) OVERRIDE; |
1012 virtual void UpdatePreferredSize(TabContents* source, | 1014 virtual void UpdatePreferredSize(TabContents* source, |
1013 const gfx::Size& pref_size) OVERRIDE; | 1015 const gfx::Size& pref_size) OVERRIDE; |
1014 | 1016 |
1015 virtual void FindReply(TabContents* tab, | 1017 virtual void FindReply(TabContents* tab, |
1016 int request_id, | 1018 int request_id, |
1017 int number_of_matches, | 1019 int number_of_matches, |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 | 1456 |
1455 MouseLockState mouse_lock_state_; | 1457 MouseLockState mouse_lock_state_; |
1456 | 1458 |
1457 // True if the browser window has been shown at least once. | 1459 // True if the browser window has been shown at least once. |
1458 bool window_has_shown_; | 1460 bool window_has_shown_; |
1459 | 1461 |
1460 DISALLOW_COPY_AND_ASSIGN(Browser); | 1462 DISALLOW_COPY_AND_ASSIGN(Browser); |
1461 }; | 1463 }; |
1462 | 1464 |
1463 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1465 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |