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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2751763002: Make USE_EXTERNAL_POPUP_MENU local to content. (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « content/renderer/external_popup_menu.cc ('k') | content/renderer/render_frame_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 11 matching lines...) Expand all
22 #include "base/memory/linked_ptr.h" 22 #include "base/memory/linked_ptr.h"
23 #include "base/memory/ref_counted.h" 23 #include "base/memory/ref_counted.h"
24 #include "base/memory/weak_ptr.h" 24 #include "base/memory/weak_ptr.h"
25 #include "base/observer_list.h" 25 #include "base/observer_list.h"
26 #include "base/process/process_handle.h" 26 #include "base/process/process_handle.h"
27 #include "base/single_thread_task_runner.h" 27 #include "base/single_thread_task_runner.h"
28 #include "build/build_config.h" 28 #include "build/build_config.h"
29 #include "content/common/accessibility_mode.h" 29 #include "content/common/accessibility_mode.h"
30 #include "content/common/associated_interface_registry_impl.h" 30 #include "content/common/associated_interface_registry_impl.h"
31 #include "content/common/download/mhtml_save_status.h" 31 #include "content/common/download/mhtml_save_status.h"
32 #include "content/common/features.h"
32 #include "content/common/frame.mojom.h" 33 #include "content/common/frame.mojom.h"
33 #include "content/common/frame_message_enums.h" 34 #include "content/common/frame_message_enums.h"
34 #include "content/common/host_zoom.mojom.h" 35 #include "content/common/host_zoom.mojom.h"
35 #include "content/common/renderer.mojom.h" 36 #include "content/common/renderer.mojom.h"
36 #include "content/public/common/console_message_level.h" 37 #include "content/public/common/console_message_level.h"
37 #include "content/public/common/javascript_dialog_type.h" 38 #include "content/public/common/javascript_dialog_type.h"
38 #include "content/public/common/previews_state.h" 39 #include "content/public/common/previews_state.h"
39 #include "content/public/common/referrer.h" 40 #include "content/public/common/referrer.h"
40 #include "content/public/common/request_context_type.h" 41 #include "content/public/common/request_context_type.h"
41 #include "content/public/common/stop_find_action.h" 42 #include "content/public/common/stop_find_action.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 void OnImeFinishComposingText(bool keep_selection); 392 void OnImeFinishComposingText(bool keep_selection);
392 393
393 #endif // BUILDFLAG(ENABLE_PLUGINS) 394 #endif // BUILDFLAG(ENABLE_PLUGINS)
394 395
395 // May return NULL in some cases, especially if userMediaClient() returns 396 // May return NULL in some cases, especially if userMediaClient() returns
396 // NULL. 397 // NULL.
397 MediaStreamDispatcher* GetMediaStreamDispatcher(); 398 MediaStreamDispatcher* GetMediaStreamDispatcher();
398 399
399 void ScriptedPrint(bool user_initiated); 400 void ScriptedPrint(bool user_initiated);
400 401
401 #if defined(USE_EXTERNAL_POPUP_MENU) 402 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
402 void DidHideExternalPopupMenu(); 403 void DidHideExternalPopupMenu();
403 #endif 404 #endif
404 405
405 // IPC::Sender 406 // IPC::Sender
406 bool Send(IPC::Message* msg) override; 407 bool Send(IPC::Message* msg) override;
407 408
408 // IPC::Listener 409 // IPC::Listener
409 bool OnMessageReceived(const IPC::Message& msg) override; 410 bool OnMessageReceived(const IPC::Message& msg) override;
410 void OnAssociatedInterfaceRequest( 411 void OnAssociatedInterfaceRequest(
411 const std::string& interface_name, 412 const std::string& interface_name,
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 const GURL& mixed_content_url, 917 const GURL& mixed_content_url,
917 RequestContextType request_context_type, 918 RequestContextType request_context_type,
918 bool was_allowed, 919 bool was_allowed,
919 bool had_redirect); 920 bool had_redirect);
920 #if defined(OS_ANDROID) 921 #if defined(OS_ANDROID)
921 void OnActivateNearestFindResult(int request_id, float x, float y); 922 void OnActivateNearestFindResult(int request_id, float x, float y);
922 void OnGetNearestFindResult(int request_id, float x, float y); 923 void OnGetNearestFindResult(int request_id, float x, float y);
923 void OnFindMatchRects(int current_version); 924 void OnFindMatchRects(int current_version);
924 #endif 925 #endif
925 926
926 #if defined(USE_EXTERNAL_POPUP_MENU) 927 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
927 #if defined(OS_MACOSX) 928 #if defined(OS_MACOSX)
928 void OnSelectPopupMenuItem(int selected_index); 929 void OnSelectPopupMenuItem(int selected_index);
929 #else 930 #else
930 void OnSelectPopupMenuItems(bool canceled, 931 void OnSelectPopupMenuItems(bool canceled,
931 const std::vector<int>& selected_indices); 932 const std::vector<int>& selected_indices);
932 #endif 933 #endif
933 #endif 934 #endif
934 935
935 #if defined(OS_MACOSX) 936 #if defined(OS_MACOSX)
936 void OnCopyToFindPboard(); 937 void OnCopyToFindPboard();
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 // stack that interferes with swapping out. 1338 // stack that interferes with swapping out.
1338 bool suppress_further_dialogs_; 1339 bool suppress_further_dialogs_;
1339 1340
1340 // The current and pending file chooser completion objects. If the queue is 1341 // The current and pending file chooser completion objects. If the queue is
1341 // nonempty, the first item represents the currently running file chooser 1342 // nonempty, the first item represents the currently running file chooser
1342 // callback, and the remaining elements are the other file chooser completion 1343 // callback, and the remaining elements are the other file chooser completion
1343 // still waiting to be run (in order). 1344 // still waiting to be run (in order).
1344 struct PendingFileChooser; 1345 struct PendingFileChooser;
1345 std::deque<std::unique_ptr<PendingFileChooser>> file_chooser_completions_; 1346 std::deque<std::unique_ptr<PendingFileChooser>> file_chooser_completions_;
1346 1347
1347 #if defined(USE_EXTERNAL_POPUP_MENU) 1348 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
1348 // The external popup for the currently showing select popup. 1349 // The external popup for the currently showing select popup.
1349 std::unique_ptr<ExternalPopupMenu> external_popup_menu_; 1350 std::unique_ptr<ExternalPopupMenu> external_popup_menu_;
1350 #endif 1351 #endif
1351 1352
1352 std::unique_ptr<FrameBlameContext> blame_context_; 1353 std::unique_ptr<FrameBlameContext> blame_context_;
1353 std::unique_ptr<SharedWorkerRepository> shared_worker_repository_; 1354 std::unique_ptr<SharedWorkerRepository> shared_worker_repository_;
1354 1355
1355 // Plugins ------------------------------------------------------------------- 1356 // Plugins -------------------------------------------------------------------
1356 #if BUILDFLAG(ENABLE_PLUGINS) 1357 #if BUILDFLAG(ENABLE_PLUGINS)
1357 typedef std::set<PepperPluginInstanceImpl*> PepperPluginSet; 1358 typedef std::set<PepperPluginInstanceImpl*> PepperPluginSet;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1426 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1426 1427
1427 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1428 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1428 1429
1429 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1430 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1430 }; 1431 };
1431 1432
1432 } // namespace content 1433 } // namespace content
1433 1434
1434 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1435 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/external_popup_menu.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698