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

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

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Ensure correct ordering between ViewMsg_Resize and screen orientation messages Created 4 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
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
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/id_map.h" 17 #include "base/id_map.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/linked_ptr.h" 19 #include "base/memory/linked_ptr.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/memory/weak_ptr.h" 21 #include "base/memory/weak_ptr.h"
22 #include "base/observer_list.h" 22 #include "base/observer_list.h"
23 #include "base/process/process_handle.h" 23 #include "base/process/process_handle.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "content/common/accessibility_mode_enums.h" 25 #include "content/common/accessibility_mode_enums.h"
26 #include "content/common/associated_interface_registry_impl.h" 26 #include "content/common/associated_interface_registry_impl.h"
27 #include "content/common/frame.mojom.h" 27 #include "content/common/frame.mojom.h"
28 #include "content/common/frame_message_enums.h" 28 #include "content/common/frame_message_enums.h"
29 #include "content/common/renderer.mojom.h" 29 #include "content/common/renderer.mojom.h"
30 #include "content/common/screen_orientation_interface.mojom.h"
30 #include "content/public/common/console_message_level.h" 31 #include "content/public/common/console_message_level.h"
31 #include "content/public/common/javascript_message_type.h" 32 #include "content/public/common/javascript_message_type.h"
32 #include "content/public/common/referrer.h" 33 #include "content/public/common/referrer.h"
33 #include "content/public/common/stop_find_action.h" 34 #include "content/public/common/stop_find_action.h"
34 #include "content/public/renderer/render_frame.h" 35 #include "content/public/renderer/render_frame.h"
35 #include "content/renderer/frame_blame_context.h" 36 #include "content/renderer/frame_blame_context.h"
36 #include "content/renderer/mojo/blink_interface_provider_impl.h" 37 #include "content/renderer/mojo/blink_interface_provider_impl.h"
37 #include "content/renderer/renderer_webcookiejar_impl.h" 38 #include "content/renderer/renderer_webcookiejar_impl.h"
39 #include "content/renderer/screen_orientation/screen_orientation_dispatcher.h"
38 #include "ipc/ipc_message.h" 40 #include "ipc/ipc_message.h"
39 #include "ipc/ipc_platform_file.h" 41 #include "ipc/ipc_platform_file.h"
40 #include "media/blink/webmediaplayer_delegate.h" 42 #include "media/blink/webmediaplayer_delegate.h"
41 #include "media/blink/webmediaplayer_params.h" 43 #include "media/blink/webmediaplayer_params.h"
42 #include "media/mojo/interfaces/remoting.mojom.h" 44 #include "media/mojo/interfaces/remoting.mojom.h"
43 #include "mojo/public/cpp/bindings/binding.h" 45 #include "mojo/public/cpp/bindings/binding.h"
44 #include "services/service_manager/public/interfaces/connector.mojom.h" 46 #include "services/service_manager/public/interfaces/connector.mojom.h"
45 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" 47 #include "services/service_manager/public/interfaces/interface_provider.mojom.h"
46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" 48 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
47 #include "third_party/WebKit/public/platform/WebFocusType.h" 49 #include "third_party/WebKit/public/platform/WebFocusType.h"
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 bool name_changed_before_first_commit_ = false; 1329 bool name_changed_before_first_commit_ = false;
1328 1330
1329 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1331 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1330 1332
1331 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1333 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1332 }; 1334 };
1333 1335
1334 } // namespace content 1336 } // namespace content
1335 1337
1336 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1338 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698