Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: chrome_frame/chrome_frame_delegate.h

Issue 274071: When Chrome hands off a URL to be opened by the external host by the ViewHost... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/chrome_frame_automation.cc ('k') | chrome_frame/chrome_frame_npapi.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_FRAME_CHROME_FRAME_DELEGATE_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_DELEGATE_H_
6 #define CHROME_FRAME_CHROME_FRAME_DELEGATE_H_ 6 #define CHROME_FRAME_CHROME_FRAME_DELEGATE_H_
7 7
8 #include "chrome/test/automation/automation_messages.h" 8 #include "chrome/test/automation/automation_messages.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 protected: 63 protected:
64 // Protected methods to be overriden. 64 // Protected methods to be overriden.
65 virtual void OnNavigationStateChanged(int tab_handle, int flags, 65 virtual void OnNavigationStateChanged(int tab_handle, int flags,
66 const IPC::NavigationInfo& nav_info) {} 66 const IPC::NavigationInfo& nav_info) {}
67 virtual void OnUpdateTargetUrl(int tab_handle, 67 virtual void OnUpdateTargetUrl(int tab_handle,
68 const std::wstring& new_target_url) {} 68 const std::wstring& new_target_url) {}
69 virtual void OnAcceleratorPressed(int tab_handle, const MSG& accel_message) {} 69 virtual void OnAcceleratorPressed(int tab_handle, const MSG& accel_message) {}
70 virtual void OnTabbedOut(int tab_handle, bool reverse) {} 70 virtual void OnTabbedOut(int tab_handle, bool reverse) {}
71 virtual void OnOpenURL(int tab_handle, const GURL& url, 71 virtual void OnOpenURL(int tab_handle, const GURL& url,
72 int open_disposition) {} 72 const GURL& referrer, int open_disposition) {}
73 virtual void OnDidNavigate(int tab_handle, 73 virtual void OnDidNavigate(int tab_handle,
74 const IPC::NavigationInfo& navigation_info) {} 74 const IPC::NavigationInfo& navigation_info) {}
75 virtual void OnNavigationFailed(int tab_handle, int error_code, 75 virtual void OnNavigationFailed(int tab_handle, int error_code,
76 const GURL& gurl) {} 76 const GURL& gurl) {}
77 virtual void OnLoad(int tab_handle, const GURL& url) {} 77 virtual void OnLoad(int tab_handle, const GURL& url) {}
78 virtual void OnMessageFromChromeFrame(int tab_handle, 78 virtual void OnMessageFromChromeFrame(int tab_handle,
79 const std::string& message, 79 const std::string& message,
80 const std::string& origin, 80 const std::string& origin,
81 const std::string& target) {} 81 const std::string& target) {}
82 virtual void OnHandleContextMenu(int tab_handle, HANDLE menu_handle, 82 virtual void OnHandleContextMenu(int tab_handle, HANDLE menu_handle,
83 int x_pos, int y_pos, int align_flags) {} 83 int x_pos, int y_pos, int align_flags) {}
84 virtual void OnRequestStart(int tab_handle, int request_id, 84 virtual void OnRequestStart(int tab_handle, int request_id,
85 const IPC::AutomationURLRequest& request) {} 85 const IPC::AutomationURLRequest& request) {}
86 virtual void OnRequestRead(int tab_handle, int request_id, 86 virtual void OnRequestRead(int tab_handle, int request_id,
87 int bytes_to_read) {} 87 int bytes_to_read) {}
88 virtual void OnRequestEnd(int tab_handle, int request_id, 88 virtual void OnRequestEnd(int tab_handle, int request_id,
89 const URLRequestStatus& status) {} 89 const URLRequestStatus& status) {}
90 virtual void OnSetCookieAsync(int tab_handle, const GURL& url, 90 virtual void OnSetCookieAsync(int tab_handle, const GURL& url,
91 const std::string& cookie) {} 91 const std::string& cookie) {}
92 virtual void OnAttachExternalTab(int tab_handle, intptr_t cookie, 92 virtual void OnAttachExternalTab(int tab_handle, intptr_t cookie,
93 int disposition) {} 93 int disposition) {}
94 virtual void OnGoToHistoryEntryOffset(int tab_handle, int offset) {} 94 virtual void OnGoToHistoryEntryOffset(int tab_handle, int offset) {}
95 }; 95 };
96 96
97 #endif // CHROME_FRAME_CHROME_FRAME_DELEGATE_H_ 97 #endif // CHROME_FRAME_CHROME_FRAME_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_automation.cc ('k') | chrome_frame/chrome_frame_npapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698