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

Side by Side Diff: chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h

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 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 CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_
7 7
8 #include "ui/views/controls/image_view.h" 8 #include "ui/views/controls/image_view.h"
9 #include "ui/views/widget/widget_observer.h" 9 #include "ui/views/widget/widget_observer.h"
10 10
(...skipping 13 matching lines...) Expand all
24 public: 24 public:
25 OpenPDFInReaderView(); 25 OpenPDFInReaderView();
26 virtual ~OpenPDFInReaderView(); 26 virtual ~OpenPDFInReaderView();
27 27
28 void Update(content::WebContents* web_contents); 28 void Update(content::WebContents* web_contents);
29 29
30 private: 30 private:
31 void ShowBubble(); 31 void ShowBubble();
32 32
33 // views::ImageView: 33 // views::ImageView:
34 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; 34 virtual void GetAccessibleState(ui::AXViewState* state) override;
35 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; 35 virtual bool OnMousePressed(const ui::MouseEvent& event) override;
36 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; 36 virtual void OnMouseReleased(const ui::MouseEvent& event) override;
37 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; 37 virtual bool OnKeyPressed(const ui::KeyEvent& event) override;
38 38
39 // views::WidgetObserver: 39 // views::WidgetObserver:
40 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 40 virtual void OnWidgetDestroying(views::Widget* widget) override;
41 41
42 OpenPDFInReaderBubbleView* bubble_; 42 OpenPDFInReaderBubbleView* bubble_;
43 43
44 // Weak pointer; owned by the PDFWebContentsHelper of the currently active 44 // Weak pointer; owned by the PDFWebContentsHelper of the currently active
45 // tab. 45 // tab.
46 pdf::OpenPDFInReaderPromptClient* model_; 46 pdf::OpenPDFInReaderPromptClient* model_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(OpenPDFInReaderView); 48 DISALLOW_COPY_AND_ASSIGN(OpenPDFInReaderView);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_ 51 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_OPEN_PDF_IN_READER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_icon_view.h ('k') | chrome/browser/ui/views/location_bar/origin_chip_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698