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

Side by Side Diff: chrome/browser/ui/views/ime/ime_window_view.h

Issue 2390953004: WidgetDelegateView is its own contents view. (Closed)
Patch Set: another minor fix Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_IME_IME_WINDOW_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // ui::ImeNativeWindow: 60 // ui::ImeNativeWindow:
61 void Show() override; 61 void Show() override;
62 void Hide() override; 62 void Hide() override;
63 void Close() override; 63 void Close() override;
64 void SetBounds(const gfx::Rect& bounds) override; 64 void SetBounds(const gfx::Rect& bounds) override;
65 gfx::Rect GetBounds() const override; 65 gfx::Rect GetBounds() const override;
66 void UpdateWindowIcon() override; 66 void UpdateWindowIcon() override;
67 bool IsVisible() const override; 67 bool IsVisible() const override;
68 68
69 // views::WidgetDelegateView: 69 // views::WidgetDelegateView:
70 views::View* GetContentsView() override;
71 views::NonClientFrameView* CreateNonClientFrameView( 70 views::NonClientFrameView* CreateNonClientFrameView(
72 views::Widget* widget) override; 71 views::Widget* widget) override;
73 bool CanActivate() const override; 72 bool CanActivate() const override;
74 bool CanResize() const override; 73 bool CanResize() const override;
75 bool CanMaximize() const override; 74 bool CanMaximize() const override;
76 bool CanMinimize() const override; 75 bool CanMinimize() const override;
77 base::string16 GetWindowTitle() const override; 76 base::string16 GetWindowTitle() const override;
78 gfx::ImageSkia GetWindowAppIcon() override; 77 gfx::ImageSkia GetWindowAppIcon() override;
79 gfx::ImageSkia GetWindowIcon() override; 78 gfx::ImageSkia GetWindowIcon() override;
80 void DeleteDelegate() override; 79 void DeleteDelegate() override;
(...skipping 19 matching lines...) Expand all
100 99
101 // The web view control which hosts the web contents. 100 // The web view control which hosts the web contents.
102 views::WebView* web_view_; 101 views::WebView* web_view_;
103 102
104 DISALLOW_COPY_AND_ASSIGN(ImeWindowView); 103 DISALLOW_COPY_AND_ASSIGN(ImeWindowView);
105 }; 104 };
106 105
107 } // namespace ui 106 } // namespace ui
108 107
109 #endif // CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_ 108 #endif // CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698