| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ | 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ |
| 5 #define CONTENT_SHELL_BROWSER_SHELL_H_ | 5 #define CONTENT_SHELL_BROWSER_SHELL_H_ |
| 6 | 6 |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const OpenURLParams& params) override; | 114 const OpenURLParams& params) override; |
| 115 void AddNewContents(WebContents* source, | 115 void AddNewContents(WebContents* source, |
| 116 WebContents* new_contents, | 116 WebContents* new_contents, |
| 117 WindowOpenDisposition disposition, | 117 WindowOpenDisposition disposition, |
| 118 const gfx::Rect& initial_pos, | 118 const gfx::Rect& initial_pos, |
| 119 bool user_gesture, | 119 bool user_gesture, |
| 120 bool* was_blocked) override; | 120 bool* was_blocked) override; |
| 121 void LoadingStateChanged(WebContents* source, | 121 void LoadingStateChanged(WebContents* source, |
| 122 bool to_different_document) override; | 122 bool to_different_document) override; |
| 123 #if defined(OS_ANDROID) | 123 #if defined(OS_ANDROID) |
| 124 virtual void LoadProgressChanged(WebContents* source, | 124 void LoadProgressChanged(WebContents* source, double progress) override; |
| 125 double progress) override; | |
| 126 #endif | 125 #endif |
| 127 void EnterFullscreenModeForTab(WebContents* web_contents, | 126 void EnterFullscreenModeForTab(WebContents* web_contents, |
| 128 const GURL& origin) override; | 127 const GURL& origin) override; |
| 129 void ExitFullscreenModeForTab(WebContents* web_contents) override; | 128 void ExitFullscreenModeForTab(WebContents* web_contents) override; |
| 130 bool IsFullscreenForTabOrPending( | 129 bool IsFullscreenForTabOrPending( |
| 131 const WebContents* web_contents) const override; | 130 const WebContents* web_contents) const override; |
| 132 void RequestToLockMouse(WebContents* web_contents, | 131 void RequestToLockMouse(WebContents* web_contents, |
| 133 bool user_gesture, | 132 bool user_gesture, |
| 134 bool last_unlocked_by_target) override; | 133 bool last_unlocked_by_target) override; |
| 135 void CloseContents(WebContents* source) override; | 134 void CloseContents(WebContents* source) override; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 static base::Callback<void(Shell*)> shell_created_callback_; | 254 static base::Callback<void(Shell*)> shell_created_callback_; |
| 256 | 255 |
| 257 // True if the destructur of Shell should post a quit closure on the current | 256 // True if the destructur of Shell should post a quit closure on the current |
| 258 // message loop if the destructed Shell object was the last one. | 257 // message loop if the destructed Shell object was the last one. |
| 259 static bool quit_message_loop_; | 258 static bool quit_message_loop_; |
| 260 }; | 259 }; |
| 261 | 260 |
| 262 } // namespace content | 261 } // namespace content |
| 263 | 262 |
| 264 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ | 263 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ |
| OLD | NEW |