Sequence of definitions should follow the declarations
This commit is contained in:
parent
84ce441fb6
commit
5a599cb6ff
1 changed files with 32 additions and 32 deletions
|
@ -207,38 +207,6 @@ bool NativeWindow::IsDocumentEdited() {
|
||||||
void NativeWindow::SetMenu(ui::MenuModel* menu) {
|
void NativeWindow::SetMenu(ui::MenuModel* menu) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindow::ShowDefinitionForSelection() {
|
|
||||||
NOTIMPLEMENTED();
|
|
||||||
}
|
|
||||||
|
|
||||||
void NativeWindow::SetAutoHideMenuBar(bool auto_hide) {
|
|
||||||
}
|
|
||||||
|
|
||||||
bool NativeWindow::IsMenuBarAutoHide() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void NativeWindow::SetMenuBarVisibility(bool visible) {
|
|
||||||
}
|
|
||||||
|
|
||||||
bool NativeWindow::IsMenuBarVisible() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
double NativeWindow::GetAspectRatio() {
|
|
||||||
return aspect_ratio_;
|
|
||||||
}
|
|
||||||
|
|
||||||
gfx::Size NativeWindow::GetAspectRatioExtraSize() {
|
|
||||||
return aspect_ratio_extraSize_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void NativeWindow::SetAspectRatio(double aspect_ratio,
|
|
||||||
const gfx::Size& extra_size) {
|
|
||||||
aspect_ratio_ = aspect_ratio;
|
|
||||||
aspect_ratio_extraSize_ = extra_size;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool NativeWindow::HasModalDialog() {
|
bool NativeWindow::HasModalDialog() {
|
||||||
return has_dialog_attached_;
|
return has_dialog_attached_;
|
||||||
}
|
}
|
||||||
|
@ -293,6 +261,38 @@ void NativeWindow::CapturePage(const gfx::Rect& rect,
|
||||||
kBGRA_8888_SkColorType);
|
kBGRA_8888_SkColorType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void NativeWindow::ShowDefinitionForSelection() {
|
||||||
|
NOTIMPLEMENTED();
|
||||||
|
}
|
||||||
|
|
||||||
|
void NativeWindow::SetAutoHideMenuBar(bool auto_hide) {
|
||||||
|
}
|
||||||
|
|
||||||
|
bool NativeWindow::IsMenuBarAutoHide() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
void NativeWindow::SetMenuBarVisibility(bool visible) {
|
||||||
|
}
|
||||||
|
|
||||||
|
bool NativeWindow::IsMenuBarVisible() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
double NativeWindow::GetAspectRatio() {
|
||||||
|
return aspect_ratio_;
|
||||||
|
}
|
||||||
|
|
||||||
|
gfx::Size NativeWindow::GetAspectRatioExtraSize() {
|
||||||
|
return aspect_ratio_extraSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void NativeWindow::SetAspectRatio(double aspect_ratio,
|
||||||
|
const gfx::Size& extra_size) {
|
||||||
|
aspect_ratio_ = aspect_ratio;
|
||||||
|
aspect_ratio_extraSize_ = extra_size;
|
||||||
|
}
|
||||||
|
|
||||||
void NativeWindow::SetFrameSubscription(bool isOffscreen) {
|
void NativeWindow::SetFrameSubscription(bool isOffscreen) {
|
||||||
const auto view = web_contents()->GetRenderWidgetHostView();
|
const auto view = web_contents()->GetRenderWidgetHostView();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue