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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 6410115: Adds navigator.registerProtocolHandler. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Responded to comments, simplified file format. Created 9 years, 10 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
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_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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 virtual void ProcessDOMUIMessage( 504 virtual void ProcessDOMUIMessage(
505 const ViewHostMsg_DomMessage_Params& params) {} 505 const ViewHostMsg_DomMessage_Params& params) {}
506 506
507 // A message for external host. By default we ignore such messages. 507 // A message for external host. By default we ignore such messages.
508 // |receiver| can be a receiving script and |message| is any 508 // |receiver| can be a receiving script and |message| is any
509 // arbitrary string that makes sense to the receiver. 509 // arbitrary string that makes sense to the receiver.
510 virtual void ProcessExternalHostMessage(const std::string& message, 510 virtual void ProcessExternalHostMessage(const std::string& message,
511 const std::string& origin, 511 const std::string& origin,
512 const std::string& target) {} 512 const std::string& target) {}
513 513
514 virtual void RegisterProtocolHandler(const std::string& protocol,
515 const GURL& url,
516 const string16& title) {}
517
514 // A javascript message, confirmation or prompt should be shown. 518 // A javascript message, confirmation or prompt should be shown.
515 virtual void RunJavaScriptMessage(const std::wstring& message, 519 virtual void RunJavaScriptMessage(const std::wstring& message,
516 const std::wstring& default_prompt, 520 const std::wstring& default_prompt,
517 const GURL& frame_url, 521 const GURL& frame_url,
518 const int flags, 522 const int flags,
519 IPC::Message* reply_msg, 523 IPC::Message* reply_msg,
520 bool* did_suppress_message) {} 524 bool* did_suppress_message) {}
521 525
522 virtual void RunBeforeUnloadConfirm(const std::wstring& message, 526 virtual void RunBeforeUnloadConfirm(const std::wstring& message,
523 IPC::Message* reply_msg) {} 527 IPC::Message* reply_msg) {}
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 bool remember) {} 591 bool remember) {}
588 592
589 // Notification that a worker process has crashed. 593 // Notification that a worker process has crashed.
590 void WorkerCrashed() {} 594 void WorkerCrashed() {}
591 595
592 protected: 596 protected:
593 virtual ~RenderViewHostDelegate() {} 597 virtual ~RenderViewHostDelegate() {}
594 }; 598 };
595 599
596 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 600 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698