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

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

Issue 279001: Move autofill related WebView{Delegate} methods into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/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/browser/autofill_manager.cc ('k') | chrome/browser/renderer_host/render_view_host.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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 387
388 // Message the renderer that we should be counted as a new document and not 388 // Message the renderer that we should be counted as a new document and not
389 // as a popup. 389 // as a popup.
390 void DisassociateFromPopupCount(); 390 void DisassociateFromPopupCount();
391 391
392 // Notifies the Renderer that we've either displayed or hidden the popup 392 // Notifies the Renderer that we've either displayed or hidden the popup
393 // notification. 393 // notification.
394 void PopupNotificationVisibilityChanged(bool visible); 394 void PopupNotificationVisibilityChanged(bool visible);
395 395
396 // Called by the AutofillManager when the list of suggestions is ready. 396 // Called by the AutofillManager when the list of suggestions is ready.
397 void AutofillSuggestionsReturned(int request_id, 397 void AutofillSuggestionsReturned(int query_id,
398 const std::vector<std::wstring>& suggestions, 398 const std::vector<string16>& suggestions,
399 int default_suggestion_index); 399 int default_suggestion_index);
400 400
401 // Notifies the Renderer that a move or resize of its containing window has 401 // Notifies the Renderer that a move or resize of its containing window has
402 // started (this is used to hide the autocomplete popups if any). 402 // started (this is used to hide the autocomplete popups if any).
403 void WindowMoveOrResizeStarted(); 403 void WindowMoveOrResizeStarted();
404 404
405 // RenderWidgetHost public overrides. 405 // RenderWidgetHost public overrides.
406 virtual void Shutdown(); 406 virtual void Shutdown();
407 virtual bool IsRenderView() const { return true; } 407 virtual bool IsRenderView() const { return true; }
408 virtual void OnMessageReceived(const IPC::Message& msg); 408 virtual void OnMessageReceived(const IPC::Message& msg);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 const std::vector<GURL>& frames_list); 564 const std::vector<GURL>& frames_list);
565 565
566 void OnReceivedSerializedHtmlData(const GURL& frame_url, 566 void OnReceivedSerializedHtmlData(const GURL& frame_url,
567 const std::string& data, 567 const std::string& data,
568 int32 status); 568 int32 status);
569 569
570 void OnDidGetApplicationInfo(int32 page_id, 570 void OnDidGetApplicationInfo(int32 page_id,
571 const webkit_glue::WebApplicationInfo& info); 571 const webkit_glue::WebApplicationInfo& info);
572 void OnMsgShouldCloseACK(bool proceed); 572 void OnMsgShouldCloseACK(bool proceed);
573 void OnQueryFormFieldAutofill(int request_id, 573 void OnQueryFormFieldAutofill(int request_id,
574 const std::wstring& field_name, 574 const string16& field_name,
575 const std::wstring& user_text); 575 const string16& user_text);
576 void OnRemoveAutofillEntry(const std::wstring& field_name, 576 void OnRemoveAutofillEntry(const string16& field_name,
577 const std::wstring& value); 577 const string16& value);
578 578
579 void OnShowDesktopNotification(const GURL& source_origin, 579 void OnShowDesktopNotification(const GURL& source_origin,
580 const GURL& url, int notification_id); 580 const GURL& url, int notification_id);
581 void OnShowDesktopNotificationText(const GURL& origin, const GURL& icon, 581 void OnShowDesktopNotificationText(const GURL& origin, const GURL& icon,
582 const string16& title, 582 const string16& title,
583 const string16& text, 583 const string16& text,
584 int notification_id); 584 int notification_id);
585 void OnRequestNotificationPermission(const GURL& origin, int callback_id); 585 void OnRequestNotificationPermission(const GURL& origin, int callback_id);
586 586
587 void OnExtensionRequest(const std::string& name, const ListValue& args, 587 void OnExtensionRequest(const std::string& name, const ListValue& args,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 // While in this mode, mouse click is converted into InspectElement 659 // While in this mode, mouse click is converted into InspectElement
660 // command. 660 // command.
661 bool in_inspect_element_mode_; 661 bool in_inspect_element_mode_;
662 662
663 NotificationRegistrar registrar_; 663 NotificationRegistrar registrar_;
664 664
665 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 665 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
666 }; 666 };
667 667
668 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 668 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill_manager.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698