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

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

Issue 2963913002: Factor DRP PreviewsState logic out of content (Closed)
Patch Set: dougarnett comments Created 3 years, 5 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
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 void AttachGuest(int element_instance_id) override; 451 void AttachGuest(int element_instance_id) override;
452 void DetachGuest(int element_instance_id) override; 452 void DetachGuest(int element_instance_id) override;
453 void SetSelectedText(const base::string16& selection_text, 453 void SetSelectedText(const base::string16& selection_text,
454 size_t offset, 454 size_t offset,
455 const gfx::Range& range) override; 455 const gfx::Range& range) override;
456 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 456 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
457 v8::Local<v8::Context> context) override; 457 v8::Local<v8::Context> context) override;
458 void AddMessageToConsole(ConsoleMessageLevel level, 458 void AddMessageToConsole(ConsoleMessageLevel level,
459 const std::string& message) override; 459 const std::string& message) override;
460 void DetachDevToolsForTest() override; 460 void DetachDevToolsForTest() override;
461 void SetPreviewsState(PreviewsState previews_state) override;
461 PreviewsState GetPreviewsState() const override; 462 PreviewsState GetPreviewsState() const override;
462 bool IsPasting() const override; 463 bool IsPasting() const override;
463 blink::WebPageVisibilityState GetVisibilityState() const override; 464 blink::WebPageVisibilityState GetVisibilityState() const override;
464 bool IsBrowserSideNavigationPending() override; 465 bool IsBrowserSideNavigationPending() override;
465 base::SingleThreadTaskRunner* GetTimerTaskRunner() override; 466 base::SingleThreadTaskRunner* GetTimerTaskRunner() override;
466 base::SingleThreadTaskRunner* GetLoadingTaskRunner() override; 467 base::SingleThreadTaskRunner* GetLoadingTaskRunner() override;
467 base::SingleThreadTaskRunner* GetUnthrottledTaskRunner() override; 468 base::SingleThreadTaskRunner* GetUnthrottledTaskRunner() override;
468 int GetEnabledBindings() const override; 469 int GetEnabledBindings() const override;
469 470
470 // blink::mojom::EngagementClient implementation: 471 // blink::mojom::EngagementClient implementation:
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; 1421 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_;
1421 1422
1422 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1423 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1423 1424
1424 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1425 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1425 }; 1426 };
1426 1427
1427 } // namespace content 1428 } // namespace content
1428 1429
1429 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1430 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698