| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 bool user_gesture) override; | 681 bool user_gesture) override; |
| 682 void UpdatePreferredSize(content::WebContents* source, | 682 void UpdatePreferredSize(content::WebContents* source, |
| 683 const gfx::Size& pref_size) override; | 683 const gfx::Size& pref_size) override; |
| 684 void ResizeDueToAutoResize(content::WebContents* source, | 684 void ResizeDueToAutoResize(content::WebContents* source, |
| 685 const gfx::Size& new_size) override; | 685 const gfx::Size& new_size) override; |
| 686 void FindReply(content::WebContents* web_contents, | 686 void FindReply(content::WebContents* web_contents, |
| 687 int request_id, | 687 int request_id, |
| 688 int number_of_matches, | 688 int number_of_matches, |
| 689 const gfx::Rect& selection_rect, | 689 const gfx::Rect& selection_rect, |
| 690 int active_match_ordinal, | 690 int active_match_ordinal, |
| 691 bool final_update) override; | 691 bool final_update, |
| 692 bool was_frame_removal) override; |
| 692 void RequestToLockMouse(content::WebContents* web_contents, | 693 void RequestToLockMouse(content::WebContents* web_contents, |
| 693 bool user_gesture, | 694 bool user_gesture, |
| 694 bool last_unlocked_by_target) override; | 695 bool last_unlocked_by_target) override; |
| 695 void LostMouseLock() override; | 696 void LostMouseLock() override; |
| 696 void RequestMediaAccessPermission( | 697 void RequestMediaAccessPermission( |
| 697 content::WebContents* web_contents, | 698 content::WebContents* web_contents, |
| 698 const content::MediaStreamRequest& request, | 699 const content::MediaStreamRequest& request, |
| 699 const content::MediaResponseCallback& callback) override; | 700 const content::MediaResponseCallback& callback) override; |
| 700 bool CheckMediaAccessPermission(content::WebContents* web_contents, | 701 bool CheckMediaAccessPermission(content::WebContents* web_contents, |
| 701 const GURL& security_origin, | 702 const GURL& security_origin, |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 // The following factory is used for chrome update coalescing. | 1031 // The following factory is used for chrome update coalescing. |
| 1031 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1032 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1032 | 1033 |
| 1033 // The following factory is used to close the frame at a later time. | 1034 // The following factory is used to close the frame at a later time. |
| 1034 base::WeakPtrFactory<Browser> weak_factory_; | 1035 base::WeakPtrFactory<Browser> weak_factory_; |
| 1035 | 1036 |
| 1036 DISALLOW_COPY_AND_ASSIGN(Browser); | 1037 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1037 }; | 1038 }; |
| 1038 | 1039 |
| 1039 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1040 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |