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

Side by Side Diff: content/public/browser/web_contents_observer.h

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: merge Created 3 years, 9 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 // Invoked when the beforeunload handler fires. The time is from the renderer 387 // Invoked when the beforeunload handler fires. The time is from the renderer
388 // process. 388 // process.
389 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {} 389 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {}
390 390
391 // Invoked when a user cancels a before unload dialog. 391 // Invoked when a user cancels a before unload dialog.
392 virtual void BeforeUnloadDialogCancelled() {} 392 virtual void BeforeUnloadDialogCancelled() {}
393 393
394 // Called when accessibility events or location changes are received 394 // Called when accessibility events or location changes are received
395 // from a render frame, but only when the accessibility mode has the 395 // from a render frame, but only when the accessibility mode has the
396 // ACCESSIBILITY_MODE_FLAG_WEB_CONTENTS flag set. 396 // AccessibilityMode::kWebContents flag set.
397 virtual void AccessibilityEventReceived( 397 virtual void AccessibilityEventReceived(
398 const std::vector<AXEventNotificationDetails>& details) {} 398 const std::vector<AXEventNotificationDetails>& details) {}
399 virtual void AccessibilityLocationChangesReceived( 399 virtual void AccessibilityLocationChangesReceived(
400 const std::vector<AXLocationChangeNotificationDetails>& details) {} 400 const std::vector<AXLocationChangeNotificationDetails>& details) {}
401 401
402 // Invoked when theme color is changed to |theme_color|. 402 // Invoked when theme color is changed to |theme_color|.
403 virtual void DidChangeThemeColor(SkColor theme_color) {} 403 virtual void DidChangeThemeColor(SkColor theme_color) {}
404 404
405 // Invoked when media is playing or paused. |id| is unique per player and per 405 // Invoked when media is playing or paused. |id| is unique per player and per
406 // RenderFrameHost. There may be multiple players within a RenderFrameHost 406 // RenderFrameHost. There may be multiple players within a RenderFrameHost
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 void ResetWebContents(); 457 void ResetWebContents();
458 458
459 WebContentsImpl* web_contents_; 459 WebContentsImpl* web_contents_;
460 460
461 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 461 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
462 }; 462 };
463 463
464 } // namespace content 464 } // namespace content
465 465
466 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 466 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698