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

Side by Side Diff: sky/engine/web/WebViewImpl.cpp

Issue 870413002: Remove PlatformEvent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/platform/PlatformEvent.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "sky/engine/core/frame/LocalFrame.h" 49 #include "sky/engine/core/frame/LocalFrame.h"
50 #include "sky/engine/core/frame/NewEventHandler.h" 50 #include "sky/engine/core/frame/NewEventHandler.h"
51 #include "sky/engine/core/frame/Settings.h" 51 #include "sky/engine/core/frame/Settings.h"
52 #include "sky/engine/core/html/HTMLImportElement.h" 52 #include "sky/engine/core/html/HTMLImportElement.h"
53 #include "sky/engine/core/html/ime/InputMethodContext.h" 53 #include "sky/engine/core/html/ime/InputMethodContext.h"
54 #include "sky/engine/core/loader/FrameLoader.h" 54 #include "sky/engine/core/loader/FrameLoader.h"
55 #include "sky/engine/core/loader/UniqueIdentifier.h" 55 #include "sky/engine/core/loader/UniqueIdentifier.h"
56 #include "sky/engine/core/page/AutoscrollController.h" 56 #include "sky/engine/core/page/AutoscrollController.h"
57 #include "sky/engine/core/page/Chrome.h" 57 #include "sky/engine/core/page/Chrome.h"
58 #include "sky/engine/core/page/EventHandler.h" 58 #include "sky/engine/core/page/EventHandler.h"
59 #include "sky/engine/core/page/EventWithHitTestResults.h"
60 #include "sky/engine/core/page/FocusController.h" 59 #include "sky/engine/core/page/FocusController.h"
61 #include "sky/engine/core/page/Page.h" 60 #include "sky/engine/core/page/Page.h"
62 #include "sky/engine/core/rendering/RenderView.h" 61 #include "sky/engine/core/rendering/RenderView.h"
63 #include "sky/engine/platform/Cursor.h" 62 #include "sky/engine/platform/Cursor.h"
64 #include "sky/engine/platform/KeyboardCodes.h" 63 #include "sky/engine/platform/KeyboardCodes.h"
65 #include "sky/engine/platform/Logging.h" 64 #include "sky/engine/platform/Logging.h"
66 #include "sky/engine/platform/NotImplemented.h" 65 #include "sky/engine/platform/NotImplemented.h"
67 #include "sky/engine/platform/TraceEvent.h" 66 #include "sky/engine/platform/TraceEvent.h"
68 #include "sky/engine/platform/fonts/FontCache.h" 67 #include "sky/engine/platform/fonts/FontCache.h"
69 #include "sky/engine/platform/graphics/Color.h" 68 #include "sky/engine/platform/graphics/Color.h"
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 void WebViewImpl::setVisibilityState(WebPageVisibilityState visibilityState, 898 void WebViewImpl::setVisibilityState(WebPageVisibilityState visibilityState,
900 bool isInitialState) { 899 bool isInitialState) {
901 if (!page()) 900 if (!page())
902 return; 901 return;
903 902
904 ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState = = WebPageVisibilityStateHidden); 903 ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState = = WebPageVisibilityStateHidden);
905 m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int> (visibilityState)), isInitialState); 904 m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int> (visibilityState)), isInitialState);
906 } 905 }
907 906
908 } // namespace blink 907 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/PlatformEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698