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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.cc

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index b6dbafc92a3c24255bfb39d9aed7986d40db65d2..2d2b5506a210d74b40e95851e6779f9b8f7c1308 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -122,7 +122,7 @@ void OffsetX(int x_offset, std::vector<gfx::Rect>* rects) {
class WindowPositionManagedUpdater : public views::WidgetObserver {
public:
virtual void OnWidgetVisibilityChanged(views::Widget* widget,
- bool visible) OVERRIDE {
+ bool visible) override {
SetWindowPositionManaged(widget->GetNativeView(), false);
}
};
@@ -142,7 +142,7 @@ class EscapeTracker : public ui::EventHandler {
private:
// ui::EventHandler:
- virtual void OnKeyEvent(ui::KeyEvent* key) OVERRIDE {
+ virtual void OnKeyEvent(ui::KeyEvent* key) override {
if (key->type() == ui::ET_KEY_PRESSED &&
key->key_code() == ui::VKEY_ESCAPE) {
escape_callback_.Run();

Powered by Google App Engine
This is Rietveld 408576698