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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 757033005: Make tab audible and muted states and cause available for an extension API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better webcontents_impl decoupling Created 5 years, 11 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 const base::string16& GetLoadStateHost() const override; 240 const base::string16& GetLoadStateHost() const override;
241 uint64 GetUploadSize() const override; 241 uint64 GetUploadSize() const override;
242 uint64 GetUploadPosition() const override; 242 uint64 GetUploadPosition() const override;
243 std::set<GURL> GetSitesInTab() const override; 243 std::set<GURL> GetSitesInTab() const override;
244 const std::string& GetEncoding() const override; 244 const std::string& GetEncoding() const override;
245 bool DisplayedInsecureContent() const override; 245 bool DisplayedInsecureContent() const override;
246 void IncrementCapturerCount(const gfx::Size& capture_size) override; 246 void IncrementCapturerCount(const gfx::Size& capture_size) override;
247 void DecrementCapturerCount() override; 247 void DecrementCapturerCount() override;
248 int GetCapturerCount() const override; 248 int GetCapturerCount() const override;
249 bool IsAudioMuted() const override; 249 bool IsAudioMuted() const override;
250 void SetAudioMuted(bool mute) override; 250 void SetAudioMuted(bool muted) override;
251 bool IsCrashed() const override; 251 bool IsCrashed() const override;
252 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 252 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
253 base::TerminationStatus GetCrashedStatus() const override; 253 base::TerminationStatus GetCrashedStatus() const override;
254 bool IsBeingDestroyed() const override; 254 bool IsBeingDestroyed() const override;
255 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 255 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
256 base::TimeTicks GetLastActiveTime() const override; 256 base::TimeTicks GetLastActiveTime() const override;
257 void WasShown() override; 257 void WasShown() override;
258 void WasHidden() override; 258 void WasHidden() override;
259 bool NeedToFireBeforeUnload() override; 259 bool NeedToFireBeforeUnload() override;
260 void DispatchBeforeUnload(bool for_cross_site_transition) override; 260 void DispatchBeforeUnload(bool for_cross_site_transition) override;
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; 1233 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
1234 1234
1235 bool virtual_keyboard_requested_; 1235 bool virtual_keyboard_requested_;
1236 1236
1237 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1237 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1238 }; 1238 };
1239 1239
1240 } // namespace content 1240 } // namespace content
1241 1241
1242 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1242 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698