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

Side by Side Diff: chrome_frame/external_tab.h

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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_delegate.cc ('k') | chrome_frame/external_tab.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_EXTERNAL_TAB_H_ 5 #ifndef CHROME_FRAME_EXTERNAL_TAB_H_
6 #define CHROME_FRAME_EXTERNAL_TAB_H_ 6 #define CHROME_FRAME_EXTERNAL_TAB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <atlbase.h> 10 #include <atlbase.h>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ExternalTabProxy(); 87 ExternalTabProxy();
88 ~ExternalTabProxy(); 88 ~ExternalTabProxy();
89 89
90 #ifdef UNIT_TEST 90 #ifdef UNIT_TEST
91 void set_proxy_factory(ChromeProxyFactory* factory) { 91 void set_proxy_factory(ChromeProxyFactory* factory) {
92 proxy_factory_ = factory; 92 proxy_factory_ = factory;
93 } 93 }
94 #endif 94 #endif
95 95
96 // IPC::Channel::Listener implementation. 96 // IPC::Channel::Listener implementation.
97 void OnMessageReceived(const IPC::Message& message); 97 bool OnMessageReceived(const IPC::Message& message);
98 98
99 // 99 //
100 virtual void CreateTab(const CreateTabParams& create_params, 100 virtual void CreateTab(const CreateTabParams& create_params,
101 UIDelegate* delegate); 101 UIDelegate* delegate);
102 virtual void Navigate(const std::string& url, const std::string& referrer, 102 virtual void Navigate(const std::string& url, const std::string& referrer,
103 NavigationConstraints* navigation_constraints); 103 NavigationConstraints* navigation_constraints);
104 virtual void NavigateToIndex(int index); 104 virtual void NavigateToIndex(int index);
105 virtual void ForwardMessageFromExternalHost(const std::string& message, 105 virtual void ForwardMessageFromExternalHost(const std::string& message,
106 const std::string& origin, const std::string& target); 106 const std::string& origin, const std::string& target);
107 virtual void ChromeFrameHostMoved(); 107 virtual void ChromeFrameHostMoved();
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 GURL url; 222 GURL url;
223 GURL referrer; 223 GURL referrer;
224 void Set(const GURL& gurl, const GURL& ref) { 224 void Set(const GURL& gurl, const GURL& ref) {
225 url = gurl; 225 url = gurl;
226 referrer = ref; 226 referrer = ref;
227 } 227 }
228 } pending_navigation_; 228 } pending_navigation_;
229 }; 229 };
230 230
231 #endif // CHROME_FRAME_EXTERNAL_TAB_H_ 231 #endif // CHROME_FRAME_EXTERNAL_TAB_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_delegate.cc ('k') | chrome_frame/external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698