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

Unified Diff: chrome/browser/ui/views/frame/browser_view_layout.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/frame/browser_view_layout.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index 55b9da9f837af16b441d6eb98eec5056111d2140..28c570d7f41fa2e5415dd65b68a68c4199b073a0 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -76,7 +76,7 @@ class BrowserViewLayout::WebContentsModalDialogHostViews
OnPositionRequiresUpdate());
}
- virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE {
+ virtual gfx::Point GetDialogPosition(const gfx::Size& size) override {
views::View* view = browser_view_layout_->contents_container_;
gfx::Rect content_area = view->ConvertRectToWidget(view->GetLocalBounds());
const int middle_x = content_area.x() + content_area.width() / 2;
@@ -84,7 +84,7 @@ class BrowserViewLayout::WebContentsModalDialogHostViews
return gfx::Point(middle_x - size.width() / 2, top);
}
- virtual gfx::Size GetMaximumDialogSize() OVERRIDE {
+ virtual gfx::Size GetMaximumDialogSize() override {
views::View* view = browser_view_layout_->contents_container_;
gfx::Rect content_area = view->ConvertRectToWidget(view->GetLocalBounds());
const int top = browser_view_layout_->web_contents_modal_dialog_top_y_;
@@ -92,17 +92,17 @@ class BrowserViewLayout::WebContentsModalDialogHostViews
}
private:
- virtual gfx::NativeView GetHostView() const OVERRIDE {
+ virtual gfx::NativeView GetHostView() const override {
gfx::NativeWindow window =
browser_view_layout_->browser()->window()->GetNativeWindow();
return views::Widget::GetWidgetForNativeWindow(window)->GetNativeView();
}
// Add/remove observer.
- virtual void AddObserver(ModalDialogHostObserver* observer) OVERRIDE {
+ virtual void AddObserver(ModalDialogHostObserver* observer) override {
observer_list_.AddObserver(observer);
}
- virtual void RemoveObserver(ModalDialogHostObserver* observer) OVERRIDE {
+ virtual void RemoveObserver(ModalDialogHostObserver* observer) override {
observer_list_.RemoveObserver(observer);
}
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.h ('k') | chrome/browser/ui/views/frame/browser_view_layout_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698