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

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

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: define konstants 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
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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 // Invoked when the beforeunload handler fires. The time is from the renderer 386 // Invoked when the beforeunload handler fires. The time is from the renderer
387 // process. 387 // process.
388 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {} 388 virtual void BeforeUnloadFired(const base::TimeTicks& proceed_time) {}
389 389
390 // Invoked when a user cancels a before unload dialog. 390 // Invoked when a user cancels a before unload dialog.
391 virtual void BeforeUnloadDialogCancelled() {} 391 virtual void BeforeUnloadDialogCancelled() {}
392 392
393 // Called when accessibility events or location changes are received 393 // Called when accessibility events or location changes are received
394 // from a render frame, but only when the accessibility mode has the 394 // from a render frame, but only when the accessibility mode has the
395 // ACCESSIBILITY_MODE_FLAG_WEB_CONTENTS flag set. 395 // AccessibilityMode::kWebContents flag set.
396 virtual void AccessibilityEventReceived( 396 virtual void AccessibilityEventReceived(
397 const std::vector<AXEventNotificationDetails>& details) {} 397 const std::vector<AXEventNotificationDetails>& details) {}
398 virtual void AccessibilityLocationChangesReceived( 398 virtual void AccessibilityLocationChangesReceived(
399 const std::vector<AXLocationChangeNotificationDetails>& details) {} 399 const std::vector<AXLocationChangeNotificationDetails>& details) {}
400 400
401 // Invoked when theme color is changed to |theme_color|. 401 // Invoked when theme color is changed to |theme_color|.
402 virtual void DidChangeThemeColor(SkColor theme_color) {} 402 virtual void DidChangeThemeColor(SkColor theme_color) {}
403 403
404 // Invoked when media is playing or paused. |id| is unique per player and per 404 // Invoked when media is playing or paused. |id| is unique per player and per
405 // RenderFrameHost. There may be multiple players within a RenderFrameHost 405 // RenderFrameHost. There may be multiple players within a RenderFrameHost
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 void ResetWebContents(); 456 void ResetWebContents();
457 457
458 WebContentsImpl* web_contents_; 458 WebContentsImpl* web_contents_;
459 459
460 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 460 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
461 }; 461 };
462 462
463 } // namespace content 463 } // namespace content
464 464
465 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 465 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698