OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 virtual void RendererResponsive(RenderViewHost* render_view_host) { } | 414 virtual void RendererResponsive(RenderViewHost* render_view_host) { } |
415 | 415 |
416 // Notification that the RenderViewHost's load state changed. | 416 // Notification that the RenderViewHost's load state changed. |
417 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) { } | 417 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) { } |
418 | 418 |
419 // Notification that a request for install info has completed. | 419 // Notification that a request for install info has completed. |
420 virtual void OnDidGetApplicationInfo( | 420 virtual void OnDidGetApplicationInfo( |
421 int32 page_id, | 421 int32 page_id, |
422 const webkit_glue::WebApplicationInfo& app_info) { } | 422 const webkit_glue::WebApplicationInfo& app_info) { } |
423 | 423 |
424 // Notification the user has pressed enter or space while focus was on the | 424 // Notification the user has made a gesture while focus was on the |
425 // page. This is used to avoid uninitiated user downloads (aka carpet | 425 // page. This is used to avoid uninitiated user downloads (aka carpet |
426 // bombing), see DownloadRequestManager for details. | 426 // bombing), see DownloadRequestManager for details. |
427 virtual void OnEnterOrSpace() { } | 427 virtual void OnUserGesture() { } |
428 | 428 |
429 // If this view is used to host an external tab container. | 429 // If this view is used to host an external tab container. |
430 virtual bool IsExternalTabContainer() const { return false; } | 430 virtual bool IsExternalTabContainer() const { return false; } |
431 | 431 |
432 // A find operation in the current page completed. | 432 // A find operation in the current page completed. |
433 virtual void OnFindReply(int request_id, | 433 virtual void OnFindReply(int request_id, |
434 int number_of_matches, | 434 int number_of_matches, |
435 const gfx::Rect& selection_rect, | 435 const gfx::Rect& selection_rect, |
436 int active_match_ordinal, | 436 int active_match_ordinal, |
437 bool final_update) { } | 437 bool final_update) { } |
438 }; | 438 }; |
439 | 439 |
440 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 440 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |