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

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 after reverts and re-reverts.. Created 8 years, 7 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 // Creates a full screen RenderWidget. 386 // Creates a full screen RenderWidget.
387 void CreateNewFullscreenWidget(int route_id); 387 void CreateNewFullscreenWidget(int route_id);
388 388
389 #if defined(OS_MACOSX) 389 #if defined(OS_MACOSX)
390 // Select popup menu related methods (for external popup menus). 390 // Select popup menu related methods (for external popup menus).
391 void DidSelectPopupMenuItem(int selected_index); 391 void DidSelectPopupMenuItem(int selected_index);
392 void DidCancelPopupMenu(); 392 void DidCancelPopupMenu();
393 #endif 393 #endif
394 394
395 #if defined(OS_ANDROID)
396 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
397 void DidCancelPopupMenu();
398 #endif
399
395 // User rotated the screen. Calls the "onorientationchange" Javascript hook. 400 // User rotated the screen. Calls the "onorientationchange" Javascript hook.
396 void SendOrientationChangeEvent(int orientation); 401 void SendOrientationChangeEvent(int orientation);
397 402
398 void set_save_accessibility_tree_for_testing(bool save) { 403 void set_save_accessibility_tree_for_testing(bool save) {
399 save_accessibility_tree_for_testing_ = save; 404 save_accessibility_tree_for_testing_ = save;
400 } 405 }
401 406
402 void set_send_accessibility_updated_notifications(bool send) { 407 void set_send_accessibility_updated_notifications(bool send) {
403 send_accessibility_updated_notifications_ = send; 408 send_accessibility_updated_notifications_ = send;
404 } 409 }
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 bool is_playing); 540 bool is_playing);
536 void OnRequestDesktopNotificationPermission(const GURL& origin, 541 void OnRequestDesktopNotificationPermission(const GURL& origin,
537 int callback_id); 542 int callback_id);
538 void OnShowDesktopNotification( 543 void OnShowDesktopNotification(
539 const ShowDesktopNotificationHostMsgParams& params); 544 const ShowDesktopNotificationHostMsgParams& params);
540 void OnCancelDesktopNotification(int notification_id); 545 void OnCancelDesktopNotification(int notification_id);
541 void OnRunFileChooser(const FileChooserParams& params); 546 void OnRunFileChooser(const FileChooserParams& params);
542 void OnDomOperationResponse(const std::string& json_string, 547 void OnDomOperationResponse(const std::string& json_string,
543 int automation_id); 548 int automation_id);
544 549
545 #if defined(OS_MACOSX) 550 #if defined(OS_MACOSX) || defined(OS_ANDROID)
546 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); 551 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
547 #endif 552 #endif
548 553
549 private: 554 private:
550 friend class TestRenderViewHost; 555 friend class TestRenderViewHost;
551 556
552 // Sets whether this RenderViewHost is swapped out in favor of another, 557 // Sets whether this RenderViewHost is swapped out in favor of another,
553 // and clears any waiting state that is no longer relevant. 558 // and clears any waiting state that is no longer relevant.
554 void SetSwappedOut(bool is_swapped_out); 559 void SetSwappedOut(bool is_swapped_out);
555 560
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 657 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
653 }; 658 };
654 659
655 #if defined(COMPILER_MSVC) 660 #if defined(COMPILER_MSVC)
656 #pragma warning(pop) 661 #pragma warning(pop)
657 #endif 662 #endif
658 663
659 } // namespace content 664 } // namespace content
660 665
661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 666 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698