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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10436010: Multi-select <select> in 'external popup window' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 // Creates a full screen RenderWidget. 387 // Creates a full screen RenderWidget.
388 void CreateNewFullscreenWidget(int route_id); 388 void CreateNewFullscreenWidget(int route_id);
389 389
390 #if defined(OS_MACOSX) 390 #if defined(OS_MACOSX)
391 // Select popup menu related methods (for external popup menus). 391 // Select popup menu related methods (for external popup menus).
392 void DidSelectPopupMenuItem(int selected_index); 392 void DidSelectPopupMenuItem(int selected_index);
393 void DidCancelPopupMenu(); 393 void DidCancelPopupMenu();
394 #endif 394 #endif
395 395
396 #if defined(OS_ANDROID)
397 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
398 void DidCancelPopupMenu();
399 #endif
400
396 // User rotated the screen. Calls the "onorientationchange" Javascript hook. 401 // User rotated the screen. Calls the "onorientationchange" Javascript hook.
397 void SendOrientationChangeEvent(int orientation); 402 void SendOrientationChangeEvent(int orientation);
398 403
399 void set_save_accessibility_tree_for_testing(bool save) { 404 void set_save_accessibility_tree_for_testing(bool save) {
400 save_accessibility_tree_for_testing_ = save; 405 save_accessibility_tree_for_testing_ = save;
401 } 406 }
402 407
403 void set_send_accessibility_updated_notifications(bool send) { 408 void set_send_accessibility_updated_notifications(bool send) {
404 send_accessibility_updated_notifications_ = send; 409 send_accessibility_updated_notifications_ = send;
405 } 410 }
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 bool is_playing); 541 bool is_playing);
537 void OnRequestDesktopNotificationPermission(const GURL& origin, 542 void OnRequestDesktopNotificationPermission(const GURL& origin,
538 int callback_id); 543 int callback_id);
539 void OnShowDesktopNotification( 544 void OnShowDesktopNotification(
540 const ShowDesktopNotificationHostMsgParams& params); 545 const ShowDesktopNotificationHostMsgParams& params);
541 void OnCancelDesktopNotification(int notification_id); 546 void OnCancelDesktopNotification(int notification_id);
542 void OnRunFileChooser(const FileChooserParams& params); 547 void OnRunFileChooser(const FileChooserParams& params);
543 void OnDomOperationResponse(const std::string& json_string, 548 void OnDomOperationResponse(const std::string& json_string,
544 int automation_id); 549 int automation_id);
545 550
546 #if defined(OS_MACOSX) 551 #if defined(OS_MACOSX) || defined(OS_ANDROID)
547 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); 552 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
548 #endif 553 #endif
549 554
550 private: 555 private:
551 friend class TestRenderViewHost; 556 friend class TestRenderViewHost;
552 557
553 // Sets whether this RenderViewHost is swapped out in favor of another, 558 // Sets whether this RenderViewHost is swapped out in favor of another,
554 // and clears any waiting state that is no longer relevant. 559 // and clears any waiting state that is no longer relevant.
555 void SetSwappedOut(bool is_swapped_out); 560 void SetSwappedOut(bool is_swapped_out);
556 561
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 658 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
654 }; 659 };
655 660
656 #if defined(COMPILER_MSVC) 661 #if defined(COMPILER_MSVC)
657 #pragma warning(pop) 662 #pragma warning(pop)
658 #endif 663 #endif
659 664
660 } // namespace content 665 } // namespace content
661 666
662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 667 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/popup_menu_helper_mac.mm ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698