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

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

Issue 2211753002: Plugin Power Saver Tiny: Fix Plugin.PowerSaver.PeripheralHeuristic UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge. and change to enum Created 4 years, 4 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 bool IsHidden() override; 404 bool IsHidden() override;
405 shell::InterfaceRegistry* GetInterfaceRegistry() override; 405 shell::InterfaceRegistry* GetInterfaceRegistry() override;
406 shell::InterfaceProvider* GetRemoteInterfaces() override; 406 shell::InterfaceProvider* GetRemoteInterfaces() override;
407 #if defined(ENABLE_PLUGINS) 407 #if defined(ENABLE_PLUGINS)
408 void RegisterPeripheralPlugin( 408 void RegisterPeripheralPlugin(
409 const url::Origin& content_origin, 409 const url::Origin& content_origin,
410 const base::Closure& unthrottle_callback) override; 410 const base::Closure& unthrottle_callback) override;
411 RenderFrame::PeripheralContentStatus GetPeripheralContentStatus( 411 RenderFrame::PeripheralContentStatus GetPeripheralContentStatus(
412 const url::Origin& main_frame_origin, 412 const url::Origin& main_frame_origin,
413 const url::Origin& content_origin, 413 const url::Origin& content_origin,
414 const gfx::Size& unobscured_size) const override; 414 const gfx::Size& unobscured_size,
415 RecordPeripheralDecision record_decision) const override;
415 void WhitelistContentOrigin(const url::Origin& content_origin) override; 416 void WhitelistContentOrigin(const url::Origin& content_origin) override;
416 #endif 417 #endif
417 bool IsFTPDirectoryListing() override; 418 bool IsFTPDirectoryListing() override;
418 void AttachGuest(int element_instance_id) override; 419 void AttachGuest(int element_instance_id) override;
419 void DetachGuest(int element_instance_id) override; 420 void DetachGuest(int element_instance_id) override;
420 void SetSelectedText(const base::string16& selection_text, 421 void SetSelectedText(const base::string16& selection_text,
421 size_t offset, 422 size_t offset,
422 const gfx::Range& range) override; 423 const gfx::Range& range) override;
423 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, 424 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate,
424 v8::Local<v8::Context> context) override; 425 v8::Local<v8::Context> context) override;
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 mojom::FrameHostPtr frame_host_; 1279 mojom::FrameHostPtr frame_host_;
1279 1280
1280 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1281 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1281 1282
1282 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1283 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1283 }; 1284 };
1284 1285
1285 } // namespace content 1286 } // namespace content
1286 1287
1287 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1288 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/plugin_power_saver_helper_browsertest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698