| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 const gfx::Rect& initial_pos, | 121 const gfx::Rect& initial_pos, |
| 122 bool user_gesture, | 122 bool user_gesture, |
| 123 bool* was_blocked) override; | 123 bool* was_blocked) override; |
| 124 void LoadingStateChanged(WebContents* source, | 124 void LoadingStateChanged(WebContents* source, |
| 125 bool to_different_document) override; | 125 bool to_different_document) override; |
| 126 #if defined(OS_ANDROID) | 126 #if defined(OS_ANDROID) |
| 127 virtual void LoadProgressChanged(WebContents* source, | 127 virtual void LoadProgressChanged(WebContents* source, |
| 128 double progress) override; | 128 double progress) override; |
| 129 #endif | 129 #endif |
| 130 void ToggleFullscreenModeForTab(WebContents* web_contents, | 130 void ToggleFullscreenModeForTab(WebContents* web_contents, |
| 131 const GURL& origin, |
| 131 bool enter_fullscreen) override; | 132 bool enter_fullscreen) override; |
| 132 bool IsFullscreenForTabOrPending( | 133 bool IsFullscreenForTabOrPending( |
| 133 const WebContents* web_contents) const override; | 134 const WebContents* web_contents) const override; |
| 134 void RequestToLockMouse(WebContents* web_contents, | 135 void RequestToLockMouse(WebContents* web_contents, |
| 135 bool user_gesture, | 136 bool user_gesture, |
| 136 bool last_unlocked_by_target) override; | 137 bool last_unlocked_by_target) override; |
| 137 void CloseContents(WebContents* source) override; | 138 void CloseContents(WebContents* source) override; |
| 138 bool CanOverscrollContent() const override; | 139 bool CanOverscrollContent() const override; |
| 139 void DidNavigateMainFramePostCommit(WebContents* web_contents) override; | 140 void DidNavigateMainFramePostCommit(WebContents* web_contents) override; |
| 140 JavaScriptDialogManager* GetJavaScriptDialogManager( | 141 JavaScriptDialogManager* GetJavaScriptDialogManager( |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 static base::Callback<void(Shell*)> shell_created_callback_; | 257 static base::Callback<void(Shell*)> shell_created_callback_; |
| 257 | 258 |
| 258 // True if the destructur of Shell should post a quit closure on the current | 259 // True if the destructur of Shell should post a quit closure on the current |
| 259 // message loop if the destructed Shell object was the last one. | 260 // message loop if the destructed Shell object was the last one. |
| 260 static bool quit_message_loop_; | 261 static bool quit_message_loop_; |
| 261 }; | 262 }; |
| 262 | 263 |
| 263 } // namespace content | 264 } // namespace content |
| 264 | 265 |
| 265 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ | 266 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ |
| OLD | NEW |