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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
479 | 479 |
480 // Notification that a worker process has crashed. | 480 // Notification that a worker process has crashed. |
481 void WorkerCrashed() {} | 481 void WorkerCrashed() {} |
482 | 482 |
483 // Ask the user if they want to allow the view to show desktop notifications. | 483 // Ask the user if they want to allow the view to show desktop notifications. |
484 // Returns true if the delegate will take care of asking the user, otherwise | 484 // Returns true if the delegate will take care of asking the user, otherwise |
485 // the caller will do the default behavior. | 485 // the caller will do the default behavior. |
486 bool RequestDesktopNotificationPermission(const GURL& source_origin, | 486 bool RequestDesktopNotificationPermission(const GURL& source_origin, |
487 int callback_context); | 487 int callback_context); |
488 | 488 |
489 // Returns ture iff the render view host is hidden. | |
brettw
2011/05/18 22:11:38
ture -> true.
iff -> if ("only if" is meaningless
Shishir
2011/05/20 03:48:19
Done.
| |
490 virtual bool IsHidden() const { return false; } | |
491 | |
489 protected: | 492 protected: |
490 virtual ~RenderViewHostDelegate() {} | 493 virtual ~RenderViewHostDelegate() {} |
491 }; | 494 }; |
492 | 495 |
493 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 496 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |