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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 944763002: Make Page Visibility API work when the browser window is visible or not Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use of SetWindowVisibility message Created 5 years, 8 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 (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_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void WasOccluded() override {} 72 void WasOccluded() override {}
73 bool IsShowingContextMenu() const override; 73 bool IsShowingContextMenu() const override;
74 void SetShowingContextMenu(bool showing_menu) override; 74 void SetShowingContextMenu(bool showing_menu) override;
75 base::string16 GetSelectedText() const override; 75 base::string16 GetSelectedText() const override;
76 bool IsMouseLocked() override; 76 bool IsMouseLocked() override;
77 gfx::Size GetVisibleViewportSize() const override; 77 gfx::Size GetVisibleViewportSize() const override;
78 void SetInsets(const gfx::Insets& insets) override; 78 void SetInsets(const gfx::Insets& insets) override;
79 void BeginFrameSubscription( 79 void BeginFrameSubscription(
80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
81 void EndFrameSubscription() override; 81 void EndFrameSubscription() override;
82 void SetWindowVisibility(bool visible) override {}
82 83
83 // IPC::Listener implementation: 84 // IPC::Listener implementation:
84 bool OnMessageReceived(const IPC::Message& msg) override; 85 bool OnMessageReceived(const IPC::Message& msg) override;
85 86
86 void SetPopupType(blink::WebPopupType popup_type); 87 void SetPopupType(blink::WebPopupType popup_type);
87 88
88 blink::WebPopupType GetPopupType(); 89 blink::WebPopupType GetPopupType();
89 90
90 // Return a value that is incremented each time the renderer swaps a new frame 91 // Return a value that is incremented each time the renderer swaps a new frame
91 // to the view. 92 // to the view.
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 421 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
421 422
422 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 423 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
423 424
424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
425 }; 426 };
426 427
427 } // namespace content 428 } // namespace content
428 429
429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698